joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43908c
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 0x439231
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40be50]
call fcn.00402cd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403910
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 0x439207
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.00429494
test al, al
je 0x4391fa
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, 0x439240
lea eax, [ebp - 0x254]
call fcn.004081a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4391fa
xor eax, eax
push ebp
push 0x4391f3
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 0x439278
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4391dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b3c
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 0x4391dc
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4391fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4390fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040ed44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439238
lea eax, [ebp - 0x260]
call fcn.00403910
ret

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

Disassembly:
push ecx
mov eax, dword [0x4437a8]
cmp byte [eax + 0x8d], 0
jne 0x439a45
cmp dword [0x4437e4], 0
jne 0x439a06
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x439990
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4437e4], eax
cmp dword [0x4437e0], 0
jne 0x439a21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4437e0], eax
cmp dword [0x4437e8], 0
jne 0x439a45
push esp
push 0
push 0
push 0x439934
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4437e8], eax
pop edx
ret
Function at 0x439b3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x439b53
add esp, 0xfffffff0
call fcn.00402fd8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411ef8
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40bb50]
call fcn.00402cd4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40bb50]
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 [0x413a28]
call fcn.00419290
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x439cc4
mov eax, dword [0x442b3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00419634
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43b600
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x442b3c]
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.004096ec
test eax, eax
je 0x439c43
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407b28
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00409714
test eax, eax
je 0x439c57
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.00403b3c
mov eax, dword [0x442a58]
cmp byte [eax], 0
jne 0x439c88
mov eax, ebx
call fcn.00439db0
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 0x439cba
call fcn.00403030
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a00c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4437a8]
cmp dword [eax + 0x24], 0
je 0x43a09c
cmp dword [ebx + 0x7c], 0
jne 0x43a099
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x439fa0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x43a099
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 0x43a068
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43a099
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.0040d1d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43a074
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43a9ec
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 0x43aa21
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.004039f4
jmp 0x43aa2b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.004039a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43b930
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43b968
mov eax, esi
call fcn.004253a4
test al, al
je 0x43b968
mov eax, dword [ebx + 0x6c]
call fcn.00424f7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43b968
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00424f7c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43d6ec
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 0x43d78d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x443810
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43d772
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00408594
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, 0x43d7a0
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 [0x442ccc]
call fcn.00404f8c
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x43cb80]
call fcn.00408dbc
call fcn.00403384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d794
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403934
ret

Function at 0x43dbbc
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 [0x43dc38]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x43dbee
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.0043dc3c
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 [0x43dc38]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x43dc31
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 0x43dc74
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.00403d50
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 0x43dce3
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 0x43de28
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 0x43df7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x43de77
lea edx, [ebp - 0x20]
mov eax, dword [0x442d88]
call fcn.00404f8c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43cb80]
call fcn.00408d80
call fcn.00403384
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 0x43deb2
lea edx, [ebp - 0x20]
mov eax, dword [0x442bf8]
call fcn.00404f8c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43cb80]
call fcn.00408d80
call fcn.00403384
xor eax, eax
push ebp
push 0x43df4a
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.0043dd40
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, 0x43df98
call fcn.0043d60c
mov eax, dword [ebp - 4]
call fcn.0043dbbc
cmp dword [ebp + 8], 5
jle 0x43df0e
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, 0x43dfa8
call fcn.0043d60c
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 0x43df67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43df84
lea eax, [ebp - 0x20]
call fcn.00403910
ret
Function at 0x43e18c
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.0043d9bc
xor eax, eax
push ebp
push 0x43e2fb
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 0x43e2e5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x43e1d6
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x43e1e0
call fcn.00403424
jmp 0x43e302
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ed9c
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 0x43e2da
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 0x43e293
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x43e283
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.0043e144
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x43e30c]
cmp dl, byte [eax + 0x28]
je 0x43e2e1
call fcn.00408d24
jmp 0x43e2e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0040edac
jmp 0x43e2e1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x43e2b1
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040edac
jmp 0x43e1e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ed9c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040edb8
cmp ebx, eax
jne 0x43e1e0
push ebp
call fcn.0043e144
pop ecx
jmp 0x43e2e1
push ebp
call fcn.0043e144
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e302
mov eax, dword [ebp - 4]
call fcn.0043d9d4
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e310
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 0x43e44b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043d9bc
xor eax, eax
push ebp
push 0x43e429
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 0x43e364
call fcn.00403424
jmp 0x43e430
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 0x43e413
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x43e413
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 0x43e413
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00408594
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, 0x43e464
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 [0x442ccc]
call fcn.00404f8c
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x43cb80]
call fcn.00408dbc
call fcn.00403384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e430
mov eax, dword [ebp - 4]
call fcn.0043d9d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e452
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403934
ret
Function at 0x43e4dc
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 0x43e640
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043d9bc
xor eax, eax
push ebp
push 0x43e61e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x43e546
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x43e546
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 0x43e608
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x43e559
call fcn.00403424
jmp 0x43e625
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 0x43e608
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x43e608
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 0x43e608
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00408594
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, 0x43e658
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 [0x442ccc]
call fcn.00404f8c
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x43cb80]
call fcn.00408dbc
call fcn.00403384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e625
mov eax, dword [ebp - 4]
call fcn.0043d9d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e647
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403934
ret
Function at 0x100d4c66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ff338]
jne 0x100d4c70
repz ret
jmp fcn.100d6be9

Function at 0x100d9f7f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100d5c66
and dword [ebp - 4], 0
cmp dword [0x101011a8], 0
mov ebx, eax
jne 0x100da030
push 0x100de758
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100da0e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100de74c
push edi
call esi
test eax, eax
je 0x100da0e1
push eax
call fcn.100d5bf4
mov dword [esp], 0x100de73c
push edi
mov dword [0x101011a8], eax
call esi
push eax
call fcn.100d5bf4
mov dword [esp], 0x100de728
push edi
mov dword [0x101011ac], eax
call esi
push eax
call fcn.100d5bf4
mov dword [esp], 0x100de70c
push edi
mov dword [0x101011b0], eax
call esi
push eax
call fcn.100d5bf4
pop ecx
mov dword [0x101011b8], eax
test eax, eax
je 0x100da030
push 0x100de6f4
push edi
call esi
push eax
call fcn.100d5bf4
pop ecx
mov dword [0x101011b4], eax
mov eax, dword [0x101011b4]
cmp eax, ebx
je 0x100da088
cmp dword [0x101011b8], ebx
je 0x100da088
push eax
call fcn.100d5c6f
push dword [0x101011b8]
mov esi, eax
call fcn.100d5c6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100da088
test edi, edi
je 0x100da088
call esi
test eax, eax
je 0x100da07f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100da07f
test byte [ebp - 0xc], 1
jne 0x100da088
or dword [ebp + 0x10], 0x200000
jmp 0x100da0c1
mov eax, dword [0x101011ac]
cmp eax, ebx
je 0x100da0c1
push eax
call fcn.100d5c6f
pop ecx
test eax, eax
je 0x100da0c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100da0c1
mov eax, dword [0x101011b0]
cmp eax, ebx
je 0x100da0c1
push eax
call fcn.100d5c6f
pop ecx
test eax, eax
je 0x100da0c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101011a8]
call fcn.100d5c6f
pop ecx
test eax, eax
je 0x100da0e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100da0e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100daf0a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x100ff2d4]
add eax, 0xfffffdcf
mov dword [0x100ff2d4], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100daf44
jmp 0x100daf6a
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x100daf6a
lea eax, [esp + 0x28]
mov dword [0x100ff2d8], 0xcff
mov dword [esp + 0x1c], eax
call fcn.100db3ea
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x100dafab
jmp 0x100daf3a
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x100daf74
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x100db01c
jmp 0x100daf74
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.100dac57
lea ecx, [0x100dc18e]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], 0x13ea00
mov edx, dword [0x100ff2c0]
mov dword [esp + 0x44], edx
mov edx, dword [0x100ff2c4]
mov dword [esp + 0x3c], edx
mov edx, dword [0x100ff2c8]
mov dword [esp + 0x6c], edx
mov edx, dword [0x100ff2cc]
mov dword [esp + 0x28], edx
mov edx, dword [0x100ff2d0]
mov dword [esp + 0x30], edx
mov dword [0x100ff2d4], 0xfffff70e
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x100daf86
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov dword [0x100ff2d8], 0x2382
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x5c], esi
mov dword [0x100ff2d4], 0x17e8
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100dbbf2
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x100ff2d4]
add ecx, 0xfffff71a
mov dword [0x100ff2d4], ecx
mov dword [esp + 0x20], eax
jmp 0x100daf3a