joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436de0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push esi
xor esi, esi
mov dword [esp + 4], esi
mov dword [eax], esi
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x436f92
push ebx
mov ebx, dword [esp + 0xc]
push edi
test ebx, ebx
je 0x436f7c
push ebp
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x436e2f
lea ebp, [eax + 0xe]
jmp 0x436e3b
cmp eax, 0x17
jne 0x436ee9
lea ebp, [eax + 5]
cmp dword [ebx + 0x18], 0
je 0x436ee9
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x436ee9
cmp eax, ebp
jb 0x436ee9
push 0x20
call dword [0x475094]
mov edi, eax
add esp, 4
test edi, edi
je 0x436f71
mov ecx, dword [ebx]
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0xc]
push ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebp
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
call dword [0x475094]
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x436f60
push ebp
push dword [ebx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x14]
add esp, 0xc
test eax, eax
je 0x436ed5
push eax
call dword [0x4750a0]
add esp, 4
mov dword [edi + 0x14], eax
test eax, eax
je 0x436f46
mov eax, dword [esp + 0x10]
test esi, esi
cmove esi, edi
test eax, eax
je 0x436ee5
mov dword [eax + 0x1c], edi
mov dword [esp + 0x10], edi
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x436e22
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x436f08
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x436f78
test esi, esi
je 0x436f35
push dword [esi + 0x18]
call dword [0x475098]
push dword [esi + 0x14]
call dword [0x475098]
mov edi, dword [esi + 0x1c]
push esi
call dword [0x475098]
add esp, 0xc
mov esi, edi
test edi, edi
jne 0x436f10
mov eax, dword [esp + 0x28]
xor esi, esi
pop edi
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
add esp, 0xc
ret
push dword [edi + 0x18]
mov ebx, 8
call dword [0x475098]
push edi
call dword [0x475098]
add esp, 8
jmp 0x436ef8
push edi
mov ebx, 8
call dword [0x475098]
add esp, 4
jmp 0x436ef8
mov ebx, 8
jmp 0x436ef8
test esi, esi
jne 0x436f88
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
add esp, 0xc
ret

