joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c730
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c8d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40be34]
call fcn.00402cd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403928
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43c8ab
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042cb1c
test al, al
je 0x43c89e
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x43c8e4
lea eax, [ebp - 0x254]
call fcn.0040833c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43c89e
xor eax, eax
push ebp
push 0x43c897
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43c91c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43c880
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b54
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43c880
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c89e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43c7a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040ed28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c8dc
lea eax, [ebp - 0x260]
call fcn.00403928
ret

Function at 0x43d078
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4487a8]
cmp byte [eax + 0x8d], 0
jne 0x43d0e9
cmp dword [0x4487e4], 0
jne 0x43d0aa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43d034
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4487e4], eax
cmp dword [0x4487e0], 0
jne 0x43d0c5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4487e0], eax
cmp dword [0x4487e8], 0
jne 0x43d0e9
push esp
push 0
push 0
push 0x43cfd8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4487e8], eax
pop edx
ret
Function at 0x43d1e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43d1f7
add esp, 0xfffffff0
call fcn.00402ff0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411edc
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40bb34]
call fcn.00402cd4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40bb34]
call fcn.00402cd4
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x413c68]
call fcn.0041ab7c
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x43d368
mov eax, dword [0x447b58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041af20
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43eca4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x447b58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.00409664
test eax, eax
je 0x43d2e7
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407cc4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040968c
test eax, eax
je 0x43d2fb
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403b54
mov eax, dword [0x447a68]
cmp byte [eax], 0
jne 0x43d32c
mov eax, ebx
call fcn.0043d454
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43d35e
call fcn.00403048
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d6b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4487a8]
cmp dword [eax + 0x24], 0
je 0x43d740
cmp dword [ebx + 0x7c], 0
jne 0x43d73d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43d644
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x43d73d
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 0x43d70c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43d73d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040d1b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43d718
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43e090
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x43e0c5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a0c
jmp 0x43e0cf
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.004039c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43efd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43f00c
mov eax, esi
call fcn.004288e4
test al, al
je 0x43f00c
mov eax, dword [ebx + 0x6c]
call fcn.004284bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f00c
push 0
mov eax, dword [ebx + 0x6c]
call fcn.004284bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4420ac
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44214d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44883c
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x442132
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00408480
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x442160
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
lea edx, [ebp - 0x24]
mov eax, dword [0x447ce8]
call fcn.00404fc8
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x441540]
call fcn.00408ca8
call fcn.0040339c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442154
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040394c
ret

