joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddec8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4ddedd
add esp, 0xfffffff0
call fcn.0040365c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004045dc
xor eax, eax
push ebp
push 0x4ddfb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004d7c78
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412fc4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412fc4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412fc4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412fc4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00412fec
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddfbf
lea eax, [ebp - 4]
call fcn.0040412c
ret
Function at 0x4e4030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e41a7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4e41c0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404180
push 0xffffffffffffffff
mov ecx, 0x4e41d0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4e41ec
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x4e420c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004cfbf4
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4e4228
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004cfae0
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4e423c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004cfae0
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4e4254
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004cfae0
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4e4270
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004cfbf4
mov byte [ebx + 0x48], al
mov ecx, 0x4e4284
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d77c4
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x4e4298
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x4e42b8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x4e42dc
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x4e42f8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x4e4314
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e41ae
lea eax, [ebp - 4]
call fcn.0040412c
ret
Function at 0x4ee018
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004045dc
mov eax, dword [ebp - 8]
call fcn.004045dc
xor eax, eax
push ebp
push 0x4ee16d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ee138
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004028b8
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 0x10]
call fcn.00408a9c
lea eax, [ebp - 0x154]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d14
mov dword [ebp - 0x154], 0x44
mov dword [ebp - 0x128], 1
mov ax, word [ebp + 8]
mov word [ebp - 0x124], ax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push 0x4ee188
push dword [ebp - 4]
push 0x4ee194
push dword [ebp - 8]
lea eax, [ebp - 0x168]
mov edx, 4
call fcn.004044ac
mov eax, dword [ebp - 0x168]
call fcn.004045ec
push eax
mov eax, dword [ebp - 4]
call fcn.004045ec
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4ee10c
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.00403b70
jmp 0x4ee13f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x164]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x164]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee13f
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee174
lea eax, [ebp - 0x168]
call fcn.0040412c
lea eax, [ebp - 0x10]
call fcn.0040412c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404150
ret