Function at 0x437400
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x437422
cmp eax, 0xffffffff
jne 0x437424
xor eax, eax
ret
Function at 0x43ac30
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x47509c]
mov edi, eax
add esp, 8
test edi, edi
je 0x43ac87
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x43ac9f
cmp esi, ebx
je 0x43ac9f
cmp esi, 0x8000
ja 0x43ac9f
cmp esi, ebx
jb 0x43ac98
push esi
push edi
call dword [0x47509c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x43ac50
push ebp
call dword [0x475098]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x475098]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x440710
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x4750bc]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push eax
mov ebp, dword [edi + 0x424]
or esi, 0xffffffff
mov ebx, dword [edi]
push ebp
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x440772
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
push ebp
push edi
call fcn.00425a80
add esp, 8
cmp esi, 0xffffffff
jne 0x440796
push str.Error_accept__ing_server_connect
push ebx
call fcn.00424ea0
add esp, 8
mov eax, 0x1e
jmp 0x440805
push str.Connection_accepted_from_server_n
push ebx
call fcn.00424f80
push 1
push esi
mov byte [edi + 0x514], 0
mov dword [edi + 0x424], esi
call fcn.00431aa0
add esp, 0x10
mov byte [edi + 0x7f0], 1
cmp dword [ebx + 0x610], 0
je 0x440803
push 1
push ebx
call fcn.00416c50
mov eax, dword [ebx + 0x610]
push 1
push esi
push dword [ebx + 0x614]
call eax
push 0
push ebx
mov esi, eax
call fcn.00416c50
add esp, 0x1c
test esi, esi
je 0x440803
push edi
call fcn.00440ca0
add esp, 4
mov eax, 0x2a
jmp 0x440805
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045bf48
add esp, 0x88
ret
Function at 0x447c30
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
mov byte [esp + 0x16], al
lea eax, [esp + 0x14]
mov edi, dword [esi]
push 3
push eax
push dword [esi + 0x420]
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x447c7c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.00424ea0
add esp, 0xc
push dword [esp + 0x18]
push ebx
push str.SENT
push dword [esi]
call fcn.00447840
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x447dc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
push ebx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ebx, dword [eax + 0x14c]
jne 0x447f0e
push ebp
push edi
lea ebp, [ebx + 0x1cb0]
lea edi, [ebx + 0x1eb0]
mov dword [edi], ebp
cmp ebp, edi
jae 0x447e0e
lea eax, [ebp + 1]
mov byte [ebp], 0xff
mov dword [edi], eax
cmp eax, edi
jae 0x447e0e
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x447e0e
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebx + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x1caa]
push eax
call esi
mov edx, dword [esp + 0x1c]
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x447e79
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x447e79
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x447e79
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x447e79
shr ecx, 8
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x447e79
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x447e79
mov byte [eax], 0xf0
mov eax, dword [edi]
inc eax
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1eb4], eax
sub eax, ebp
sub eax, 2
mov dword [edi], ebp
push eax
lea eax, [ebx + 0x1cb2]
push eax
push 0x3e
push esi
call fcn.00447940
mov edi, dword [esp + 0x28]
add esp, 0x10
push 0
push 3
push ebp
push dword [edi + 0x420]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x447ecd
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00424ea0
add esp, 0xc
push 4
lea eax, [ebx + 0x1cb3]
push eax
push edi
call fcn.00447ca0
add esp, 0xc
lea eax, [ebx + 0x1cb7]
push 0
push 2
push eax
push dword [edi + 0x420]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x447f0b
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00424ea0
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x45bb30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x475094]
mov edi, eax
add esp, 4
test edi, edi
jne 0x45bb57
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x45bba2
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x45bba6
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x45bc06
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x45bbc5
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x45bc37
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x46eb46
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x46eb47
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x45bc10
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x45d050
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45d08f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45d08f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45d08f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45d08f
cmp dword [ecx + 0x74], 0xe
jbe 0x45d08f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x561d7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push edi
push esi
and eax, 0xffff0000
mov dword [ebp - 0x50], eax
mov ecx, 0x8000
add eax, 0xaf631837
xor ebx, eax
add bx, ax
rol ebx, 7
loop 0x561d95
push dword [ebp + 8]
pop eax
add eax, 0xe000
mov ecx, 0xe000
mov esi, 0xe000
mov edx, 0x67841dbb
sub esi, 4
sub eax, 4
mov edi, dword [eax]
bswap edi
ror edi, 0x3a
add edi, 0x60d59077
add edx, 0x58d2641
xor edi, edx
xor edi, edx
add edi, 0x11854f05
sub edi, esi
sub edi, edx
xor edi, esi
sub edi, 0x17c7534
neg edi
sub edi, 0xa1e3174d
add edi, esi
sub edi, 0x8365421a
ror edi, 0xd5
sub edi, edx
neg edi
not edi
ror edi, 0x7d
add edx, 0xe6e6899
add edi, 0x9d05abb3
mov dword [eax], edi
test esi, esi
jne 0x561dbd
call fcn.005621ac
push 0
push 0x6c6c642e
push 0x32336c65
push 0x6e72656b
push esp
mov eax, dword [ebp + 0x10]
call dword [eax]
add esp, 0x10
mov edi, eax
push eax
push ebp
push esi
push edi
push ebx
call 0x561e49
add dword [esp], 0x17
xor eax, eax
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [pe_dos_header]
jmp 0x5621a2
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x484450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
mov dword [edi + 0x70d18], 0x2eeb9eeb
push edi
jmp 0x48447a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x484481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484470
mov eax, 1
add ebx, ebx
jne 0x484493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4844a4
jne 0x4844c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4844c3
dec eax
add ebx, ebx
jne 0x4844b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x484488
add ebx, ebx
jne 0x4844bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x484515
xor ecx, ecx
sub eax, 3
jb 0x4844db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48454a
sar eax, 1
mov ebp, eax
jmp 0x4844e6
add ebx, ebx
jne 0x4844e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4844b4
inc ecx
add ebx, ebx
jne 0x4844f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4844b4
add ebx, ebx
jne 0x484501
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4844f6
jne 0x484512
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4844f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x484534
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x484526
jmp 0x484476
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x484534
add edi, ecx
jmp 0x484476
pop esi
mov edi, esi
mov ecx, 0x321f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x484552
cmp byte [edi], 0x16
jne 0x484552
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 0x484557
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x4845cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x88620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8873c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x484584
mov ecx, edi
jns 0x4845b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x88744]
or eax, eax
je 0x4845c9
mov dword [ebx], eax
add ebx, 4
jmp 0x4845a1
call dword [esi + 0x88740]
mov ebp, dword [esi + 0x88748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x484603
sub esp, 0xffffff80
jmp 0x4349ef
Function at 0x426830
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c523b
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.004b97ba
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4268b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b6f9a
mov eax, dword [eax]
push 0x4eed48
push eax
call fcn.004a8de4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b9a45
test bl, bl
je 0x4268b2
push 0x4eed48
lea ecx, [esp + 0xc]
call fcn.004b9dd5
push 0x4eed54
lea ecx, [esp + 0xc]
call fcn.004b9dd5
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 0x4268ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b9a45
jmp 0x4269b9
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 0x426972
lea edx, [esp + 0x7c]
push 0x4eed50
push edx
call fcn.004a8de4
add esp, 8
test eax, eax
je 0x426972
lea eax, [esp + 0x7c]
push 0x4eed4c
push eax
call fcn.004a8de4
add esp, 8
test eax, eax
je 0x426972
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 0x426902
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.004b9a45
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 0x4271d0
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 0x427232
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 0x427240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c52bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5046b0]
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 0x427378
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4272a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b9a45
xor eax, eax
jmp 0x4273ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b9b82
push esi
lea ecx, [esp + 0xc]
call fcn.004b9e11
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 0x4273cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004271d0
test eax, eax
jne 0x4273cd
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 closesocket
mov ecx, edi
call fcn.004271d0
test eax, eax
jne 0x4273cd
lea eax, [esp + 0x14]
push 0x4eed64
push eax
call fcn.004a9fe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4273ac
lea ecx, [esp + 0x14]
push 0x4eed60
push ecx
call fcn.004a9f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4273ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4273af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b9b32
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4272be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b9a45
xor eax, eax
jmp 0x4273ef
mov byte [esi], 0
push 0x4eed5c
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.004b9a45
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 0x439890
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 0x4398fe
cmp si, 0x69
ja 0x4398fe
add esi, 0xffd0
cmp si, 0x11
je 0x4398ce
push 0x11
call edi
test ax, ax
jge 0x4398ce
or esi, 0x2000
cmp si, 0x10
je 0x4398e3
push 0x10
call edi
test ax, ax
jge 0x4398e3
or esi, 0x4000
cmp si, 0x12
je 0x4398f8
push 0x12
call edi
test ax, ax
jge 0x4398f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43990b
mov esi, 0xbd
jmp 0x4398bf
cmp si, 0x6e
jne 0x439918
mov esi, 0xbe
jmp 0x4398bf
cmp si, 0x6f
jne 0x4398b9
mov esi, 0xbf
jmp 0x4398bf

Function at 0x43bac0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x514f68]
xor edx, edx
cmp eax, edx
jne 0x43bae6
xor eax, eax
mov byte [eax + 0x514e68], al
inc eax
cmp eax, 0x100
jl 0x43bace
mov dword [0x514f68], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x514e68
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43bb77
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 0x43bb4a
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 0x43bb18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43bb80
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 0x43bbd3
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 0x43bbba
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