joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f484
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f49b
add esp, 0xfffffff0
call fcn.004034b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a85c
mov eax, dword [0x46cd3c]
cmp word [eax + 2], 0
jne 0x45f4c3
mov eax, dword [0x46cd3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460b74
mov eax, dword [0x46ce00]
cmp word [eax + 2], 0
jne 0x45f4dd
mov eax, dword [0x46ce00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460d6c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411b04]
call fcn.0040315c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411b04]
call fcn.0040315c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41cdd0]
call fcn.004241bc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f664
mov eax, dword [0x46cc58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042458c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46130c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46cc58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c508
test eax, eax
je 0x45f5d2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408788
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c530
test eax, eax
je 0x45f5e6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041d0
mov eax, dword [0x46cb38]
cmp byte [eax], 0
jne 0x45f61a
mov eax, ebx
call fcn.0045f78c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004614e8
mov eax, ebx
call fcn.00461eac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f65a
call fcn.00403508
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fa0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46dbe8]
cmp dword [eax + 0x30], 0
je 0x45fab6
cmp dword [ebx + 0x94], 0
jne 0x45fab0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f99c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fab0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45fa76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fab0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004140dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fa85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460618
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46064d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404050
jmp 0x46065a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4616c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461705
mov eax, esi
call fcn.00447e14
test al, al
je 0x461705
mov eax, dword [ebx + 0x84]
call fcn.00447b10
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461705
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447b10
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x462578
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x462625
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 4], eax
mov dl, 1
mov eax, dword [0x41239c]
call fcn.0040315c
mov esi, eax
mov dword [ebx + 0xc], esi
mov eax, dword [ebx + 8]
cdq
push edx
push eax
mov eax, esi
call fcn.00416548
mov esi, dword [ebx + 0xc]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, esi
call fcn.004164e4
lea eax, [ebp - 4]
mov edx, 0x46263c
call fcn.00403ff8
mov eax, dword [ebp - 4]
call fcn.00404420
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46262c
lea eax, [ebp - 4]
call fcn.00403f60
ret
Function at 0x4626c4
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
fild qword [ebp - 0x28]
fmul qword [ebp + 8]
call fcn.00402968
push eax
push 0
push 0x400
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
fmul qword [ebp + 8]
call fcn.00402968
call fcn.00404e00
pop edx
xchg edx, eax
sub eax, edx
cmp eax, 0x10000
jge 0x462723
mov eax, 0x10000
mov esp, ebp
pop ebp
ret 8