Function at 0x44257c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x4425f8]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x4425ae
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.004425fc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x4425f8]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x4425f1
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret
Function at 0x442634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403d68
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.00402a1c
cmp dword [ebp - 0x10], 0
je 0x4426a3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44293d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x442837
lea edx, [ebp - 0x20]
mov eax, dword [0x447da4]
call fcn.00404fc8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x441540]
call fcn.00408c6c
call fcn.0040339c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x442872
lea edx, [ebp - 0x20]
mov eax, dword [0x447c10]
call fcn.00404fc8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x441540]
call fcn.00408c6c
call fcn.0040339c
xor eax, eax
push ebp
push 0x44290a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00442700
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_bind
mov edx, 0x442958
call fcn.00441fcc
mov eax, dword [ebp - 4]
call fcn.0044257c
cmp dword [ebp + 8], 5
jle 0x4428ce
mov dword [ebp + 8], 5
mov cl, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00402ee0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_listen
mov edx, 0x442968
call fcn.00441fcc
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442927
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442944
lea eax, [ebp - 0x20]
call fcn.00403928
ret
Function at 0x442b4c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044237c
xor eax, eax
push ebp
push 0x442cbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x442ca5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x442b96
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x442ba0
call fcn.0040343c
jmp 0x442cc2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ed80
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x442c9a
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x442c53
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x442c43
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402ee0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00442b04
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x442ccc]
cmp dl, byte [eax + 0x28]
je 0x442ca1
call fcn.00408c10
jmp 0x442ca1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0040ed90
jmp 0x442ca1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x442c71
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ed90
jmp 0x442ba0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ed80
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ed9c
cmp ebx, eax
jne 0x442ba0
push ebp
call fcn.00442b04
pop ecx
jmp 0x442ca1
push ebp
call fcn.00442b04
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442cc2
mov eax, dword [ebp - 4]
call fcn.00442394
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442cd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442e0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044237c
xor eax, eax
push ebp
push 0x442de9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x442d24
call fcn.0040343c
jmp 0x442df0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x442dd3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x442dd3
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402ee0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x442dd3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00408480
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x442e24
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
lea edx, [ebp - 0x34]
mov eax, dword [0x447ce8]
call fcn.00404fc8
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x441540]
call fcn.00408ca8
call fcn.0040339c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442df0
mov eax, dword [ebp - 4]
call fcn.00442394
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442e12
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040394c
ret
Function at 0x442e9c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443000
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044237c
xor eax, eax
push ebp
push 0x442fde
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x442f06
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x442f06
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x442fc8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x442f19
call fcn.0040343c
jmp 0x442fe5
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x442fc8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x442fc8
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402ee0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x442fc8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00408480
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x443018
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
lea edx, [ebp - 0x34]
mov eax, dword [0x447ce8]
call fcn.00404fc8
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x441540]
call fcn.00408ca8
call fcn.0040339c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442fe5
mov eax, dword [ebp - 4]
call fcn.00442394
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443007
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040394c
ret
Function at 0x445310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403d58
mov eax, dword [ebp - 8]
call fcn.00403d58
mov eax, dword [ebp - 0xc]
call fcn.00403d58
xor eax, eax
push ebp
push 0x4453df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4453f8
call fcn.00403bac
lea eax, [ebp - 8]
mov edx, 0x4453f8
call fcn.00403bac
lea eax, [ebp - 0xc]
mov edx, 0x4453f8
call fcn.00403bac
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00403d74
push eax
lea eax, [ebp - 8]
call fcn.00403d74
push eax
lea eax, [ebp - 4]
call fcn.00403d74
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x4453c4
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x445404
call fcn.00403bf0
mov eax, dword [ebp - 0x10]
mov cx, word [0x445418]
mov dl, 1
call fcn.00440d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4453e6
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040394c
ret

Function at 0x406d14
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004069d4
Function at 0x4043b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x20c
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push 0x100
push eax
push ecx
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x120]
push 0x100
push ecx
push 0x40a828
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp]
mov edx, eax
mov ecx, eax
and edx, 0xff
push edx
xor edx, edx
shr ecx, 4
mov dl, ah
and ecx, 0xff
shr eax, 0xc
push ecx
and eax, 0xff
push edx
push eax
mov eax, dword [esp + 0x220]
push str._02.2X___02.2X___02.2X___02.2X_
push eax
call sub.MFC42.DLL_CString::Format
mov al, 1
add esp, 0x224
ret 4
Function at 0x4059f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40744f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00406994
push 0x40ae74
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x40ad08]
mov byte [esp + 0x24], 2
mov eax, dword [eax - 8]
lea esi, [eax - 1]
test esi, esi
jl 0x405a61
mov ecx, dword [0x40ad08]
mov dl, 0xa4
mov al, byte [ecx + esi]
lea ecx, [esp + 8]
sub dl, al
push edx
call sub.MFC42.DLL_CString::operator_1
sub esi, 2
jns 0x405a45
push 0x40aa20
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x30]
push 0x2e
mov ecx, esi
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov esi, eax
push 2
lea ecx, [esp + 0x14]
push 2
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::Mid_1
mov edi, eax
push 1
lea edx, [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::Mid_1
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
push 0x40ab6c
lea ecx, [esp + 0x1c]
push str._s_swin_s_s.exe
push ecx
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8