joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403030
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x9c], 0
je 0x403093
cmp dword [esi + 0x90], 0
je 0x403099
mov ecx, dword [esi + 0xe0]
sub ecx, dword [esi + 0xdc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x403099
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x4035b0
push 0
push 0
call fcn.0042a293
add esp, 0x18
mov dword [esi + 0xb8], eax
test eax, eax
je 0x403093
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x403093
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xc0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x74]
push 0
push ecx
mov ecx, dword [esi + 0x70]
push ecx
mov ecx, dword [esi + 0xa0]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x403093
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret

Function at 0x403120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00414d0b
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push 0x447c70
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4031cc
call fcn.00414d0b
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x4031cc
call fcn.00414d0b
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4031cc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4031c5
test ebx, ebx
je 0x4031c5
push edi
push eax
push ebx
call fcn.0042fd20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
push edi
push esi
call fcn.00402a10
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8

Function at 0x406200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40621c
test al, 0x10
je 0x40621c
mov esi, 1
jmp 0x40621e
xor esi, esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40623e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
ret
Function at 0x406b20
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [eax + 0x9a0]
test eax, eax
jne 0x406b37
push eax
push eax
push 0x44804c
call fcn.0040d411
ret
cmp eax, 1
jne 0x406b8a
call fcn.00418123
test eax, eax
je 0x406b6c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_org_reg_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
xor eax, eax
mov ecx, dword [eax + 0x20]
push eax
push eax
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_org_reg_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
cmp eax, 2
jne 0x406bdd
call fcn.00418123
test eax, eax
je 0x406bbf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_tbc_reg_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
xor eax, eax
mov ecx, dword [eax + 0x20]
push eax
push eax
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_tbc_reg_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
cmp eax, 3
jne 0x406c15
call fcn.00418123
test eax, eax
je 0x406bf6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x406bf8
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_wlk_reg_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x406c20
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [eax + 0x9a0]
test eax, eax
jne 0x406c37
push eax
push eax
push 0x44804c
call fcn.0040d411
ret
cmp eax, 1
jne 0x406c8a
call fcn.00418123
test eax, eax
je 0x406c6c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_org_password_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
xor eax, eax
mov ecx, dword [eax + 0x20]
push eax
push eax
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_org_password_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
cmp eax, 2
jne 0x406cdd
call fcn.00418123
test eax, eax
je 0x406cbf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_tbc_password_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
xor eax, eax
mov ecx, dword [eax + 0x20]
push eax
push eax
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_tbc_password_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
cmp eax, 3
jne 0x406d15
call fcn.00418123
test eax, eax
je 0x406cf6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x406cf8
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.3322.org:12345_wowreg_wlk_password_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x406d20
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [eax + 0x9a0]
test eax, eax
jne 0x406d37
push eax
push eax
push 0x44804c
call fcn.0040d411
ret
cmp eax, 1
jne 0x406d8a
call fcn.00418123
test eax, eax
je 0x406d6c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.com_viewtopic.php_f22t64
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
xor eax, eax
mov ecx, dword [eax + 0x20]
push eax
push eax
push 0x4486b8
push str.http:__5151wow.com_viewtopic.php_f22t64
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
cmp eax, 2
jne 0x406ddd
call fcn.00418123
test eax, eax
je 0x406dbf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.com_viewtopic.php_f5t3
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
xor eax, eax
mov ecx, dword [eax + 0x20]
push eax
push eax
push 0x4486b8
push str.http:__5151wow.com_viewtopic.php_f5t3
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
cmp eax, 3
jne 0x406e15
call fcn.00418123
test eax, eax
je 0x406df6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x406df8
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x4486b8
push str.http:__5151wow.com_viewtopic.php_f3t2
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x407580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407599
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4075d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4075d0
lea ebx, [ebx]
cmp esi, eax
jae 0x4075d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4075c0
cmp esi, eax
jb 0x4075da
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x412c71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x412cb8
call fcn.00414d0b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x412cb8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x412cd4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004127eb
mov esi, eax
test edi, edi
je 0x412cd2
test ebx, ebx
je 0x412cd2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x413b9b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43e888
call fcn.0042ae67
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413bc0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x413c06
lea ecx, [ebp - 0x10]
call fcn.004016d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b739
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401b10
mov eax, esi
call fcn.0042af3f
ret 8

Function at 0x416c1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x416c62
call fcn.00414d0b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416c62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x416ca5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x416c8e
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x416c8e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x416ca2
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4180af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4180d3
cmp dword [edi + 0x54], 0
jne 0x4180d3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00414d0b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00418070
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x429ac1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452570]
jne 0x429acb
repz ret
jmp fcn.0042fc0d
Function at 0x439ae5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00432d95
and dword [ebp - 4], 0
cmp dword [0x45648c], 0
mov ebx, eax
jne 0x439b96
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x439c47
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x446578
push edi
call esi
test eax, eax
je 0x439c47
push eax
call fcn.00432d23
mov dword [esp], 0x446568
push edi
mov dword [0x45648c], eax
call esi
push eax
call fcn.00432d23
mov dword [esp], 0x446554
push edi
mov dword [0x456490], eax
call esi
push eax
call fcn.00432d23
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456494], eax
call esi
push eax
call fcn.00432d23
pop ecx
mov dword [0x45649c], eax
test eax, eax
je 0x439b96
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432d23
pop ecx
mov dword [0x456498], eax
mov eax, dword [0x456498]
cmp eax, ebx
je 0x439bee
cmp dword [0x45649c], ebx
je 0x439bee
push eax
call fcn.00432d9e
push dword [0x45649c]
mov esi, eax
call fcn.00432d9e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x439bee
test edi, edi
je 0x439bee
call esi
test eax, eax
je 0x439be5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x439be5
test byte [ebp - 0xc], 1
jne 0x439bee
or dword [ebp + 0x10], 0x200000
jmp 0x439c27
mov eax, dword [0x456490]
cmp eax, ebx
je 0x439c27
push eax
call fcn.00432d9e
pop ecx
test eax, eax
je 0x439c27
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x439c27
mov eax, dword [0x456494]
cmp eax, ebx
je 0x439c27
push eax
call fcn.00432d9e
pop ecx
test eax, eax
je 0x439c27
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45648c]
call fcn.00432d9e
pop ecx
test eax, eax
je 0x439c47
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x439c49
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5819d5
Capabilities:
Encode data using xor