Function at 0x46272c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403f60
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.kernel32.dll_GetTempPathA
mov ebx, eax
mov eax, ebx
call fcn.0040cd20
mov eax, ebx
call fcn.00407bc8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4627ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
call fcn.0040cd20
mov eax, pe_nt_image_headers32
call fcn.00407bc8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4627e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x46282c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
call fcn.0040cd20
mov eax, dword [ebp - 0xc]
call fcn.0040874c
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4627e9
mov eax, dword [ebp - 8]
call fcn.00402704
ret
Function at 0x46399c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463ae4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x463afc
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00464aa8
mov eax, dword [ebp - 4]
call fcn.004644a4
xor edx, edx
push ebp
push 0x463ac7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10098], 0
jne 0x463a66
test si, si
jne 0x463a0c
mov eax, dword [ebp - 8]
call fcn.0040874c
mov esi, eax
cmp esi, 0xffff
jbe 0x463a0c
call fcn.004030cc
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10110]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x463a66
cmp eax, 0xffffffff
jle 0x463a3b
sub ebx, eax
jmp 0x463a4a
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004649dc
test ebx, ebx
je 0x463a66
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10098], 0
jne 0x463a66
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100bd], 0
je 0x463a0f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10098], 0
je 0x463ab1
mov eax, dword [ebp - 4]
mov byte [eax + 0x10098], 0
mov ecx, 0x463b14
mov dl, 1
mov eax, dword [0x462a8c]
call fcn.0040b6c0
call fcn.00403918
mov eax, dword [ebp - 4]
cmp word [eax + 0x1010a], 0
je 0x463ab1
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1010c]
call dword [ebx + 0x10108]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463ace
mov eax, dword [ebp - 4]
call fcn.00464508
ret
Function at 0x463f90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46413b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x464150
mov dl, 8
mov eax, ebx
call fcn.00464aa8
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004164e4
cmp byte [ebx + 0x10098], 0
jne 0x4640e7
xor eax, eax
mov dword [ebx + 0x10094], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x463ff4
call fcn.004030cc
mov dword [ebx + 0x100c4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004164c4
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x464022
call fcn.004030cc
cmp eax, 0x10000
jle 0x46402e
mov eax, 0x10000
lea edx, [ebx + 0x30]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x464055
call fcn.004030cc
lea eax, [ebx + eax + 0x30]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x464125
test eax, eax
jle 0x464095
sub esi, eax
add dword [ebx + 0x10094], eax
cmp word [ebx + 0x100da], 0
je 0x4640a3
mov edx, ebx
mov eax, dword [ebx + 0x100dc]
call dword [ebx + 0x100d8]
jmp 0x4640a3
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.004649dc
mov eax, dword [0x46cde0]
mov eax, dword [eax]
call fcn.004608c8
test esi, esi
je 0x4640bc
cmp byte [ebx + 0x10098], 0
je 0x464041
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004164c4
cmp edx, dword [esp + 4]
jne 0x4640d6
cmp eax, dword [esp]
pop edx
pop eax
je 0x4640e7
cmp byte [ebx + 0x10098], 0
je 0x463ffa
cmp byte [ebx + 0x10098], 0
je 0x464125
mov byte [ebx + 0x10098], 0
mov ecx, 0x464164
mov dl, 1
mov eax, dword [0x462a8c]
call fcn.0040b6c0
call fcn.00403918
cmp word [ebx + 0x1010a], 0
je 0x464125
mov edx, ebx
mov eax, dword [ebx + 0x1010c]
call dword [ebx + 0x10108]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464142
lea eax, [ebp - 0xc]
call fcn.00403f60
ret
Function at 0x46453c
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464645
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46465c
mov dl, 8
mov eax, ebx
call fcn.00464aa8
test byte [ebx + 0x1c], 0x10
setne al
xor al, 1
and al, byte [0x46dc18]
je 0x46462f
xor eax, eax
push ebp
push 0x46460f
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4645a5
call fcn.004030cc
mov word [ebx + 0x10110], si
mov word [ebp - 4], 0
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xff7f
movzx eax, si
push eax
call sub.wsock32.dll_setsockopt
cmp word [ebx + 0x10110], 0xffff
jne 0x4645ea
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.004649dc
push 0x3f
push 0x465
mov eax, dword [ebx + 0x10114]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46462f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46464c
lea eax, [ebp - 8]
call fcn.00403f60
ret

Function at 0x464928
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov ecx, 0x4649c4
mov dl, 4
mov eax, ebx
call fcn.00464aa8
mov byte [ebx + 0x10118], 0
mov ax, word [ebx + 0x10110]
cmp ax, 0xffff
je 0x4649b6
movzx eax, ax
push eax
call sub.wsock32.dll_closesocket
test byte [ebx + 0x1c], 8
jne 0x464975
cmp word [ebx + 0x1005a], 0
je 0x464975
mov edx, ebx
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
cmp byte [ebx + 0x10099], 0
jne 0x4649b6
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x464998
call fcn.004030cc
mov word [ebx + 0x10110], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10114]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
pop esi
pop ebx
ret
Function at 0x464b50
Capabilities:
Receive data
Receive data on socket

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]
mov eax, dword [eax + 0x100b8]
cmp dword [eax + 4], 0
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x464c14
push 2
push 1
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10110]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x464ba1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.004648d4
jmp 0x464c14
test eax, eax
jne 0x464c14
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x464bdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10118], 0
je 0x464bd3
mov eax, dword [ebp - 4]
call fcn.00464c20
mov eax, dword [ebp - 4]
call fcn.00464928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464be7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10034]
call fcn.00426e20
mov eax, dword [ebp - 4]
cmp word [eax + 0x1005a], 0
je 0x464c14
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x464c20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x464c27
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x464c74
mov dl, 8
mov eax, ebx
call fcn.00464aa8
push 0
push 0x10000
lea eax, [esp + 8]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_recv
add esp, 0x10004
pop ebx
ret
Function at 0x402f90
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x24], 0
mov ecx, 0x403180
sub ecx, 0x403150
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1c]
add edx, 0x20f
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x403003
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0x40
push 0x101000
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x403028
jmp 0x403147
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x40618c
call sub.msvcrt.dll_printf
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x403057
mov ecx, 0x403170
sub ecx, 0x403150
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x4061a8
call sub.msvcrt.dll_printf
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
test eax, eax
jne 0x40308d
jmp 0x403145
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x403150
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_WriteProcessMemory]
test eax, eax
jne 0x4030b1
jmp 0x403143
mov edx, dword [ebp - 0x1c]
add edx, 4
and edx, 0xfffffffc
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0xc]
push edx
push 0x20c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_WriteProcessMemory]
test eax, eax
jne 0x4030e7
jmp 0x403141
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x10000
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403111
jmp 0x40313f
cmp dword [ebp + 0x10], 0
je 0x403123
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], 1
cmp dword [ebp - 8], 0
je 0x40313a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
jmp 0x403149
jmp 0x40312a
jmp 0x40312a
jmp 0x40312a
jmp 0x40312a
jmp 0x40312a
mov esp, ebp
pop ebp
ret
Function at 0x4031b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
or al, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x34], 0
jne 0x4031cd
mov ecx, dword [sym.imp.kernel32.dll_CreateProcessA]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x403200
xor eax, eax
jmp 0x403278
cmp dword [ebp + 0x30], 0
je 0x40321a
mov eax, dword [ebp + 0x30]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x403221
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x30]
push edx
call fcn.00403190
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00403280
add esp, 0x14
test eax, eax
jne 0x403247
xor eax, eax
jmp 0x403278
cmp dword [ebp + 0x2c], 0
je 0x40325f
push 0x10
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x2c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
and ecx, 4
test ecx, ecx
jne 0x403273
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x40b61b
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040b69a
jae 0x40b627
xor ecx, ecx
call fcn.0040b69a
jae 0x40b651
xor eax, eax
call fcn.0040b69a
jae 0x40b662
mov al, 0x10
call fcn.0040b69a
adc al, al
jae 0x40b643
jne 0x40b68f
stosb byte es:[edi], al
jmp 0x40b628
call fcn.0040b6a6
dec ecx
loop 0x40b66e
mov eax, ebp
call fcn.0040b6a4
jmp 0x40b690
lodsb al, byte [esi]
shr eax, 1
je 0x40b6b6
adc ecx, 2
mov ebp, eax
jmp 0x40b690
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040b6a4
cmp eax, 0x7d00
jae 0x40b68e
cmp eax, 0x500
jae 0x40b68f
cmp eax, 0x7f
ja 0x40b690
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40b628
pop ebp
ret 8

