joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4068
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x5e1e50
call fcn.005496a0
mov word [ebp - 0x1c], 8
mov edx, 0x5e23b8
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov word [ebp - 0x1c], 0x14
lea eax, [ebp - 8]
push eax
call fcn.004c41a8
pop ecx
inc dword [ebp - 0x10]
push eax
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
call fcn.004c416c
add esp, 8
add dword [ebp - 0x10], 4
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x4c], ecx
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Syncobjs_TCriticalSection_]
call sub.rtl60.bpl__Syncobjs_TCriticalSection__bctr_qqrv
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x40], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 1
push dword [ebp + 8]
call fcn.004c45f4
pop ecx
dec dword [ebp - 0x10]
push 2
lea edx, [ebp - 8]
push edx
call fcn.004c4150
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4c4244
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov eax, 0x5e1e90
call fcn.005496a0
mov word [ebp - 0x1c], 8
mov edx, 0x5e23b8
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov word [ebp - 0x1c], 0x14
lea eax, [ebp - 8]
push eax
call fcn.004c41a8
pop ecx
inc dword [ebp - 0x10]
push eax
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
call fcn.004c416c
add esp, 8
add dword [ebp - 0x10], 4
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x4c], ecx
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Syncobjs_TCriticalSection_]
call sub.rtl60.bpl__Syncobjs_TCriticalSection__bctr_qqrv
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x40], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], 1
push dword [ebp + 8]
call fcn.004c45f4
pop ecx
mov dword [ebp - 0x30], 0x10
mov word [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x44]
push edx
push dword [ebp + 0xc]
call sub.wsock32.dll_getsockname
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4c4344
mov cx, word [ebp - 0x42]
push ecx
call sub.wsock32.dll_htons_1
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], eax
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 8]
push ecx
call fcn.004c4150
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4c45f4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd58
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx]
lea ecx, [ebp - 0x1a8]
push ecx
push 2
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x4c4634
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 8]
jmp 0x4c4727
push 0xff
lea edx, [ebp - 0x2a8]
push edx
call sub.wsock32.dll_gethostname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4c4661
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4c4727
lea edx, [ebp - 0x2a8]
push edx
call sub.cc3260mt.dll__strlen
pop ecx
inc eax
push eax
call sub.cc3260mt.dll___bnwa_qui
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
lea eax, [ebp - 0x2a8]
push eax
mov edx, dword [ebp + 8]
push dword [edx + 0x2c]
call sub.cc3260mt.dll__strcpy
add esp, 8
lea ecx, [ebp - 0x2a8]
push ecx
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4c46b6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4c4727
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x4c470b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
push dword [ecx]
call sub.wsock32.dll_inet_ntoa
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call sub.cc3260mt.dll__strlen
pop ecx
inc eax
push eax
call sub.cc3260mt.dll___bnwa_qui
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call sub.cc3260mt.dll__strcpy
add esp, 8
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
call fcn.004c472c
add esp, 8
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x18]
cmp dword [eax + edx*4], 0
jne 0x4c46bd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4c477c
Capabilities:
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x4c47b2
push 0xb7
call sub.wsock32.dll_WSASetLastError
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4c48be
cmp dword [ebp + 0x10], 0
jge 0x4c47cb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4c48be
cmp dword [ebp + 0xc], 0
je 0x4c4824
push dword [ebp + 0xc]
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4c482e
push dword [ebp + 0xc]
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c4806
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4c48be
mov edx, dword [ebp - 8]
movsx ecx, word [edx + 0xa]
push ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
push dword [edx]
lea ecx, [ebp - 0x14]
push ecx
call sub.cc3260mt.dll__memcpy
add esp, 0xc
jmp 0x4c482e
push 0
call sub.wsock32.dll_htonl
mov dword [ebp - 0x14], eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0xffffffff
jne 0x4c485b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
jmp 0x4c48be
mov word [ebp - 0x18], 2
mov dx, word [ebp + 0x10]
push edx
call sub.wsock32.dll_htons
mov word [ebp - 0x16], ax
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
call sub.wsock32.dll_bind
inc eax
jne 0x4c489e
mov edx, dword [ebp + 8]
push dword [edx + 0xc]
call sub.wsock32.dll_closesocket
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4c48be
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4c4c44
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
call sub.wsock32.dll_recv
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
call sub.wsock32.dll_send
pop ebp
ret

