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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x710268
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0x8a8]
mov eax, esi
call fcn.0042e3b8
mov edx, eax
lea ecx, [ebp - 4]
mov eax, dword [esi + 0x1f0]
mov esi, dword [eax]
call dword [esi + 0xc]
push 0x71027c
push dword [ebp - 4]
push 0x710290
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404248
push 1
push 0x7102b0
push 0x7102b0
mov eax, dword [ebp - 4]
call fcn.0040434c
push eax
push 0
mov eax, ebx
call fcn.0043d5f0
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71026f
lea eax, [ebp - 4]
call fcn.00403ef8
ret

Function at 0x71fd3c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404138
add esp, 0x100
pop ebx
ret

Function at 0x71fd6c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jne 0x71fd8d
cmp dword [esp + 0x10], 2
je 0x71fd91
xor eax, eax
jmp 0x71fd93
mov al, 1
add esp, 0x94
ret

Function at 0x72088c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040433c
xor eax, eax
push ebp
push 0x720955
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.004040a0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x72096c
call fcn.004041d4
mov eax, dword [ebp - 4]
call fcn.0040434c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x7208e6.0
jmp dword [eax*4 + 0x7208ed]
mov eax, 8
jmp 0x720931
mov eax, 0xb
jmp 0x720931
mov eax, 0xc
jmp 0x720931
mov eax, 7
jmp 0x720931
mov eax, 9
jmp 0x720931
mov eax, 0xa
mov ecx, esi
mov edx, ebx
call fcn.00720724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72095c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f1c
ret

Function at 0x720b50
Capabilities:
Shutdown system

Disassembly:
call fcn.00720a70
test al, al
je 0x720b75
mov dl, 1
mov eax, 0x720b90
call fcn.00720a94
push 0
push 6
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
ret
push 0
push 2
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
ret
Function at 0x720bf8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x720c89
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x94], 4
jne 0x720c3d
cmp dword [ebp - 0x88], 1
je 0x720c41
xor ebx, ebx
jmp 0x720c43
mov bl, 1
test bl, bl
je 0x720c73
lea eax, [ebp - 4]
call fcn.00720ba4
cmp dword [ebp - 4], 0
je 0x720c69
mov edx, dword [ebp - 4]
mov eax, 0x720ca0
call fcn.00404474
test eax, eax
setne bl
jmp 0x720c73
cmp dword [ebp - 0x90], 0xa
setb bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x720c90
lea eax, [ebp - 4]
call fcn.00403ef8
ret

Function at 0x720ca4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x720d35
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x94], 4
jne 0x720ce9
cmp dword [ebp - 0x88], 1
je 0x720ced
xor ebx, ebx
jmp 0x720cef
mov bl, 1
test bl, bl
je 0x720d1f
lea eax, [ebp - 4]
call fcn.00720ba4
cmp dword [ebp - 4], 0
je 0x720d15
mov edx, dword [ebp - 4]
mov eax, 0x720d4c
call fcn.00404474
test eax, eax
setne bl
jmp 0x720d1f
cmp dword [ebp - 0x90], 0xa
setb bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x720d3c
lea eax, [ebp - 4]
call fcn.00403ef8
ret
Function at 0x721364
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040433c
mov eax, dword [ebp - 8]
call fcn.0040433c
xor eax, eax
push ebp
push 0x721542
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004913a4
mov eax, dword [ebp - 8]
call fcn.004098c8
test al, al
je 0x7213cf
mov eax, dword [ebp - 8]
call fcn.004098d8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x7213d6
mov dword [ebp - 0x24], 0x80
jmp 0x7213d6
mov dword [ebp - 0x24], 0x80
cmp dword [ebp - 0x10], 1
jne 0x72141d
mov edx, 0x80
mov eax, dword [ebp - 8]
call fcn.004098ec
push 0
mov eax, dword [ebp - 8]
call fcn.0040434c
push eax
mov eax, dword [ebp - 4]
call fcn.0040434c
push eax
call sub.kernel32.dll_CopyFileA
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004098ec
mov eax, dword [ebp - 8]
call fcn.004098c8
mov byte [ebp - 9], al
jmp 0x721517
mov dl, 1
mov eax, dword [0x4fbc40]
call fcn.004fca0c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x721510
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.004fcf14
mov dword [ebp - 0x1c], 0xffffffff
test ebx, ebx
jl 0x721455
mov dword [ebp - 0x1c], ebx
jmp 0x72149c
lea edx, [ebp - 0x20]
mov eax, ebx
neg eax
call fcn.0040969c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xe]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x72149c
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xe]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00404298
jne 0x721498
mov dword [ebp - 0x1c], ebx
jmp 0x72149c
inc ebx
dec esi
jne 0x721476
cmp dword [ebp - 0x1c], 0
jl 0x7214c1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004fe798
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xe]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0x24]
jmp 0x7214c3
xor ebx, ebx
test ebx, ebx
je 0x7214f6
mov edx, 0x80
mov eax, dword [ebp - 8]
call fcn.004098ec
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004c07a8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004098ec
mov eax, dword [ebp - 8]
call fcn.004098c8
mov byte [ebp - 9], al
jmp 0x7214fa
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x721517
mov eax, dword [ebp - 0x18]
call fcn.00403170
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x721549
lea eax, [ebp - 0x28]
call fcn.00403ef8
lea eax, [ebp - 0x20]
call fcn.00403ef8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f1c
ret
Function at 0x72da9c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4be7fc]
call fcn.004bf378
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov ecx, edi
mov edx, ebx
call fcn.004bfa38
xor eax, eax
push ebp
push 0x72dc5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x72dc3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004c05b0
xor eax, eax
mov dword [ebp - 0x10], eax
call fcn.00431bf8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.004313a0
xor eax, eax
push ebp
push 0x72dc22
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x72db54
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
mov eax, dword [ebp - 4]
call fcn.004144d0
push eax
mov eax, dword [0x767ab0]
movzx eax, word [eax]
push eax
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x72dbf4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x72dbea
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x72dbe3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
call fcn.004144d0
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x767adc]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72dbea
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x72dc0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72dc29
mov eax, dword [ebp - 0x18]
call fcn.00431374
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x393e54be
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4d810a94
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x807d19
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
lea eax, [ebp - 0x140]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x807d7f
mov eax, dword [eax + 0xc]
push esi
lea ecx, [ebp - 0x40]
xor esi, esi
sub ecx, eax
mov edx, dword [eax]
test edx, edx
je 0x807d7a
mov edx, dword [edx]
inc esi
mov dword [ecx + eax], edx
add eax, 4
cmp esi, 0x10
jl 0x807d50
jmp 0x807d7a
mov eax, dword [ebp + esi*4 - 0x44]
dec esi
test eax, eax
je 0x807d7a
push eax
push dword [ebp + 8]
call fcn.00807545
pop ecx
pop ecx
test esi, esi
jg 0x807d66
pop esi
leave
ret

