joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434ae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6603a071
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6605237c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push esi
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], 0
call fcn.004331c0
mov dword [esi + 0x10], 0x6604943c
push esi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call fcn.00433270
mov dword [esi + 0x18], 0x6604943c
push esi
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.00421060
mov dword [esi + 0x20], 0x6604943c
lea edi, [esi + 0x28]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00432310
mov dword [edi + 4], eax
mov byte [eax + 0x275], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dword [eax + 0x2c], edx
mov ecx, 0x66033a20
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x14]
mov dword [eax + 0x44], edx
mov ecx, 0x66034360
mov dword [eax + 0x40], ecx
mov eax, dword [esi + 0x14]
mov dword [eax + 0x2c], edx
mov ecx, 0x66033800
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x14]
mov ecx, 0x660334e0
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0x24]
mov ecx, 0x66033ce0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x471000
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x14]
xor edx, edx
bswap eax
bswap ecx
sub esi, edi
jmp 0x471020
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x14]
bswap edi
mov dword [ebp + edx*4 - 0x14], edi
add edx, 1
cmp edx, 4
jl 0x471020
xor edx, edx
mov dword [ebp - 4], 0x10
mov edi, edi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x10]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0x14]
sub edx, 0x61c88647
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
add ecx, esi
sub dword [ebp - 4], 1
jne 0x471040
mov edx, dword [ebp + 0xc]
bswap eax
bswap ecx
pop edi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471090
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ebp - 0x10]
xor edx, edx
bswap ecx
bswap eax
sub esi, edi
mov edi, edi
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x10]
bswap edi
mov dword [ebp + edx*4 - 0x10], edi
add edx, 1
cmp edx, 4
jl 0x4710b0
mov edx, 0xe3779b90
mov dword [ebp + 8], 0x10
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 4]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 8]
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
sub eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 0xc]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x10]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
sub ecx, esi
add edx, 0x61c88647
sub dword [ebp + 8], 1
jne 0x4710d1
mov edx, dword [ebp + 0x10]
bswap ecx
bswap eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x471730
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call 0x740ee8
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x58], 0
pop esi
pop ebp
ret
Function at 0x472320
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0x5c
lea eax, [ebp - 0x5c]
push 0
push eax
call 0x740ee8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
call fcn.00471df0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push ecx
push edx
call fcn.004721b0
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x480380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x33fd2cb1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x340f63b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi + 0xc], ebx
lea edi, [esi + 8]
lea ecx, [esi + 0x10]
mov dword [edi], 0x34081850
call fcn.00478440
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call 0x4955f0
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 1
call 0x492180
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push eax
lea ecx, [esi + 0x1e0]
mov byte [ebp - 4], 2
call fcn.00475b50
lea edi, [esi + 0x238]
mov ecx, edi
mov byte [ebp - 4], 3
call dword [0x3401e0a0]
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
push esi
lea ecx, [esi + 0x278]
mov byte [ebp - 4], 4
call 0x580610
mov edi, 0x340747e4
mov dword [esi + 0x274], edi
push esi
lea ecx, [esi + 0x280]
mov byte [ebp - 4], 5
call 0x6057b0
mov dword [esi + 0x27c], 0x340747e4
push esi
lea ecx, [esi + 0x288]
mov byte [ebp - 4], 6
call 0x580610
mov dword [esi + 0x284], edi
lea edi, [esi + 0x28c]
mov ecx, edi
mov byte [ebp - 4], 7
call dword [0x3401e0a0]
mov dword [esi + 0x290], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
push esi
lea ecx, [esi + 0x2b0]
mov byte [ebp - 4], 0xb
call 0x5f8be0
mov dword [esi + 0x2ac], 0x340747e4
push 0x34020d24
mov ecx, edi
mov byte [ebp - 4], 0xc
mov dword [esi + 0x270], ebx
call dword [0x3401e1ec]
mov eax, dword [esi + 0x280]
mov ecx, 0x33d0dc90
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x258], ebx
mov byte [esi + 0x2c5], 1
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
mov ecx, 0x33d0ea90
mov eax, dword [esi + 0x278]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
mov eax, dword [esi + 0x288]
mov ecx, 0x33d0d2f0
mov dword [eax + 0x28], ecx
push esi
lea ecx, [esi + 0x3c]
mov dword [eax + 0x2c], ebx
call 0x493380
mov eax, dword [esi + 0x2b0]
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], 1
mov dword [eax + 0x2c], ebx
mov ecx, 0x33d0be30
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x2b0]
mov ecx, 0x33d0c2a0
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ebx
mov dword [esi + 0x2b4], ebx
mov byte [esi + 0x2c4], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rol eax, 0x43
dec eax
inc edx
sub edx, 0xa7
rcr edi, 0x62
bswap ebx
ror esi, 0x3a
not eax
imul ebx
inc ebx
sbb edi, 0x29
bswap edi
inc eax
inc ebx
rcr edi, 0xc9
dec edx
dec esi
ror ebx, 0xbe
rcl edx, 0xcf
not edx
mov ebx, 0xa5
neg esi
mov eax, 0x30
sbb edi, 0xe4
dec eax
sbb ebx, 0x22
and eax, 0x51
inc edx
or esi, 0xf0
sub ebx, 0x84
bswap esi
neg edx
and ebx, 0x9c
inc edx
rcr edx, 0x5e
imul esi
sub esi, 0xb7
bswap edx
imul edi
or esi, 0x8b
sbb eax, 0x78
and edx, 0x8c
inc edx
mov esi, 0xe6
ror eax, 0xb3
mov esi, 0x5e
rol edi, 0xe4
rcr ebx, 0x37
mov edi, 0x42
rol esi, 0x70
xor ecx, ecx
xor edi, edi
dec edx
and esi, 0x8a
add edx, 0xf2
ror esi, 0xca
imul edi
ror edx, 0xd
neg edx
dec eax
add ebx, 0x4a
inc esi
neg ebx
sbb eax, 0x96
rcr edx, 0x53
inc ebx
rol edi, 0x9a
rol edx, 0xf7
and edx, 0xe
not edi
sbb edx, 0xb9
not ebx
bswap eax
inc esi
not eax
or esi, 0xa0
sub edi, 0xea
not eax
bswap esi
dec edi
mov ebx, 0x1e
add edi, 0x34
rcl edi, 0x52
not eax
dec ebx
add edi, 0x65
not edx
ror ebx, 0x91
inc edi
not edx
inc eax
sub ebx, 0xe
imul ebx
ror esi, 0x97
neg esi
rcl edi, 0xbb
not eax
rol edx, 0x77
rcr eax, 0xf4
rcl edi, 0x9c
bswap ebx
or edi, 0x37
mov ecx, dword [ebp + 0xc]
inc edx
ror edi, 0xc3
rol esi, 0x65
rol edi, 0x42
sbb edx, 0xca
or eax, 0x8a
imul eax
and edi, 0xb9
dec esi
add esi, 0x75
rcl edi, 0x7a
bswap eax
sbb ebx, 0xb1
sub eax, 0x19
rol ebx, 0x60
bswap esi
not ebx
mov edi, 0x5c
or ebx, 0x80
not edi
bswap esi
bswap edi
mov eax, 0x85
bswap edi
inc eax
imul edx
not edi
add ebx, 6
sbb esi, 0xe4
rcr edi, 0x96
mov esi, 0x15
neg eax
sbb edi, 0xf
imul ebx
add eax, 0xa8
or eax, 0x1c
dec edi
add ebx, 0x80
dec ebx
rcr edx, 0x46
bswap esi
bswap ebx
not eax
mov edi, 0x68
mov edi, 0x8b
add ebx, 9
bswap edi
inc ebx
rcr ebx, 0x67
imul eax
mov edi, dword [ebp + 8]
mov esi, eax
mov esi, eax
xor esi, eax
not byte [edi]
mov eax, esi
mov ebx, ebx
xor eax, eax
mov ebx, eax
mov esi, eax
mov eax, eax
xor eax, ebx
mov ebx, esi
xor eax, esi
add byte [edi], 0x87
mov esi, ebx
mov ebx, eax
mov eax, eax
xor esi, ebx
mov eax, ebx
mov eax, esi
xor ebx, esi
mov esi, ebx
mov eax, esi
sub byte [edi], 0x54
xor eax, ebx
mov eax, ebx
xor eax, esi
mov eax, eax
xor eax, ebx
mov ebx, ebx
xor eax, esi
mov esi, esi
mov eax, esi
imul byte [edi]
inc edi
loop 0x4013ed
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407845
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432600]
jne 0x40784f
repz ret
jmp fcn.00409be0
Function at 0x407eb5
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.00406c65
and dword [ebp - 4], 0
cmp dword [0x433790], 0
mov ebx, eax
jne 0x407f66
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408017
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408017
push eax
call fcn.00406bf3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433790], eax
call esi
push eax
call fcn.00406bf3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433794], eax
call esi
push eax
call fcn.00406bf3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433798], eax
call esi
push eax
call fcn.00406bf3
pop ecx
mov dword [0x4337a0], eax
test eax, eax
je 0x407f66
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406bf3
pop ecx
mov dword [0x43379c], eax
mov eax, dword [0x43379c]
cmp eax, ebx
je 0x407fbe
cmp dword [0x4337a0], ebx
je 0x407fbe
push eax
call fcn.00406c6e
push dword [0x4337a0]
mov esi, eax
call fcn.00406c6e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407fbe
test edi, edi
je 0x407fbe
call esi
test eax, eax
je 0x407fb5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407fb5
test byte [ebp - 0xc], 1
jne 0x407fbe
or dword [ebp + 0x10], 0x200000
jmp 0x407ff7
mov eax, dword [0x433794]
cmp eax, ebx
je 0x407ff7
push eax
call fcn.00406c6e
pop ecx
test eax, eax
je 0x407ff7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407ff7
mov eax, dword [0x433798]
cmp eax, ebx
je 0x407ff7
push eax
call fcn.00406c6e
pop ecx
test eax, eax
je 0x407ff7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433790]
call fcn.00406c6e
pop ecx
test eax, eax
je 0x408017
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408019
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac
Function at 0x40d800
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468a8b
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.0045d586
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d882
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b49d
mov eax, dword [eax]
push 0x47e1f4
push eax
call fcn.0044e304
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d811
test bl, bl
je 0x40d882
push 0x47e1f4
lea ecx, [esp + 0xc]
call fcn.0045dba1
push 0x481d6c
lea ecx, [esp + 0xc]
call fcn.0045dba1
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 0x40d8be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d811
jmp 0x40d989
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 0x40d942
lea edx, [esp + 0x7c]
push 0x481d68
push edx
call fcn.0044e304
add esp, 8
test eax, eax
je 0x40d942
lea eax, [esp + 0x7c]
push 0x481d64
push eax
call fcn.0044e304
add esp, 8
test eax, eax
je 0x40d942
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 0x40d8d2
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.0045d811
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 0x40e180
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 0x40e1e2
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 0x40e1f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x488210]
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 0x40e328
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e256
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d811
xor eax, eax
jmp 0x40e39f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d94e
push esi
lea ecx, [esp + 0xc]
call fcn.0045dbdd
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 0x40e37d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e180
test eax, eax
jne 0x40e37d
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 accept
mov ecx, edi
call fcn.0040e180
test eax, eax
jne 0x40e37d
lea eax, [esp + 0x14]
push 0x481d80
push eax
call fcn.0044f340
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e35c
lea ecx, [esp + 0x14]
push 0x481d7c
push ecx
call fcn.0044f2c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e35c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e35f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d8fe
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e26e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d811
xor eax, eax
jmp 0x40e39f
mov byte [esi], 0
push 0x481d78
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.0045d811
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 0x41e7d0
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 0x41e83e
cmp si, 0x69
ja 0x41e83e
add esi, 0xffd0
cmp si, 0x11
je 0x41e80e
push 0x11
call edi
test ax, ax
jge 0x41e80e
or esi, 0x2000
cmp si, 0x10
je 0x41e823
push 0x10
call edi
test ax, ax
jge 0x41e823
or esi, 0x4000
cmp si, 0x12
je 0x41e838
push 0x12
call edi
test ax, ax
jge 0x41e838
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41e84b
mov esi, 0xbd
jmp 0x41e7ff
cmp si, 0x6e
jne 0x41e858
mov esi, 0xbe
jmp 0x41e7ff
cmp si, 0x6f
jne 0x41e7f9
mov esi, 0xbf
jmp 0x41e7ff

Function at 0x420000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4988a0]
xor edx, edx
cmp eax, edx
jne 0x420026
xor eax, eax
mov byte [eax + 0x4987a0], al
inc eax
cmp eax, 0x100
jl 0x42000e
mov dword [0x4988a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4987a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4200b7
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 0x42008a
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 0x420058
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x420130
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 0x420183
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 0x42016a
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