Function at 0x4c4ce0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx]
xor ecx, ecx
mov cl, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x48]
jne 0x4c4d0f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, 1
jmp 0x4c4d84
mov edx, dword [ebp + 8]
cmp dword [edx + 0x48], 0
je 0x4c4d36
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [ebp - 8]
push eax
push 0x8004667e
mov edx, dword [ebp + 8]
push dword [edx + 0xc]
call sub.wsock32.dll_ioctlsocket
mov dword [ebp - 4], eax
jmp 0x4c4d54
mov dword [ebp - 8], 1
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
call sub.wsock32.dll_ioctlsocket
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4c4d77
xor edx, edx
mov dl, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, 1
jmp 0x4c4d84
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x4ccaac
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov byte [ebp - 8], dl
test dl, dl
jle 0x4ccabe
call fcn.0054c350
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x5e3cd0
call fcn.005496a0
mov word [ebp - 0x18], 8
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Classes_TThread__bctr_qqro
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xf], 1
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x4ccb1d
call fcn.0054c35d
mov esp, ebp
pop ebp
ret 8
Function at 0x4ff108
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov byte [ebp - 0x20], dl
test dl, dl
jle 0x4ff11a
call fcn.0054c350
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x41], dl
mov dword [ebp - 4], eax
mov eax, 0x5f3dac
call fcn.005496a0
mov word [ebp - 0x30], 8
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Classes_TComponent__bctr_qqrp18Classes_TComponent
add dword [ebp - 0x24], 4
mov word [ebp - 0x30], 0x14
lea edx, [ebp - 0xc]
push edx
call fcn.004ff33c
pop ecx
inc dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x38
push ecx
call fcn.004ff300
add esp, 8
add dword [ebp - 0x24], 4
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00401fbc
inc dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00401fbc
inc dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.00401fbc
inc dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.00401fbc
inc dword [ebp - 0x24]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Syncobjs_TCriticalSection_]
call sub.rtl60.bpl__Syncobjs_TCriticalSection__bctr_qqrv
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.vcl60.bpl__Extctrls_TTimer_]
call sub.vcl60.bpl__Extctrls_TTimer__bctr_qqrp18Classes_TComponent
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov edx, 0x2bf20
call sub.vcl60.bpl__Extctrls_TTimer_SetInterval_qqrui
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x50]
mov dl, 1
call sub.vcl60.bpl__Extctrls_TTimer_SetEnabled_qqro
mov word [ebp - 0x30], 0x20
mov edx, 0x5e74a3
lea eax, [ebp - 0x10]
call fcn.005499e4
inc dword [ebp - 0x24]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00549c38
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x30], 0x2c
mov edx, 0x5e74a4
lea eax, [ebp - 0x14]
call fcn.005499e4
inc dword [ebp - 0x24]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00549c38
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x30], 0x38
mov edx, 0x5e74a5
lea eax, [ebp - 0x18]
call fcn.005499e4
inc dword [ebp - 0x24]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.00549c38
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x30], 0x44
mov edx, 0x5e74a6
lea eax, [ebp - 0x1c]
call fcn.005499e4
inc dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.00549c38
dec dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x24]
push 2
lea ecx, [ebp - 0xc]
push ecx
call fcn.004ff2e4
add esp, 8
mov eax, dword [ebp - 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x41], 0
je 0x4ff2de
call fcn.0054c35d
mov esp, ebp
pop ebp
ret
Function at 0x54ba40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea edx, [ebp - 0x208]
push edx
call sub.user32.dll_wvsprintfA
cmp eax, 0x208
jl 0x54ba84
push 0x10e
push 0x6048e5
push 0x6048ca
call fcn.0054a894
add esp, 0xc
cmp eax, 2
jne 0x54ba84
call sub.kernel32.dll_DebugBreak
lea ecx, [ebp - 0x208]
push ecx
call sub.kernel32.dll_OutputDebugStringA
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4efa60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4942c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c150c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], 0x497d7c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xa
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x497e48
mov byte [esp + 0x48], 2
call fcn.004ad7f0
mov eax, dword [esp + 0x50]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov byte [esp + 0x4c], 3
call fcn.004ac040
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.004ee220
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x1c]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov edi, esp
push eax
call fcn.004ac040
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004ee5f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], al
mov byte [esp + 0x3c], 1
mov dword [esp + 0x18], 0x497d7c
call fcn.004b4540
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4efb65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4efb8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 0xc
Function at 0x412d30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e14b
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.00462b56
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412db2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460a6d
mov eax, dword [eax]
push 0x4a21e4
push eax
call fcn.004538f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462de1
test bl, bl
je 0x412db2
push 0x4a21e4
lea ecx, [esp + 0xc]
call fcn.00463171
push 0x4a5d5c
lea ecx, [esp + 0xc]
call fcn.00463171
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 0x412dee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00462de1
jmp 0x412eb9
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 0x412e72
lea edx, [esp + 0x7c]
push 0x4a5d58
push edx
call fcn.004538f4
add esp, 8
test eax, eax
je 0x412e72
lea eax, [esp + 0x7c]
push 0x4a5d54
push eax
call fcn.004538f4
add esp, 8
test eax, eax
je 0x412e72
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 0x412e02
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.00462de1
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 0x4136b0
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 0x413712
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 0x413720
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e1cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ac270]
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 0x413858
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413786
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462de1
xor eax, eax
jmp 0x4138cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462f1e
push esi
lea ecx, [esp + 0xc]
call fcn.004631ad
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 0x4138ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004136b0
test eax, eax
jne 0x4138ad
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 accept
mov ecx, edi
call fcn.004136b0
test eax, eax
jne 0x4138ad
lea eax, [esp + 0x14]
push 0x4a5d70
push eax
call fcn.00454930
mov esi, eax
add esp, 8
test esi, esi
jne 0x41388c
lea ecx, [esp + 0x14]
push 0x4a5d6c
push ecx
call fcn.004548b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41388c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41388f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462ece
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41379e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462de1
xor eax, eax
jmp 0x4138cf
mov byte [esi], 0
push 0x4a5d68
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.00462de1
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