Disassembly:
call fcn.005718bc
add byte [eax], al
or edx, edi
mov edx, 0xc568a035
xor esp, dword [esi + 0x3475484d]
daa
jne 0x5702be
push cs
sbb dword [eax - 0x3df984c1], 0xba9899ec
pop esp
aas
jnp 0x5702dc
ret 0x99ec
or dword [esi + 0x20413967], 0x78
arpl word [edi + 0x2910494a], cx
jne 0x5702d3
mov ebp, 0x2fac0318
daa
push ebp
mov eax, 0xf3e37135
pushfd
movsd dword es:[edi], dword [esi]
rcl dword [ebp - 0x31f61d43]
adc ecx, edx
je 0x5702f7
movsd dword es:[edi], dword [esi]
pop ebx
in al, dx
mov al, 0x9d
and al, 0xe8
xor dword [eax], ebp
mov dl, 0x8a
mov bh, 0x1c
pop eax
inc dword [ecx*2 + 0x451eabf6]
cmp eax, 0x250a4ba8
mov bh, 0xeb
xchg edx, eax
sbb al, 0xfe
push ebx
push eax
lodsb al, byte [esi]
fcom st(0)
enter 0x1c74, 0x11
pop edi
pop edi
xchg bl, bl
xchg byte [ecx], al
xor ecx, esp
mov bh, 0xde
int 0x98
ja 0x570393
bound ebx, qword [eax + 0x4f]
lodsd eax, dword [esi]
fild dword [ebx + 0x6ed0c731]
and ebp, dword [edi]
loope 0x5702f2
jecxz 0x5702e9
adc eax, 0xeb78cede
sbb dword [edi + 0x27ff8899], edi
pushal
pop ecx
mov ch, 0xe0
xlatb
retf 0x19f1
and al, 3
dec edi
nop
out dx, al
xchg ebp, eax
outsb dx, byte [esi]
wait
inc ecx
ret 0xf590
cmc
lea esp, [esp + 0x28]
je 0x57684a
stc
pushfd
test bl, dl
sub al, 0x30
mov dword [esp], ecx
mov byte [esp], bh
pushfd
cmp al, 9
pushal
mov byte [esp], al
jmp 0x5702bb
Function at 0x40fee0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4747cb
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.00468c28
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ff62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004669aa
mov eax, dword [eax]
push 0x48e204
push eax
call fcn.00458cb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00468eb3
test bl, bl
je 0x40ff62
push 0x48e204
lea ecx, [esp + 0xc]
call fcn.00469243
push 0x491d7c
lea ecx, [esp + 0xc]
call fcn.00469243
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 0x40ff9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00468eb3
jmp 0x410069
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 0x410022
lea edx, [esp + 0x7c]
push 0x491d78
push edx
call fcn.00458cb4
add esp, 8
test eax, eax
je 0x410022
lea eax, [esp + 0x7c]
push 0x491d74
push eax
call fcn.00458cb4
add esp, 8
test eax, eax
je 0x410022
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 0x40ffb2
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.00468eb3
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 0x410860
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 0x4108c2
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 0x4108d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47484b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49a3f8]
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 0x410a08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410936
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468eb3
xor eax, eax
jmp 0x410a7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468ff0
push esi
lea ecx, [esp + 0xc]
call fcn.0046927f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x410a5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00410860
test eax, eax
jne 0x410a5d
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.00410860
test eax, eax
jne 0x410a5d
lea eax, [esp + 0x14]
push 0x491d90
push eax
call fcn.00459cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x410a3c
lea ecx, [esp + 0x14]
push 0x491d8c
push ecx
call fcn.00459c70
mov esi, eax
add esp, 8
test esi, esi
jne 0x410a3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410a3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00468fa0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41094e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468eb3
xor eax, eax
jmp 0x410a7f
mov byte [esi], 0
push 0x491d88
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.00468eb3
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 0x422580
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 0x4225ee
cmp si, 0x69
ja 0x4225ee
add esi, 0xffd0
cmp si, 0x11
je 0x4225be
push 0x11
call edi
test ax, ax
jge 0x4225be
or esi, 0x2000
cmp si, 0x10
je 0x4225d3
push 0x10
call edi
test ax, ax
jge 0x4225d3
or esi, 0x4000
cmp si, 0x12
je 0x4225e8
push 0x12
call edi
test ax, ax
jge 0x4225e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4225fb
mov esi, 0xbd
jmp 0x4225af
cmp si, 0x6e
jne 0x422608
mov esi, 0xbe
jmp 0x4225af
cmp si, 0x6f
jne 0x4225a9
mov esi, 0xbf
jmp 0x4225af

Function at 0x423db0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4aaaf8]
xor edx, edx
cmp eax, edx
jne 0x423dd6
xor eax, eax
mov byte [eax + 0x4aa9f8], al
inc eax
cmp eax, 0x100
jl 0x423dbe
mov dword [0x4aaaf8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4aa9f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423e67
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 0x423e3a
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 0x423e08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x423ee0
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 0x423f33
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 0x423f1a
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