Function at 0x807d81
Capabilities:
Create tcp socket
Create thread
Create udp socket
Start tcp server

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x2c
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
push 0x2c
push 0
push esi
mov dword [0x808244], esi
call sub.MSVCRT.dll_memset
call fcn.008071e7
push esi
mov dword [esi + 0x24], eax
call fcn.00807d19
push esi
call fcn.00807c77
push esi
call fcn.00807400
push esi
call fcn.008074a2
mov edi, dword [sym.imp.WS2_32.dll_htons]
and dword [esi + 4], 0
add esp, 0x20
mov word [esi], 2
push 0x412
call edi
mov ebx, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
mov word [esi + 2], ax
call ebx
mov ebp, dword [sym.imp.WS2_32.dll_bind]
jmp 0x807e23
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov word [esi], 2
and dword [esi + 4], 0
push 0x412
call edi
push 6
push 1
push 2
mov word [esi + 2], ax
call ebx
push 0x10
push esi
push eax
mov dword [esi + 0x10], eax
call ebp
test eax, eax
jne 0x807df3
push bind
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_listen]
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateThread]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push esi
push 0x807b7a
push ebx
push ebx
call ebp
push 0x1c
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
push 0x1c
push ebx
push edi
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [edi + 0x18]
mov dword [edi], esi
mov dword [eax], 0x10
push eax
lea eax, [edi + 8]
push eax
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, ebx
mov dword [edi + 4], eax
jg 0x807e9e
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x807e56
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push 0x80783e
jmp 0x807e52

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42a100
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b623b
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.004aaa19
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a182
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a88c7
mov eax, dword [eax]
push 0x677d24
push eax
call fcn.0049a854
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aaca4
test bl, bl
je 0x42a182
push 0x677d24
lea ecx, [esp + 0xc]
call fcn.004ab034
push 0x677d30
lea ecx, [esp + 0xc]
call fcn.004ab034
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 0x42a1be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aaca4
jmp 0x42a289
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 0x42a242
lea edx, [esp + 0x7c]
push 0x677d2c
push edx
call fcn.0049a854
add esp, 8
test eax, eax
je 0x42a242
lea eax, [esp + 0x7c]
push 0x677d28
push eax
call fcn.0049a854
add esp, 8
test eax, eax
je 0x42a242
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 0x42a1d2
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.004aaca4
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 0x42aa90
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 0x42aaf2
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 0x42ab00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b62bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6871a8]
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 0x42ac38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42ab66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aaca4
xor eax, eax
jmp 0x42acaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aade1
push esi
lea ecx, [esp + 0xc]
call fcn.004ab070
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 0x42ac8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042aa90
test eax, eax
jne 0x42ac8d
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.0042aa90
test eax, eax
jne 0x42ac8d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0049b9a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ac6c
lea ecx, [esp + 0x14]
push 0x677d3c
push ecx
call fcn.0049b920
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ac6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ac6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aad91
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ab7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aaca4
xor eax, eax
jmp 0x42acaf
mov byte [esi], 0
push 0x677d38
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.004aaca4
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 0x43c2a0
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 0x43c30e
cmp si, 0x69
ja 0x43c30e
add esi, 0xffd0
cmp si, 0x11
je 0x43c2de
push 0x11
call edi
test ax, ax
jge 0x43c2de
or esi, 0x2000
cmp si, 0x10
je 0x43c2f3
push 0x10
call edi
test ax, ax
jge 0x43c2f3
or esi, 0x4000
cmp si, 0x12
je 0x43c308
push 0x12
call edi
test ax, ax
jge 0x43c308
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43c31b
mov esi, 0xbd
jmp 0x43c2cf
cmp si, 0x6e
jne 0x43c328
mov esi, 0xbe
jmp 0x43c2cf
cmp si, 0x6f
jne 0x43c2c9
mov esi, 0xbf
jmp 0x43c2cf

Function at 0x43df50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6979b0]
xor edx, edx
cmp eax, edx
jne 0x43df76
xor eax, eax
mov byte [eax + 0x6978b0], al
inc eax
cmp eax, 0x100
jl 0x43df5e
mov dword [0x6979b0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6978b0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43e007
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 0x43dfda
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 0x43dfa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43e080
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 0x43e0d3
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 0x43e0ba
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 0x445560
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 0x4456f8
cmp ebp, ebx
jle 0x4456f8
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 0x4455be
dec eax
or eax, 0xfffffff8
inc eax
je 0x4455c5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4455d4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4455db
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004aa9e5
add esp, 4
cmp eax, ebx
je 0x4455fc
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.004aa9e5
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 0x4456ee
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 0x4456d5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4456c1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4456b6
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 0x4456c4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4456c4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x445660
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 0x445651
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