Function at 0x4ee1d8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00408bf0
add esp, 0x108
pop ebx
ret
Function at 0x4ee6e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4ee8c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
push ebp
push 0x4ee8a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x4ee8d8
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ee896
xor eax, eax
push ebp
push 0x4ee88f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0xa4080000
push 0
push 0
mov eax, esi
call fcn.004045ec
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ee878
xor eax, eax
push ebp
push 0x4ee871
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x14
mov dword [ebp - 0x10], 0xa
lea eax, [ebp - 0x42]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00402d14
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2d]
push eax
push 0x13
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
jne 0x4ee7cc
call fcn.00403b70
call fcn.00403b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee8ad
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x2d]
call fcn.00404324
mov eax, dword [ebp - 0x48]
mov edx, 0x4ee920
call fcn.00404538
je 0x4ee7fd
call fcn.00403b70
call fcn.00403b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee8ad
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x42]
push eax
push 5
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x4ee85a
xor eax, eax
push ebp
push 0x4ee84b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x42]
mov ecx, 0x15
call fcn.0040439c
mov eax, dword [ebp - 0x4c]
call fcn.00408428
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee85a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee878
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee896
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee8aa
mov ebx, dword [ebp - 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee8cf
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404150
ret
Function at 0x401eb0
Capabilities:
Hash data with md5

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x17
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x58], eax
pop edi
ret
Function at 0x404abd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x404add
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004062cf
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x404afe
test byte [esp + 8], 2
je 0x404afe
mov dword [0x417a90], 0xd
mov dword [0x417a94], 5
jmp 0x404ad9
xor eax, eax
ret
Function at 0x40bd41
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x394]
push eax
call fcn.0040a8ca
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x40bd66
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40bdaf
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x40bd59
call fcn.0040a959
xchg esi, eax
lds eax, [ebx]
scasd eax, dword es:[edi]
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040a959
jb 0x40bdea
test ebx, ebx
clc
invalid
dec eax
pop eax
lea eax, [ebp - 0x72c]
push eax
call fcn.0040a969
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040a91e
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0040a959
sti
xor byte ss:[ebx], 0x8d
test eax, ebp
clc
invalid
Function at 0x40e7b4
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x412857
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x5a23700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.05a2378f
jae 0x5a2370e
xor ecx, ecx
call fcn.05a2378f
jae 0x5a2373d
xor eax, eax
call fcn.05a2378f
jae 0x5a2374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.05a2378f
adc al, al
jae 0x5a2372f
jne 0x5a23779
stosb byte es:[edi], al
jmp 0x5a23711
call fcn.05a2379b
sub ecx, ebx
jne 0x5a23756
call fcn.05a23799
jmp 0x5a23775
lodsb al, byte [esi]
shr eax, 1
je 0x5a23783
adc ecx, ecx
jmp 0x5a23772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05a23799
cmp eax, 0x7d00
jae 0x5a23772
cmp ah, 5
jae 0x5a23773
cmp eax, 0x7f
ja 0x5a23774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5a23711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x42a06a
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x42a08c
mov eax, 0xfffffffd
jmp 0x42a16c
mov ebx, dword [0x723ea8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x42a13a
mov ebx, dword [0x723ea8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x42a0db
mov ebx, dword [0x723ea8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x42a0db
mov eax, 1
jmp 0x42a0e0
mov eax, 0
test eax, eax
je 0x42a10c
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x42a0f5
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x723ea8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x42a162
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x42a16c
mov esp, ebp
pop ebp
ret 4

Function at 0x42a2bf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x42a372
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x42ae10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0042a2bf
test eax, eax
je 0x42ae53
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x42ae53
cmp word [eax], 0x5a4d
jne 0x42ae53
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x42ae53
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0042a391
mov eax, dword [ebp + 8]
jmp 0x42ae6c
mov esp, ebp
pop ebp
ret 4
Function at 0x476d20
Capabilities:
Packed with generic packer

Disassembly:
push edx
push ebp
mov ebp, esp
sub esp, 0x10
push edx
pushfd
mov edx, 0x14f716a3
and dl, 0x70
call fcn.008355ea
loope 0x476ccf
loopne 0x476da5
popal
invalid
pushal
push esi
into
mov dword [0x858b55a2], eax
fdivr qword [ecx + 0x52]
pop ebp
ret
Function at 0x4ca510
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a31ab
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.0059240a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ca592
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0058ee34
mov eax, dword [eax]
push 0x70bd88
push eax
call fcn.00580b24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00592695
test bl, bl
je 0x4ca592
push 0x70bd88
lea ecx, [esp + 0xc]
call fcn.00592a71
push 0x70bd94
lea ecx, [esp + 0xc]
call fcn.00592a71
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 0x4ca5ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00592695
jmp 0x4ca699
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 0x4ca652
lea edx, [esp + 0x7c]
push 0x70bd90
push edx
call fcn.00580b24
add esp, 8
test eax, eax
je 0x4ca652
lea eax, [esp + 0x7c]
push 0x70bd8c
push eax
call fcn.00580b24
add esp, 8
test eax, eax
je 0x4ca652
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 0x4ca5e2
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.00592695
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 0x4caea0
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 0x4caf02
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 0x4caf10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a322b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x71f36c]
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 0x4cb048
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4caf76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00592695
xor eax, eax
jmp 0x4cb0bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0059281e
push esi
lea ecx, [esp + 0xc]
call fcn.00592aad
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x70bdc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4cb09d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004caea0
test eax, eax
jne 0x4cb09d
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 SysReAllocStringLen
mov ecx, edi
call fcn.004caea0
test eax, eax
jne 0x4cb09d
lea eax, [esp + 0x14]
push 0x70bda4
push eax
call fcn.00581d70
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cb07c
lea ecx, [esp + 0x14]
push 0x70bda0
push ecx
call fcn.00581cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cb07c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4cb07f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005927ce
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4caf8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00592695
xor eax, eax
jmp 0x4cb0bf
mov byte [esi], 0
push 0x70bd9c
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.00592695
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 0x4e0920
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 0x4e098e
cmp si, 0x69
ja 0x4e098e
add esi, 0xffd0
cmp si, 0x11
je 0x4e095e
push 0x11
call edi
test ax, ax
jge 0x4e095e
or esi, 0x2000
cmp si, 0x10
je 0x4e0973
push 0x10
call edi
test ax, ax
jge 0x4e0973
or esi, 0x4000
cmp si, 0x12
je 0x4e0988
push 0x12
call edi
test ax, ax
jge 0x4e0988
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4e099b
mov esi, 0xbd
jmp 0x4e094f
cmp si, 0x6e
jne 0x4e09a8
mov esi, 0xbe
jmp 0x4e094f
cmp si, 0x6f
jne 0x4e0949
mov esi, 0xbf
jmp 0x4e094f

Function at 0x4e2320
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7307f8]
xor edx, edx
cmp eax, edx
jne 0x4e2346
xor eax, eax
mov byte [eax + 0x7306f8], al
inc eax
cmp eax, 0x100
jl 0x4e232e
mov dword [0x7307f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7306f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e23d7
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 0x4e23aa
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 0x4e2378
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e2450
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 0x4e24a3
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 0x4e248a
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