joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a8b6
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, eax
cmp dword [edi], 0xffffffff
jne 0x45a8dc
mov edi, 0x2719
call fcn.005ebf90
mov dword [esi + 4], eax
xor eax, eax
jmp 0x45a943
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x208]
call fcn.004a1063
xor eax, eax
xor ecx, ecx
cmp word [ebx], 2
mov edi, dword [edi]
setne cl
push eax
push eax
mov dword [ebp + 0xc], eax
dec ecx
and ecx, 0xfffffff4
add ecx, 0x1c
push ecx
push ebx
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
je 0x45a936
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x4d2
jne 0x45a8d0
mov edi, 0x274d
jmp 0x45a8d0
xor edi, edi
call fcn.005ebf90
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], edi
pop edi
pop ebx
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
cmp eax, 0xffffffff
jne 0x45ad2f
push 0x2719
jmp 0x45ad79
and dword [ebp + 8], 0
and dword [ebp - 4], 0
push esi
push dword [ebp + 0x18]
lea ecx, [ebp - 4]
push dword [ebp + 0x14]
push ecx
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov dword [ebp + 0x18], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x45ad68
mov eax, 0x274d
cmp dword [ebp + 0x18], 0
je 0x45ad83
cmp eax, 0x3e5
je 0x45ad83
push dword [ebp + 8]
push eax
mov edi, dword [edi + 4]
call fcn.00453cdb
jmp 0x45ad8c
push esi
mov esi, dword [edi + 4]
call fcn.00453bd5
pop edi
pop esi
leave
ret 0x14

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ebx, ebx
push ebx
cmp byte [ebp + 0x18], bl
je 0x45bd7a
push ebx
jmp 0x45bdc8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x45bd8b
push 0x2719
jmp 0x45bdc8
push esi
push dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
mov dword [ebp + 0x18], ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp + 8], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x45bdb8
mov eax, 0x274d
cmp dword [ebp + 8], ebx
je 0x45bdd2
cmp eax, 0x3e5
je 0x45bdd2
push dword [ebp + 0x18]
push eax
mov edi, dword [edi + 4]
call fcn.00453cdb
jmp 0x45bddb
push esi
mov esi, dword [edi + 4]
call fcn.00453bd5
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x45bde2
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ebx, ebx
push ebx
cmp byte [ebp + 0x18], bl
je 0x45be04
push ebx
jmp 0x45be65
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x45be15
push 0x2719
jmp 0x45be65
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
mov dword [ebp + 0x18], ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp + 0x14], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x45be49
mov eax, 0x2746
jmp 0x45be55
cmp eax, 0x4d2
jne 0x45be55
mov eax, 0x274d
cmp dword [ebp + 0x14], ebx
je 0x45be6f
cmp eax, 0x3e5
je 0x45be6f
push dword [ebp + 0x18]
push eax
mov edi, dword [edi + 4]
call fcn.00453cdb
jmp 0x45be78
push esi
mov esi, dword [edi + 4]
call fcn.00453bd5
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x45c132
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x61f564
call fcn.0060d220
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp + 0xc]
mov dword [ebx + 0x18], 0x45c2b2
call fcn.0045c228
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 4]
push 7
lea edi, [ebx + 0x30]
pop ecx
lea esi, [ebp + 0x14]
mov dword [ebx + 0x2c], eax
rep movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0xc]
push eax
call fcn.0044fb33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x28

Function at 0x45c1aa
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x61f543
call fcn.0060d220
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebx + 0x18], 0x45c38b
call fcn.0045c228
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 4]
push 7
lea edi, [ebx + 0x34]
pop ecx
lea esi, [ebp + 0x18]
mov dword [ebx + 0x30], eax
rep movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x10]
push eax
call fcn.0044fb33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x45c854
Capabilities:
Create thread

