joyce8/EMBER2024-capa huggingface dataset:
Function at 0x517cdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00522461
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x517d0d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00517d20
pop edi
pop esi
pop ebx
ret 8

Function at 0x5192f7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51932f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005172de
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005172b6
jmp 0x51933b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51abe8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51ac2a
call fcn.00522461
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51ac2a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51ac21
xor eax, eax
jmp 0x51ac32
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051ac38
pop edi
pop esi
pop ebx
ret 4

Function at 0x522990
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5229be
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5229dc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005228f6
jmp 0x5229dc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5229dc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005228f6
test edi, edi
mov eax, edi
jne 0x5229c6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x43b858eb
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x125801a4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00403840
add esp, 4
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
je 0x4018ad
push 0
call fcn.004036f0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x40190b
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
sub edx, 0x30
imul edx, edx, 0x64
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
sub ecx, 0x30
imul ecx, ecx, 0xa
add edx, ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movsx ecx, byte [eax + 2]
lea edx, [edx + ecx - 0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov cl, byte [ebp - 8]
mov byte [eax], cl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, 3
mov dword [ebp - 4], eax
jmp 0x4018ad
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret

Function at 0x401930
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
lea edi, [ebp - 0x150]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, esp
push 0
push 0
push 0
push 0
push 0x40e66c
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x10c], eax
mov esi, esp
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [0x412d94]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x401a5e
mov esi, esp
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x13
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp esi, esp
call fcn.00403670
mov esi, esp
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x13
mov eax, dword [ebp - 0x110]
push eax
call dword [0x412dac]
cmp esi, esp
call fcn.00403670
test eax, eax
je 0x401a2d
push 0x40e668
lea ecx, [ebp - 0x108]
push ecx
call fcn.004038c0
add esp, 8
test eax, eax
je 0x401a2d
xor eax, eax
jmp 0x401a60
mov esi, esp
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call dword [0x412ed0]
cmp esi, esp
call fcn.00403670
test eax, eax
jne 0x401a57
xor eax, eax
jmp 0x401a60
mov eax, 1
jmp 0x401a60
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x150
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret
Function at 0x401a80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
push ebx
push esi
push edi
lea edi, [ebp - 0x568]
mov ecx, 0x15a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x310], 0
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x414], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x418], 0x200
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401860
add esp, 8
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x520], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x51f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, esp
push 0
push 0
push 0
push 0
push 0x40e66c
call dword [0x412dbc]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x524], eax
mov esi, esp
push 0
push 0x80000000
push 0
push 0
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x524]
push eax
call dword [0x412d94]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0x528], eax
cmp dword [ebp - 0x528], 0
je 0x401c99
mov esi, esp
push 0
lea ecx, [ebp - 0x41c]
push ecx
push 0
push 0x13
mov edx, dword [ebp - 0x528]
push edx
call dword [0x412dac]
cmp esi, esp
call fcn.00403670
mov esi, esp
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
lea edx, [ebp - 0x310]
push edx
mov eax, dword [ebp - 0x528]
push eax
call dword [0x412ed0]
cmp esi, esp
call fcn.00403670
test eax, eax
jne 0x401bf0
push 0
call fcn.004036f0
mov ecx, dword [0x410484]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.00403950
add esp, 8
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x401c92
mov eax, dword [ebp - 0x108]
movsx ecx, byte [eax]
cmp ecx, 0x2d
je 0x401c34
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
jmp 0x401c15
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
movsx edx, byte [ecx]
cmp edx, 0x2d
je 0x401c90
cmp dword [ebp - 0x10c], 0x100
jg 0x401c90
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x108]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
jmp 0x401c43
jmp 0x401ca0
push 0
call fcn.004036f0
push 0
call fcn.004036f0
pop edi
pop esi
pop ebx
add esp, 0x568
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret
Function at 0x402460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4024a8
jmp 0x40251d
mov esi, esp
push 2
push 0
push 0xffffffffffffffda
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0xc], eax
mov esi, esp
push 0
lea edx, [ebp - 4]
push edx
push 0x26
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00403670
test eax, eax
jne 0x4024e9
jmp 0x40251d
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00403670
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403840
add esp, 4
cmp eax, 0x26
je 0x40251d
push 0x26
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00403c60
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret

Function at 0x402530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
push 0x80
push 3
push 0
push 0
push 0x10000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40257a
xor eax, eax
jmp 0x4025ef
mov esi, esp
push 2
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4025a0
xor eax, eax
jmp 0x4025ef
mov esi, esp
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403840
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00403670
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4025d7
xor eax, eax
jmp 0x4025ef
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00403670
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret
Function at 0x402880
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x40e838
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.00403670
test eax, eax
je 0x4028d5
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403670
jmp 0x402900
mov esi, esp
push 0x40e82c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp esi, esp
call fcn.00403670
mov esi, esp
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403670
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret

Function at 0x402a80
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
lea edi, [ebp - 0x248]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, esp
push 0x104
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00403670
push 0x40e8bc
lea ecx, [ebp - 0x104]
push ecx
call fcn.00403b40
add esp, 8
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.00402460
add esp, 8
mov esi, esp
push 0
lea ecx, [ebp - 0x104]
push ecx
push 0x412dcc
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.00403670
test eax, eax
jne 0x402b3b
jmp 0x402bbd
lea edx, [ebp - 0x208]
push edx
call fcn.00403840
add esp, 4
cmp eax, 0x26
jne 0x402b5e
lea eax, [ebp - 0x208]
push eax
call fcn.00402920
add esp, 4
push 0x104
push 0
lea ecx, [ebp - 0x208]
push ecx
call fcn.00403c60
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call fcn.00402270
add esp, 4
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00402530
add esp, 8
lea edx, [ebp - 0x208]
push edx
call fcn.00402600
add esp, 4
test eax, eax
jne 0x402bae
jmp 0x402bbd
lea eax, [ebp - 0x208]
push eax
call fcn.00402720
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x248
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret
Function at 0x4034c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push ebx
push esi
push edi
lea edi, [ebp - 0x29c]
mov ecx, 0xa7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [0x410480]
push ecx
call fcn.00401860
add esp, 8
mov esi, esp
lea edx, [ebp - 0x104]
push edx
mov edi, esp
push 0x40e594
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.00403670
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00403670
mov dword [0x412ed0], eax
call fcn.00402410
test eax, eax
jne 0x403561
call fcn.00402a80
call fcn.004033c0
call fcn.00402880
call fcn.00401f50
xor eax, eax
jmp 0x403651
mov eax, dword [ebp + 0x10]
push eax
call fcn.00403840
add esp, 4
test eax, eax
je 0x403586
push 0x40e918
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00403950
add esp, 8
test eax, eax
jne 0x4035f2
push 0x44
push 0
lea edx, [ebp - 0x148]
push edx
call fcn.00403c60
add esp, 0xc
mov dword [ebp - 0x11c], 1
mov word [ebp - 0x118], 5
push 0x40e910
push 0x412dcc
call fcn.00403b40
add esp, 8
mov esi, esp
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x412dcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00403670
xor eax, eax
jmp 0x403651
call fcn.00403460
mov byte [ebp - 0x25c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x25b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x25c]
push edx
push 0x412dcc
call fcn.00402460
add esp, 8
lea eax, [ebp - 0x25c]
push eax
call fcn.00403840
add esp, 4
cmp eax, 0x26
jne 0x403647
lea ecx, [ebp - 0x25c]
push ecx
call fcn.00402720
add esp, 4
call fcn.004033c0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x29c
cmp ebp, esp
call fcn.00403670
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f6f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4824fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00476c91
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f772
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00474970
mov eax, dword [eax]
push 0x7f71f0
push eax
call fcn.00467514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00476f1c
test bl, bl
je 0x41f772
push 0x7f71f0
lea ecx, [esp + 0xc]
call fcn.004772ac
push 0x7fad80
lea ecx, [esp + 0xc]
call fcn.004772ac
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41f7ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00476f1c
jmp 0x41f879
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41f832
lea edx, [esp + 0x7c]
push 0x7fad7c
push edx
call fcn.00467514
add esp, 8
test eax, eax
je 0x41f832
lea eax, [esp + 0x7c]
push 0x7fad78
push eax
call fcn.00467514
add esp, 8
test eax, eax
je 0x41f832
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41f7c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00476f1c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x420ad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x420b32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x420b40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48265b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x801538]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x420c78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420ba6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476f1c
xor eax, eax
jmp 0x420cef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00477059
push esi
lea ecx, [esp + 0xc]
call fcn.004772e8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7fadb8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x420ccd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420ad0
test eax, eax
jne 0x420ccd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00420ad0
test eax, eax
jne 0x420ccd
lea eax, [esp + 0x14]
push 0x7fad94
push eax
call fcn.00468550
mov esi, eax
add esp, 8
test esi, esi
jne 0x420cac
lea ecx, [esp + 0x14]
push 0x7fad90
push ecx
call fcn.004684d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x420cac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x420caf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00477009
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x420bbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476f1c
xor eax, eax
jmp 0x420cef
mov byte [esi], 0
push 0x7fad8c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00476f1c
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4327c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43282e
cmp si, 0x69
ja 0x43282e
add esi, 0xffd0
cmp si, 0x11
je 0x4327fe
push 0x11
call edi
test ax, ax
jge 0x4327fe
or esi, 0x2000
cmp si, 0x10
je 0x432813
push 0x10
call edi
test ax, ax
jge 0x432813
or esi, 0x4000
cmp si, 0x12
je 0x432828
push 0x12
call edi
test ax, ax
jge 0x432828
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43283b
mov esi, 0xbd
jmp 0x4327ef
cmp si, 0x6e
jne 0x432848
mov esi, 0xbe
jmp 0x4327ef
cmp si, 0x6f
jne 0x4327e9
mov esi, 0xbf
jmp 0x4327ef

Function at 0x433f70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x811c70]
xor edx, edx
cmp eax, edx
jne 0x433f96
xor eax, eax
mov byte [eax + 0x811b70], al
inc eax
cmp eax, 0x100
jl 0x433f7e
mov dword [0x811c70], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x811b70
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x434027
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x433ffa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x433fc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4340a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4340f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4340da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret