joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0078
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d40
xor eax, eax
push ebp
push 0x4b0183
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00409944
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402964
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call fcn.00409944
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.004031c8
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x30d]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4b012f
mov dword [ebp - 8], 0xffffffff
jmp 0x4b0165
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x360]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b018a
lea eax, [ebp - 0xc]
call fcn.00404874
lea eax, [ebp - 4]
call fcn.00404874
ret

Function at 0x4b57ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d40
xor eax, eax
push ebp
push 0x4b586d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d50
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b5857
mov eax, ebx
call fcn.0040277c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b5850
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b583a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b5880
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b583a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5857
mov eax, dword [ebp - 0x10]
call fcn.0040279c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5874
lea eax, [ebp - 4]
call fcn.00404874
ret
Function at 0x4b69b0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x564], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x10]
xor eax, eax
push ebp
push 0x4b6b15
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x564]
mov eax, dword [0x4bc8cc]
mov eax, dword [eax]
call fcn.00470334
mov eax, dword [ebp - 0x564]
lea edx, [ebp - 0x14]
call fcn.00409728
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404d50
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b6aed
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00404d50
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b6acf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
lea eax, [ebp - 0x560]
call fcn.00402ee4
mov edx, 1
lea eax, [ebp - 0x560]
call fcn.0040330c
call fcn.004028e4
push ebx
push 0x400
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x414]
mov ecx, dword [ebx]
lea eax, [ebp - 0x560]
call fcn.00403040
call fcn.004028e4
cmp dword [ebx], 0
jne 0x4b6a6f
lea eax, [ebp - 0x560]
call fcn.00403060
call fcn.004028e4
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6ad6
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x44f13b
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x44f15b
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x44f148
ret

Function at 0x4012a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x28
push ebx
lea ecx, [esp + 8]
push esi
push ecx
xor ebx, ebx
lea eax, [esp + 0xc]
push 0x11
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x403020
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x40130a
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
pop esi
pop ebx
add esp, 0x28
ret
mov byte [esi], bl
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x4022ad
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push 8
xor eax, eax
shl ecx, 1
pop esi
sar ecx, 1
mov edx, eax
xor edx, ecx
test dl, 1
je 0x4022cd
shr eax, 1
xor eax, 0xedb88320
jmp 0x4022cf
shr eax, 1
dec esi
jne 0x4022b9
pop esi
ret 4

Function at 0x4022f6
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [0x409300]
mov edx, ecx
dec ecx
test edx, edx
je 0x402329
push edi
lea edx, [ecx + 1]
mov ecx, dword [esp + 8]
push esi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x408f00]
xor eax, esi
inc ecx
dec edx
jne 0x40230f
pop esi
pop edi
mov dword [0x409300], eax
ret

Function at 0x404d30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x40946e]
test eax, eax
jg 0x404d43
and dword [0x409434], 0
xor eax, eax
ret
push edi
push esi
mov esi, 0x800
cmp eax, esi
ja 0x404d50
mov esi, eax
mov edi, dword [0x4070f8]
push esi
push dword [0x409430]
push dword [0x408e4c]
call edi
cmp dword [0x408e5c], 0
mov ecx, eax
mov dword [0x409434], ecx
je 0x404dbf
cmp ecx, 0xffffffff
je 0x404dbf
cmp ecx, esi
je 0x404dd0
test ecx, ecx
jl 0x404dbf
mov ax, word [0x408968]
push dword [0x408e60]
inc ax
push eax
call fcn.00401f17
mov ecx, dword [0x409434]
test ecx, ecx
jne 0x404db8
push esi
push dword [0x409430]
push dword [0x408e4c]
call edi
mov ecx, eax
mov dword [0x409434], ecx
cmp ecx, 0xffffffff
je 0x404dbf
mov esi, ecx
cmp ecx, esi
je 0x404dd0
push 2
call fcn.0040295e
mov ecx, dword [0x409434]
sub dword [0x40946e], ecx
mov esi, dword [0x409430]
cmp dword [0x408e50], 0
mov dword [0x40947c], esi
je 0x404e12
mov eax, ecx
mov edx, eax
dec eax
test edx, edx
je 0x404e12
lea edi, [eax + 1]
call 0x406683
xor byte [esi], al
movzx eax, byte [esi]
push eax
call 0x406699
inc esi
dec edi
pop ecx
jne 0x404df7
mov ecx, dword [0x409434]
mov eax, ecx
dec ecx
pop esi
mov dword [0x409434], ecx
pop edi
ret

Function at 0x10060296
Capabilities:
Encode data using xor

Disassembly:
push eax
call fcn.10059675
js 0x100602c2
loop 0x1006030d
sbb esp, dword [edx + 0x1ecf018f]
daa
cdq
invalid
pcmpeqb mm2, qword [esi - 0x4e]
xchg esi, eax
loope 0x10060345
cmp byte [ebx - 0x2a825ee6], ah
cmp ebx, ebp
int3
xor esi, dword [eax + esi*2 + 0x42c71116]
mov al, byte [0x5c95c7c1]
sbb cl, al
xchg byte [ebp + 0x1d5a9cd6], dl
push ss
mov dl, bl
leave
wait
and byte [eax - 0x71], ch
int1
adc byte [ecx - 0x1c], bh
mov edx, 0x5eabdf2c
insd dword es:[edi], dx
invalid
inc edx
xor bl, byte [esi + edi*4 + 0x53]
aaa
mov bh, byte [edx + 0x7c]
sub al, dh
adc al, 0xaa
jo 0x100602f9
in al, 0xc4
cmpsb byte [esi], byte es:[edi]
test eax, 0x7d964413
insd dword es:[edi], dx
add eax, dword [ebx + 0x57]
mov eax, 0xdac210e9
adc eax, 0xda7a4ad5
aad 0x4a
jp 0x10060323
cmc
invalid
Function at 0x402490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x542373
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58ede4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x56c308
push esi
mov dword [esp + 0x18], 1
call fcn.005245e8
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x4024e1
mov eax, dword [esi + 0x1c]
push eax
call fcn.0041112e
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], 0x56c1dc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40b850
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x542dd2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58ede4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x56d848
mov dword [edi + 0x58], 0x56d7bc
lea esi, [edi + 8]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.0040ca30
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x56d844
call fcn.0040d440
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x56d808
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x5973f8]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.0040cb10
test eax, eax
jne 0x40b952
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x40b942
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x40b952
call fcn.00402bb0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x40d440
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x54245b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58ede4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x56d7c4
call fcn.00524b06
push 4
mov dword [esp + 0x20], 0
call fcn.004110ff
mov edi, eax
add esp, 4
test edi, edi
je 0x40d4be
call fcn.005246e3
mov dword [edi], eax
call fcn.005245b8
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00521884
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d4b3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.005218ac
jmp 0x40d4c0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x475d7f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041aa4f
call fcn.004126bd
cmp eax, esi
pop esi
jne 0x475d9b
mov ecx, 0x5930a8
jmp fcn.00423c5d
ret

