joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410eb0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push 0
push 0x41dfec
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x410ee7
push edi
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x410e00
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
pop esi
add esp, 0x24
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x410f5c
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x410f09
jmp dword [eax*4 + 0x410f88]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
pop esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
add esp, 0x24
ret
mov esi, dword [esp + 0x2c]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
add esp, 0x24
ret
Function at 0x498221
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x49826d
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x498252
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x498262
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x49827d
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4982bc
test ebx, ebx
je 0x498291
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x498286
cmp ecx, 0xfff1
jb 0x49829f
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4983a7
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4982e1
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x4982f1
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
dec eax
jne 0x4982f1
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
dec dword [ebp + 8]
jne 0x4982e1
test ebx, ebx
je 0x498480
cmp ebx, 0x10
jb 0x49844d
mov eax, ebx
shr eax, 4
lea esp, [esp]
Function at 0x5418b1
Capabilities:
Encode data using xor

Disassembly:
cmp byte [eax], bh
daa
mov cl, 0x39
sahf
out 0x56, eax
call 0xd3b82129
sar esi, 0x13
insd dword es:[edi], dx
cmp eax, 0x38999ca2
add ecx, ebx
jmp 0x54189c
cmp byte [ecx], al
fldpi
dec eax
insd dword es:[edi], dx
sal dword [edi - 0x23], cl
rcl byte [ebp + 0x7f610315], cl
cmp ecx, dword [eax + 0x70]
mov ebx, 0x2de81335
or al, 0x76
lcall 0x472f, 0x273f761b
dec eax
inc esp
and ah, byte [esi - 0x4a984d9f]
inc ebp
popal
mov dl, 0x67
mov ch, 0xf3
inc ebp
xchg ebx, eax
pop ss
mov dl, 0xd4
pop esp
and eax, 0x7373c3a6
xor eax, 0x6ba0c2ec
loop 0x541874
int 1
pop ss
neg dword [esi + 0x55]
cmp dword [0xe1cdc8e9], ebp
pop eax
stosd dword es:[edi], eax
enter 0x6ce6, 0xffffffffffffff85
mov byte [edi - 0x5407b4c8], bh
loope 0x541873
mov edx, 0xec85fe32
cmp edx, dword [edi]
cdq
int3
jno 0x54183a
xor esp, dword [edi - 0x7c]
jnp 0x54184f
lodsd eax, dword [esi]
pushal
dec esi
push es
xor ebx, edi
int 1
enter 0xfffffffffffff4c7, 0xffffffffffffff91
lea ebx, [0x101c8267]
xchg ebx, eax
in eax, dx
and eax, 0x39d02247
and byte [ecx], bh
and ah, byte [edi + 0x77]
invalid
Function at 0x5d94b1
Capabilities:
Encode data using xor

Disassembly:
add ah, dl
dec edx
dec esi
xor bh, byte [ecx + esi*8]
mov sp, 0x2f22
adc dword [ebx + 0x11], ebp
adc dword [eax - 0x6f], ecx
aad 0x19
in al, 0xd9
and eax, 0xaecaf7c0
xchg byte [ebp + 0x3a16596], dh
add ebx, eax
aaa

Function at 0x5db4d1
Capabilities:
Encode data using xor

Disassembly:
wait
push cs
movsb byte es:[edi], byte [esi]
sbb bl, al
test byte [esi], ah
pop ecx
cdq
and dword fs:[0xba0c91d9], edi
cwde
push cs
cwde
mov cl, 0x71
add eax, 0x17545cc0
je 0x5db4ca
arpl word [eax], cx
add eax, 0x65717198
imul eax, dword [edi], 0xb5d83c49
xchg ah, dh
xchg esi, ecx
mov byte [edi + 0x70a9abba], dh
pop ss
fsubp st(0)
mov al, 0xe8
adc ebp, ebx
sbb edx, dword [esi - 0x6b]
or dword [edi + 0x15ccb496], ebx
push ss
lea ebp, [eax + 0x47]

Function at 0x5e2371
Capabilities:
Encode data using xor

Disassembly:
mov dword [0x1598f4d4], eax
cmpsd dword [esi], dword es:[edi]
mov ebp, 0xbf11baba
les edx, [ecx + 0x497651e2]
xchg ecx, eax
loop 0x5e23a5
jbe 0x5e239f
or dword [esi - 0x6301fa7d], 0x3d24220d
and dword [esp + eax*8], esi
fyl2xp1
invalid
jbe 0x5e2351
mov word [ebx], ss
adc byte [ebx - 0x7c3a04c3], bh
in eax, 0xcb
mov ebp, 0xd5cb6bd2
dec eax
cmp eax, 0x86f264bf
cmc
jns 0x5e23a2
push edx
int 0xb3
mov eax, dword [0x803e0896]
outsb dx, byte [esi]
dec eax
cmp al, 0x17
pop ebx
cmp ebx, dword [eax + 0x43ed9474]
ja 0x5e2345
movsd dword es:[edi], dword [esi]
jle fcn.005e2371
stc
push edi
xor dword [edi - 0x77133e66], edi
mov edi, 0x88ecc19a
popfd
lahf
bound esi, qword [ebp - 0x2af4fa0d]
cmc
loope 0x5e241c
insd dword es:[edi], dx
pushal
sub dword gs:[esi], esp
or byte [edi], ah
sub dword [ebx + 0x7c], edx
mov ebx, 0x71b195ac
sbb dword [ecx - 3], esi
invalid
xchg edx, eax
xchg byte [ebx + 0x315c1489], dh
daa
or al, 0xc4
and eax, 0x5a9d7c5f
sub eax, edi
xchg ebp, eax
and byte [edx + 0x3b], bl
retf 0xbc39
cmp ecx, edx
cmp dword [ebx + edi*8 + 0x379e0165], edi
je 0x5e2408
inc ebx
leave
aad 0x9b
fdivr dword [esi + 0x597894a5]
push esp
pop ecx
mov word [ebp - 0x1e], ss
push edx
xor al, 0x72
and eax, dword [ecx + 0x2973a2dc]
and edi, dword [0xe36adb7e]
mov ch, 0xfb
fcmovu st(0), st(2)
test dl, ch
clc
invalid
Function at 0x1114058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x111407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111406a
add dl, dl
jne 0x1114089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11140dc
xor eax, eax
add dl, dl
jne 0x1114096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x111417d
add dl, dl
jne 0x11140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1114075
mov eax, 1
add dl, dl
jne 0x11140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11140e1
sub eax, ebx
mov ebx, 1
jne 0x1114128
mov ecx, 1
add dl, dl
jne 0x111410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1114119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1114105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1114075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x111413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x111414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1114136
cmp eax, 0x7d00
jae 0x111416d
cmp eax, 0x500
jb 0x1114168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1114075
cmp eax, 0x7f
ja 0x1114170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1114075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x111419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1114075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x10010e1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x100109c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1001123
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100107c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.010010c8
jmp 0x1001143
push 0x1001074
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001141
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001050
jmp 0x1001105
call eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0xa687882
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, str.k3i3
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x332b75d4
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x14692929
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x39d71a76
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4290e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f884b
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.005d361e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x429162
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005cf6cd
mov eax, dword [eax]
push 0x1a73c64
push eax
call fcn.004ad860
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005d38a9
test bl, bl
je 0x429162
push 0x1a73c64
lea ecx, [esp + 0xc]
call fcn.005d3c85
push 0x1a73c70
lea ecx, [esp + 0xc]
call fcn.005d3c85
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 0x42919e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005d38a9
jmp 0x429269
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 0x429222
lea edx, [esp + 0x7c]
push 0x1a73c6c
push edx
call fcn.004ad860
add esp, 8
test eax, eax
je 0x429222
lea eax, [esp + 0x7c]
push 0x1a73c68
push eax
call fcn.004ad860
add esp, 8
test eax, eax
je 0x429222
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 0x4291b2
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.005d38a9
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 0x429a80
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 0x429ae2
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 0x429af0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f88cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1a8db40]
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 0x429c28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x429b56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005d38a9
xor eax, eax
jmp 0x429c9f
push 0x1a73cac
lea ecx, [esp + 0xc]
call fcn.005d3a32
push esi
lea ecx, [esp + 0xc]
call fcn.005d3cc1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1a73ca4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x429c7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x1a73c9c
push closesocket
call fcn.00429a80
test eax, eax
jne 0x429c7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x1a73c88
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00429a80
test eax, eax
jne 0x429c7d
lea eax, [esp + 0x14]
push 0x1a73c80
push eax
call fcn.004aeee5
mov esi, eax
add esp, 8
test esi, esi
jne 0x429c5c
lea ecx, [esp + 0x14]
push 0x1a73c7c
push ecx
call fcn.004aed20
mov esi, eax
add esp, 8
test esi, esi
jne 0x429c5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x429c5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005d39e2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x429b6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005d38a9
xor eax, eax
jmp 0x429c9f
mov byte [esi], 0
push 0x1a73c78
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.005d38a9
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 0x43f120
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 0x43f18e
cmp si, 0x69
ja 0x43f18e
add esi, 0xffd0
cmp si, 0x11
je 0x43f15e
push 0x11
call edi
test ax, ax
jge 0x43f15e
or esi, 0x2000
cmp si, 0x10
je 0x43f173
push 0x10
call edi
test ax, ax
jge 0x43f173
or esi, 0x4000
cmp si, 0x12
je 0x43f188
push 0x12
call edi
test ax, ax
jge 0x43f188
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43f19b
mov esi, 0xbd
jmp 0x43f14f
cmp si, 0x6e
jne 0x43f1a8
mov esi, 0xbe
jmp 0x43f14f
cmp si, 0x6f
jne 0x43f149
mov esi, 0xbf
jmp 0x43f14f

Function at 0x440bc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1aa34a8]
xor edx, edx
cmp eax, edx
jne 0x440be6
xor eax, eax
mov byte [eax + 0x1aa33a8], al
inc eax
cmp eax, 0x100
jl 0x440bce
mov dword [0x1aa34a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1aa33a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x440c77
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 0x440c4a
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 0x440c18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x440cf0
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 0x440d43
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 0x440d2a
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