Disassembly:
mov eax, 0x628088
call fcn.0060d220
sub esp, 0x68
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x14
mov dword [esi + 8], ebx
call fcn.005b4e59
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x45c8a0
mov dword [eax], vtable.boost::asio::detail::win_thread::func_base.0
mov byte [ebp - 4], 1
mov dword [eax], vtable.boost::asio::detail::win_thread::func_class_boost::asio::detail::binder1_void____cdecl___class_boost::asio::detail::select_reactor_1_____class_boost::asio::detail::select_reactor_1____.0
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov byte [ebp - 4], bl
mov edi, eax
jmp 0x45c8a2
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], eax
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x45c8ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.005ebf90
push str.thread.entry_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
call fcn.0041b62d
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [edi + 8], eax
cmp dword [esi + 8], ebx
jne 0x45c931
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.005ebf90
push str.thread.exit_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 4
jmp 0x45c8e6
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push 0x453769
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call fcn.005bddf5
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x45c98e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x45c96e
push esi
call edi
call fcn.005ebf90
push str.thread
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 5
jmp 0x45c8e6
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x45cc57
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, eax
mov edi, ecx
call fcn.004556a5
cmp dword [ebp + 0xc], 0
jne 0x45ccaa
cmp dword [ebp + 0x10], 0
jne 0x45ccaa
cmp dword [ebp + 0x14], 0
jne 0x45ccaa
test edi, edi
je 0x45ccc6
mov eax, dword [edi + 4]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [edi]
imul ecx, ecx, 0x3e8
add eax, ecx
jne 0x45cc93
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
call fcn.005ebf90
mov dword [esi + 4], eax
mov dword [esi], edi
xor eax, eax
jmp 0x45cced
test edi, edi
je 0x45ccc6
cmp dword [edi], 0
jne 0x45ccc6
mov eax, dword [edi + 4]
test eax, eax
jle 0x45ccc6
mov ecx, 0x3e8
cmp eax, ecx
jge 0x45ccc6
mov dword [edi + 4], ecx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0045568c
mov edi, eax
pop ecx
test edi, edi
jl 0x45cceb
call fcn.004556a5
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x45d427
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov esi, eax
call fcn.004556a5
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_connect]
push eax
call fcn.0045568c
mov edi, eax
pop ecx
test edi, edi
jne 0x45d454
call fcn.004556a5
mov eax, edi
pop edi
pop esi
ret
Function at 0x469f34
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
sub esp, 0xc
push edi
cmp ecx, 0xffffffff
jne 0x469f56
mov edi, 0x2719
call fcn.005ebf90
mov dword [esi + 4], eax
xor eax, eax
jmp 0x469fb5
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], edi
xor edi, edi
cmp word [edx], 2
push edi
setne al
push edi
mov dword [ebp + 8], edi
dec eax
and eax, 0xfffffff4
add eax, 0x1c
push eax
push edx
push edi
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
je 0x469faa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x4d2
jne 0x469f4a
mov edi, 0x274d
jmp 0x469f4a
call fcn.005ebf90
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], edi
pop edi
leave
ret 4
Function at 0x472dd6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x61dee9
call fcn.0060d220
fldz
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
fstp dword [esi + 8]
lea ecx, [esi + 0x10]
mov dword [esi], 7
mov byte [esi + 4], bl
mov dword [esi + 0xc], ebx
call fcn.004023ff
mov dword [ebp - 4], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042aad9
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
add esp, 0x14
lea ecx, [esi + 0x40]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
call fcn.004023ff
mov byte [ebp - 4], 1
or dword [esi + 0xa8], 0xffffffff
or dword [esi + 0xac], 0xffffffff
lea eax, [esi + 0xbc]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
and dword [eax + 4], 0x80000000
and byte [eax + 8], 0xfe
mov dword [eax], ebx
mov byte [ebp - 4], 2
fldz
fstp dword [esi + 0xf0]
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], 1
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
mov byte [esi + 0x13c], bl
mov dword [esi + 0x140], ebx
mov byte [esi + 0x144], bl
mov byte [esi + 0x145], bl
mov dword [esi + 0x148], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4a0d43
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
sub esp, 0x14
push edi
cmp ecx, 0xffffffff
jne 0x4a0d62
mov edi, 0x2719
call fcn.005ebf90
mov dword [esi + 4], eax
xor eax, eax
jmp 0x4a0dd4
mov edx, dword [eax]
mov eax, dword [eax + 4]
xor edi, edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x4a0d56
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4a0dba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x40
jne 0x4a0dab
mov edi, 0x2746
jmp 0x4a0d56
cmp edi, 0x4d2
jne 0x4a0d56
mov edi, 0x274d
jmp 0x4a0d56
cmp dword [ebp - 4], edi
jne 0x4a0dc9
push 2
pop edi
call fcn.00418d4e
jmp 0x4a0d5b
call fcn.005ebf90
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], edi
pop edi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0xffffffff
push edi
jne 0x4a0dfd
mov edi, 0x2719
call fcn.005ebf90
mov dword [esi + 4], eax
xor eax, eax
jmp 0x4a0e76
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x208]
call fcn.004a1063
xor edi, edi
cmp dword [ebp - 4], edi
je 0x4a0df1
mov ebx, dword [ebx]
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x208]
push eax
push ebx
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4a0e5c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x40
jne 0x4a0e4d
mov edi, 0x2746
jmp 0x4a0df1
cmp edi, 0x4d2
jne 0x4a0df1
mov edi, 0x274d
jmp 0x4a0df1
cmp dword [ebp + 8], edi
jne 0x4a0e6b
push 2
pop edi
call fcn.00418d4e
jmp 0x4a0df6
call fcn.005ebf90
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], edi
pop edi
pop ebx
leave
ret 8