Function at 0x4a2b21
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x53c849
call fcn.00505e6d
xor edi, edi
cmp dword [0x58c7d8], edi
je 0x4a2bea
cmp dword [0x58d454], 0xfffffffe
jne 0x4a2bd7
cmp dword [ebp + 8], 0xffffffff
je 0x4a2bea
test byte [0x595138], 1
mov esi, 0x595118
jne 0x4a2b80
or dword [0x595138], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00440b52
push 0x544e51
call fcn.00503f2a
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00440ba9
cmp dword [0x595114], edi
je 0x4a2b94
call fcn.004125e1
push edi
push edi
push 0x4a1ec9
call fcn.0050a84c
add esp, 0xc
mov dword [0x595114], eax
cmp eax, edi
jbe 0x4a2bc4
cmp eax, 0xffffffff
je 0x4a2bc4
push 0xffffffffffffffff
push eax
call dword [0x546344]
mov eax, dword [ebp + 8]
mov dword [0x58d454], eax
jmp 0x4a2bca
mov dword [0x595114], edi
push 0x595120
call dword [0x546438]
jmp 0x4a2bea
mov eax, dword [ebp + 8]
mov dword [0x58d454], eax
cmp eax, 0xffffffff
jne 0x4a2bea
mov dword [0x595114], edi
call fcn.00505f45
ret
Function at 0x4108a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49339b
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.004877a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410922
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004851c3
mov eax, dword [eax]
push 0x4b5cac
push eax
call fcn.00476b24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00487a2b
test bl, bl
je 0x410922
push 0x4b5cac
lea ecx, [esp + 0xc]
call fcn.00487dbb
push 0x4b5cb8
lea ecx, [esp + 0xc]
call fcn.00487dbb
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 0x41095e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00487a2b
jmp 0x410a29
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 0x4109e2
lea edx, [esp + 0x7c]
push 0x4b5cb4
push edx
call fcn.00476b24
add esp, 8
test eax, eax
je 0x4109e2
lea eax, [esp + 0x7c]
push 0x4b5cb0
push eax
call fcn.00476b24
add esp, 8
test eax, eax
je 0x4109e2
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 0x410972
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.00487a2b
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 0x411230
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 0x411292
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 0x4112a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49341b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c0348]
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 0x4113d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411306
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00487a2b
xor eax, eax
jmp 0x41144f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00487b68
push esi
lea ecx, [esp + 0xc]
call fcn.00487df7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4b5cec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41142d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4b5ce4
push 0x80000000
call fcn.00411230
test eax, eax
jne 0x41142d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4b5cd0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00411230
test eax, eax
jne 0x41142d
lea eax, [esp + 0x14]
push 0x4b5cc8
push eax
call fcn.00477b60
mov esi, eax
add esp, 8
test esi, esi
jne 0x41140c
lea ecx, [esp + 0x14]
push 0x4b5cc4
push ecx
call fcn.00477ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41140c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41140f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00487b18
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41131e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00487a2b
xor eax, eax
jmp 0x41144f
mov byte [esi], 0
push 0x4b5cc0
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.00487a2b
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 0x4244c0
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 0x42452e
cmp si, 0x69
ja 0x42452e
add esi, 0xffd0
cmp si, 0x11
je 0x4244fe
push 0x11
call edi
test ax, ax
jge 0x4244fe
or esi, 0x2000
cmp si, 0x10
je 0x424513
push 0x10
call edi
test ax, ax
jge 0x424513
or esi, 0x4000
cmp si, 0x12
je 0x424528
push 0x12
call edi
test ax, ax
jge 0x424528
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42453b
mov esi, 0xbd
jmp 0x4244ef
cmp si, 0x6e
jne 0x424548
mov esi, 0xbe
jmp 0x4244ef
cmp si, 0x6f
jne 0x4244e9
mov esi, 0xbf
jmp 0x4244ef

Function at 0x425c90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d0bb8]
xor edx, edx
cmp eax, edx
jne 0x425cb6
xor eax, eax
mov byte [eax + 0x4d0ab8], al
inc eax
cmp eax, 0x100
jl 0x425c9e
mov dword [0x4d0bb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d0ab8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425d47
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 0x425d1a
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 0x425ce8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425dc0
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 0x425e13
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 0x425dfa
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
Function at 0x42ca90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42cc28
cmp ebp, ebx
jle 0x42cc28
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42caee
dec eax
or eax, 0xfffffff8
inc eax
je 0x42caf5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42cb04
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42cb0b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0048776c
add esp, 4
cmp eax, ebx
je 0x42cb2c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0048776c
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42cc1e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42cc05
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42cbf1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42cbe6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42cbf4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42cbf4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42cb90
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42cb81
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret