joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423db0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f658
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5b7de4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], vtable.Utilities::ParameterStreamBinary.0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.005189be
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov dword [ebp - 4], 2
call dword [eax]
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0
je 0x423edc
push dword [ebp - 0x3c]
call fcn.00544ae6
mov esi, dword [ebp - 0x44]
mov ebx, eax
add esp, 4
mov edi, ebx
push dword [esi + 4]
push dword [esi]
push edi
call fcn.0052ffe0
add edi, dword [esi + 4]
add esp, 0xc
mov esi, dword [esi + 8]
test esi, esi
jne 0x423e92
test ebx, ebx
je 0x423edc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x423edc
push eax
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x5b71d0
mov dword [ebp - 0x14], 0xffffffff
call fcn.0042c550
mov eax, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x10], eax
call fcn.00544ae1
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.00410960
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
jle 0x42c580
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [edi + 4]
movzx eax, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [ebx + eax*4]
mov dword [edi], ecx
sub esi, 1
jne 0x42c565
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x433010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560658
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5b7de4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.005189be
mov edi, eax
add esp, 4
test edi, edi
je 0x4330ad
push 1
mov dword [ebp - 4], 0
call fcn.00504296
add esp, 4
mov dword [edi + 4], eax
jmp 0x4330af
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0040b420
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x433111
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x433111
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x433134
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x433157
cmp byte [ebp + 0xc], 0
je 0x433143
push esi
call fcn.00505283
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x433163
mov esi, str.ios_base::badbit_set
jmp 0x433173
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0040d790
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040b950
push 0x5a04cc
lea eax, [ebp - 0x30]
push eax
call fcn.00531020
int3
Function at 0x4353d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5608d4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b7de4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00436340
lea ecx, [ebx + 0x154]
mov dword [ebp - 4], 0
call fcn.00454180
lea edi, [ebx + 0x17c]
mov dword [edi], vtable.Utilities::SimpleThread.0
mov dword [edi + 4], 2
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea esi, [ebx + 0x194]
mov dword [ebx], vtable.AppSocket.0
mov dword [ebx + method.AppSocket.1.virtual_0], vtable.AppSocket.1.0
mov dword [edi], vtable.AppSocket.2.0
push 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.005189be
mov dword [esi], eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], ecx
add esp, 4
mov dword [ebp - 0x18], edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
mov dword [ebx + 0x1c8], 3
mov dword [ebx + 0x1d8], 1
mov dword [ebx + 0x1dc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x1cc], eax
cmp dword [edi + 4], 2
jne 0x435524
lea eax, [edi + 0xc]
mov dword [edi + 0x10], 1
push eax
push 0
push edi
push 0x418e00
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
mov eax, ebx
je 0x435526
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435590
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
push dword [ebx + 0x1cc]
mov dword [ebx], vtable.AppSocket.0
mov dword [ebx + method.AppSocket.1.virtual_0], vtable.AppSocket.1.0
mov dword [ebx + method.AppSocket.2.virtual_0], vtable.AppSocket.2.0
mov dword [ebx + 0x1dc], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push dword [ebx + 0x184]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0x102
jne 0x43561f
push 1
push dword [ebx + 0x184]
mov dword [ebx + 0x18c], 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x43561f
push dword [ebx + 0x184]
mov dword [ebx + 0x180], 2
call esi
mov dword [ebx + 0x184], 0
push dword [ebx + 0x1cc]
call esi
lea edi, [ebx + 0x194]
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x10], 0
je 0x4356a7
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jne 0x43564a
xor edx, edx
jmp 0x43564c
mov edx, dword [eax]
mov eax, dword [edx + 8]
dec eax
shr ecx, 2
and ecx, eax
mov eax, dword [edx + 4]
mov edx, dword [edi + 0xc]
and edx, 3
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
add dword [edi + 0x10], 0xffffffff
mov dword [ebp - 4], eax
jne 0x435676
mov dword [edi + 0xc], 0
jmp 0x435679
inc dword [edi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
test eax, eax
je 0x435630
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43569a
push ecx
call fcn.00544ae1
mov eax, dword [ebp - 4]
add esp, 4
push 8
push eax
call fcn.005189ee
add esp, 8
jmp 0x435630
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, edi
call fcn.00435540
lea ecx, [ebx + 0x154]
mov dword [ebx + method.Utilities::SimpleThread.virtual_0], vtable.Utilities::SimpleThread.0
call fcn.0043a7c0
mov ecx, ebx
call fcn.004364c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4356e3
Capabilities:
Terminate thread

Disassembly:
sub ecx, 0x17c
jmp fcn.004356f0

Function at 0x435850
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5608f0
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [esi - 0x154]
push 1
mov dword [ebp - 4], 0
call fcn.00436700
movzx eax, word [esi - 0x14c]
mov ecx, 2
push eax
mov word [ebp - 0x24], cx
call dword [sym.imp.WSOCK32.dll_htons]
push ebx
mov word [ebp - 0x22], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x20], eax
lea ecx, [esi - 0x154]
lea eax, [ebp - 0x24]
push eax
call fcn.00436670
mov eax, 1
jmp 0x4358dd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 4
Function at 0x4364f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0x13c]
push esi
mov dword [ebp - 0x120], esi
call ebx
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
test eax, eax
je 0x43661f
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
cmp eax, 0xffffffff
je 0x436642
push esi
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 0x118], 0
mov ecx, eax
mov edx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x120], ecx
je 0x4365de
cmp ecx, dword [edi + 0x120]
je 0x4365c0
push 0x3e8
push dword [edi + 0x118]
call edx
cmp eax, 0x102
jne 0x4365c0
push 0
push dword [edi + 0x118]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x118]
call ebx
mov ecx, dword [ebp - 0x120]
mov edx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [edi + 0x118], 0
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x43661f
cmp ecx, dword [edi + 0x124]
je 0x43660d
push 0x3e8
push eax
call edx
cmp eax, 0x102
jne 0x43660d
push 0
push dword [edi + 0x11c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x11c]
call ebx
mov dword [edi + 0x11c], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret
push str.Close
lea ecx, [ebp - 0x11c]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x11c]
push eax
call fcn.00531020
int3

Function at 0x436670
Capabilities:
Connect socket
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
je 0x4366de
lea eax, [esi + 0x124]
push eax
push 0
push esi
push 0x436a60
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x11c], eax
mov ecx, esi
mov eax, dword [esi]
mov dword [esi + 0x128], 0
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005189ad
mov esp, ebp
pop ebp
ret 4
push str.Connect
lea ecx, [ebp - 0x110]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x110]
push eax
call fcn.00531020
int3
Function at 0x436700
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi + 4], eax
pop esi
cmp eax, 0xffffffff
je 0x43675a
push 4
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], 1
push ecx
push 1
push 6
push eax
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 4
push str.Create
lea ecx, [ebp - 0x110]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x110]
push eax
call fcn.00531020
int3

Function at 0x436850
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4368bb
mov eax, dword [eax + 0xc]
push dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, 2
mov word [ebp - 0x120], ax
call dword [sym.imp.WSOCK32.dll_htons]
mov ecx, dword [esi]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 4]
mov word [ebp - 0x11e], ax
xor ecx, ebp
movups xmm0, xmmword [ebp - 0x120]
mov eax, edi
movups xmmword [edi], xmm0
pop edi
pop esi
call fcn.005189ad
mov esp, ebp
pop ebp
ret
push str.GetHostByName
lea ecx, [ebp - 0x110]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x110]
push eax
call fcn.00531020
int3
Function at 0x4368e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0x13c]
push esi
mov dword [ebp - 0x120], esi
call ebx
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
test eax, eax
je 0x436a0f
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
cmp eax, 0xffffffff
je 0x436a34
push esi
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 0x118], 0
mov ecx, eax
mov edx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x120], ecx
je 0x4369ce
cmp ecx, dword [edi + 0x120]
je 0x4369b0
push 0x3e8
push dword [edi + 0x118]
call edx
cmp eax, 0x102
jne 0x4369b0
push 0
push dword [edi + 0x118]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x118]
call ebx
mov ecx, dword [ebp - 0x120]
mov edx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [edi + 0x118], 0
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x436a0f
cmp ecx, dword [edi + 0x124]
je 0x4369fd
push 0x3e8
push eax
call edx
cmp eax, 0x102
jne 0x4369fd
push 0
push dword [edi + 0x11c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x11c]
call ebx
mov dword [edi + 0x11c], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 4
push str.Close
lea ecx, [ebp - 0x11c]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x11c]
push eax
call fcn.00531020
int3
Function at 0x437100
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560b56
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x550], eax
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x54c], eax
mov ebx, edx
mov dword [ebp - 0x554], edx
mov dword [ebp - 4], edi
nop
mov esi, dword [eax + 0x110]
mov eax, dword [eax + 4]
push 0xfc
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push 0
push eax
mov dword [ebp - 0x118], 1
call fcn.00530cf0
add esp, 0xc
mov dword [ebp - 0x55c], esi
lea eax, [ebp - 0x55c]
mov dword [ebp - 0x558], 0
push eax
push 0
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call dword [sym.imp.WSOCK32.dll_select]
test eax, eax
je 0x4372af
mov esi, dword [ebp - 0x550]
lea eax, [ebx + 0x10]
push 1
push eax
push ebx
mov ecx, esi
call fcn.00436db0
mov eax, dword [ebp + 0xc]
push 0
sub eax, edi
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.WSOCK32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
je 0x4372d0
lea eax, [ebp - 0x55c]
push eax
push 0
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
je 0x437312
test eax, eax
je 0x4372f1
mov ebx, dword [ebp - 0x554]
add edi, esi
mov eax, dword [ebp - 0x550]
add ebx, edi
cmp edi, dword [ebp + 0xc]
jl 0x437150
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 8
push str.Send_timeout
lea ecx, [ebp - 0x224]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x224]
push eax
call fcn.00531020
push str.Send
lea ecx, [ebp - 0x330]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x330]
push eax
call fcn.00531020
push str.Send_timeout
lea ecx, [ebp - 0x43c]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x43c]
push eax
call fcn.00531020
push str.Send
lea ecx, [ebp - 0x548]
call fcn.00436450
push 0x5a37a0
lea eax, [ebp - 0x548]
push eax
call fcn.00531020
int3
Function at 0x43a100
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
mov eax, 0x43b230
mov dword [ebp - 4], esi
sub eax, esi
sub eax, 0xa
mov dword [esi + 0x28], 0
push edi
mov dword [esi + 6], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xa
push esi
mov byte [esi], 0xb9
mov dword [esi + 1], esi
mov byte [esi + 5], 0xe9
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xa
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call edi
mov eax, dword [ebp - 4]
add esi, 0xa
mov dword [ebp - 8], 0
mov dword [esi + 1], eax
mov eax, fcn.0043baf0
sub eax, esi
mov byte [esi], 0xb9
sub eax, 0xa
mov byte [esi + 5], 0xe9
mov dword [esi + 6], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xa
push esi
call ebx
push eax
call edi
mov eax, dword [ebp - 4]
lea esi, [eax + 0x14]
mov dword [ebp - 8], 0
mov dword [esi + 1], eax
mov eax, 0x43e640
sub eax, esi
mov byte [esi], 0xb9
sub eax, 0xa
mov byte [esi + 5], 0xe9
mov dword [esi + 6], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xa
push esi
call ebx
push eax
call edi
mov eax, dword [ebp - 4]
lea esi, [eax + 0x1e]
mov dword [ebp - 8], 0
mov dword [esi + 1], eax
mov eax, 0x43d950
sub eax, esi
mov byte [esi], 0xb9
sub eax, 0xa
mov byte [esi + 5], 0xe9
mov dword [esi + 6], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xa
push esi
call ebx
push eax
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ecc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5c875c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x43ecf0
push 0
push 1
push 0x8000
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00530cf0
push dword [esi + 4]
lea eax, [ebp - 0x44]
push 0x5736fc
push 0x3f
push eax
call fcn.004065d0
add esp, 0x1c
cmp dword [esi + 4], 0x2746
jne 0x43ed2f
push 0x57371c
lea eax, [ebp - 0x44]
push 0x3f
push eax
call fcn.004065d0
add esp, 0xc
call fcn.0043e630
lea ecx, [edi + 0x28]
mov eax, dword [eax]
push eax
push 0x2710
push 0x57373c
lea eax, [ebp - 0x44]
push eax
call fcn.00440400
push 0
call fcn.0054699b
int3
Function at 0x4442c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x124], ebx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
mov esi, eax
push 0x40c
push esi
mov dword [ebp - 0x118], esi
call dword [sym.imp.USER32.dll_SendMessageA]
xor cl, cl
mov dword [ebp - 0x128], eax
xor edi, edi
mov byte [ebp - 0x111], cl
test eax, eax
jle 0x4444b4
nop word [eax + eax]
push 0x90
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x120], 0x64
push 0
push eax
mov dword [ebp - 0xac], 0x94
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x44446f
cmp dword [ebp - 0xa8], 6
jb 0x44446f
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
push str.comctl32.dll
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x18], 0x14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x44446f
push str.DllGetVersion
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4443b6
mov esi, 0x80004001
jmp 0x4443be
lea ecx, [ebp - 0x18]
push ecx
call eax
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
js 0x4443ce
mov eax, dword [ebp - 0x14]
jmp 0x4443e0
cmp esi, 0x80004001
je 0x444469
mov eax, dword [ebp - 0x11c]
test esi, esi
mov esi, dword [ebp - 0x118]
js 0x44446f
cmp eax, 6
jb 0x44446f
mov eax, dword [ebp - 0x120]
push 0x5c
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x108]
push 0
push eax
mov dword [ebp - 0x10c], 0x11
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push edi
push 0x41d
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x444445
mov ebx, dword [ebp - 0x124]
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebx + 4]
je 0x444476
inc edi
cmp edi, dword [ebp - 0x128]
jl 0x444320
mov al, byte [ebp - 0x111]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x118]
mov eax, 0x50
jmp 0x4443f9
test dword [ebp - 0x108], 0x200
je 0x444452
push 0
push edi
push 0x42b
push esi
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
call esi
push 0
push 0x28
push 0x100
push dword [ebx + 4]
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005189ad
mov esp, ebp
pop ebp
ret