Function at 0x4a15d4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x62435a
call fcn.0060d220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4a1984
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.0045c228
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x38]
push eax
lea edi, [ebp + 0x18]
call fcn.004a01eb
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.0044fb33
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.0049be9b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x28
Function at 0x4ac4e3
Capabilities:
Create thread

Disassembly:
mov eax, 0x628088
call fcn.0060d220
sub esp, 0x64
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x10
mov dword [esi + 8], ebx
call fcn.005b4e59
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4ac529
mov dword [eax], vtable.boost::asio::detail::win_thread::func_base.0
mov byte [ebp - 4], 1
mov dword [eax], vtable.boost::asio::detail::win_thread::func_class_boost::asio::detail::resolver_service_class_boost::asio::ip::udp_::work_io_service_runner_.0
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov byte [ebp - 4], bl
mov edi, eax
jmp 0x4ac52b
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], eax
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x4ac578
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.005ebf90
push str.thread.entry_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
call fcn.0041b62d
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [edi + 8], eax
cmp dword [esi + 8], ebx
jne 0x4ac5ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.005ebf90
push str.thread.exit_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 4
jmp 0x4ac56f
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push 0x453769
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call fcn.005bddf5
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x4ac617
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x4ac5f7
push esi
call edi
call fcn.005ebf90
push str.thread
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 5
jmp 0x4ac56f
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4ad8fb
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ecx, ecx
mov esi, eax
lea eax, [esi + 0xd8]
inc ecx
push edi
cmp byte [eax], cl
je 0x4ad9ab
mov byte [eax], cl
mov dword [ebp - 4], ecx
call fcn.005ebf90
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
mov ebx, dword [esi + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4ad941
cmp eax, dword [ebp - 0x1c]
je 0x4ad946
call fcn.005b544b
cmp dword [ebp - 8], ebx
je 0x4ad9ab
lea esi, [ebp - 0xc]
call fcn.0048470a
cmp dword [eax], 0
jne 0x4ad9a1
call fcn.0048470a
mov esi, eax
call fcn.0046edc2
add eax, 8
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x4ad975
call fcn.005ebf90
jmp 0x4ad9a1
lea esi, [ebp - 0x14]
call fcn.004556a5
push 4
lea eax, [ebp - 4]
push eax
push 0x20
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push eax
call fcn.0045568c
pop ecx
test eax, eax
jne 0x4ad9a1
call fcn.004556a5
lea esi, [ebp - 0xc]
call fcn.004a10b4
jmp 0x4ad935
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b58aa
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x622e23
call fcn.0060d220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4b5938
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.0045c228
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x34]
push eax
lea edi, [ebp + 0x18]
call fcn.004b5449
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.0044fb33
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.004c0594
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x34
Function at 0x4bbd26
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x623e8f
call fcn.0060d220
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4bbeed
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.0045c228
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x30], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.004b9595
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.0044fb33
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x18]
push eax
call fcn.004773ce
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x20

Function at 0x4bc30f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x6229a3
call fcn.0060d220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp + 0xc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4bc397
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.0045c228
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
lea edi, [ebp + 0x14]
call fcn.004bb783
mov byte [ebp - 4], bl
lea eax, [ebp + 0xc]
push eax
call fcn.0044fb33
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.004b9cee
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x34
Function at 0x4c0b3e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x6227bd
call fcn.0060d220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp + 0xc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4c0bc6
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.0045c228
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
lea edi, [ebp + 0x14]
call fcn.004b5449
mov byte [ebp - 4], bl
lea eax, [ebp + 0xc]
push eax
call fcn.0044fb33
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.004c0594
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x30