Function at 0x41260e
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0041268d
jae 0x41261a
xor ecx, ecx
call fcn.0041268d
jae 0x412644
xor eax, eax
call fcn.0041268d
jae 0x412655
mov al, 0x10
call fcn.0041268d
adc al, al
jae 0x412636
jne 0x412682
stosb byte es:[edi], al
jmp 0x41261b
call fcn.00412699
dec ecx
loop 0x412661
mov eax, ebp
call fcn.00412697
jmp 0x412683
lodsb al, byte [esi]
shr eax, 1
je 0x4126a9
adc ecx, 2
mov ebp, eax
jmp 0x412683
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00412697
cmp eax, 0x7d00
jae 0x412681
cmp eax, 0x500
jae 0x412682
cmp eax, 0x7f
ja 0x412683
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41261b
pop ebp
ret 8
Function at 0x425b84
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x14], 1
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x44], 0
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x64616f4c
mov dword [ebp - 0x3c], 0x6f736552
mov dword [ebp - 0x38], 0x65637275
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x40]
push eax
push 0x4092f0
call dword [0x409104]
push eax
call dword [0x4090f4]
mov dword [ebp - 8], eax
push 0x409300
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [0x4090c8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [0x4090e8]
mov dword [ebp - 4], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
call dword [0x4090fc]
cmp dword [ebp + 0x10], 0x65
jne 0x425c2a
mov dword [ebp - 0x1c], 0x843
cmp dword [ebp + 0x10], 0x66
jne 0x425c37
mov dword [ebp - 0x1c], 0x976
push dword [ebp - 4]
call fcn.0042d4e5
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x44]
push dword [ebp - 0x10]
call fcn.0042d4d3
add esp, 0xc
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.00425697
push 0
push dword [ebp + 0x14]
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [0x4090c4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x425c94
and dword [ebp - 0x14], 0
jmp 0x425ca9
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [0x4090e0]
cmp dword [ebp - 0x10], 0
je 0x425cbe
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.0042d4df
pop ecx
cmp dword [ebp - 0x44], 0
je 0x425ccd
push dword [ebp - 0x44]
call dword [0x4090cc]
cmp dword [ebp - 0x18], 0xffffffff
je 0x425cdc
push dword [ebp - 0x18]
call dword [0x409110]
mov eax, dword [ebp - 0x14]
leave
ret 0x10