joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d130
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4bfa48]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x44d18b
movzx cx, byte [esp + 0x1a4]
movzx dx, byte [esp + 0x1a0]
shl cx, 8
lea eax, [esp + 4]
push eax
or cx, dx
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.0047beb8
add esp, 0x194
ret

Function at 0x44dc30
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4c1a24
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
test eax, eax
je 0x44dc81
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push method.boost::asio::io_service::service.virtual_8
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret

Function at 0x44ddc0
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
jne 0x44dde2
mov esi, 0x2719
call fcn.0047a6a0
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov dword [ecx + 4], eax
or eax, 0xffffffff
pop esi
ret
push ebx
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.0047a6a0
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edi
test ebx, ebx
jne 0x44de25
xor edi, edi
call fcn.0047a6a0
mov dword [esi], edi
mov dword [esi + 4], eax
pop edi
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x44dea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x24]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call fcn.0047a6a0
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [esp + 0x28]
mov dword [esi], eax
mov dword [esi + 4], edi
cmp eax, 0x40
jne 0x44df05
mov edi, 0x2746
jmp 0x44df11
cmp eax, 0x4d2
jne 0x44df1b
mov edi, 0x274d
call fcn.0047a6a0
mov dword [esi + 4], eax
mov dword [esi], edi
test ebx, ebx
je 0x44df29
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 8
ret
xor edi, edi
call fcn.0047a6a0
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 8
ret

Function at 0x44e040
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 1
push 0
push 0
push eax
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
call fcn.0047a6a0
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 4], ebx
cmp edi, 0xffffffff
jne 0x44e08b
or eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x17
jne 0x44e0aa
push 4
lea edx, [esp + 0x24]
push edx
push 0x1b
push 0x29
push edi
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ebx, ebx
call fcn.0047a6a0
mov dword [esi + 4], eax
mov eax, edi
pop edi
mov dword [esi], ebx
pop esi
pop ebp
pop ebx
ret

Function at 0x44e0c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp edi, 0xffffffff
jne 0x44e0e3
mov esi, 0x2719
call fcn.0047a6a0
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
or eax, edi
pop edi
mov dword [ecx], esi
pop esi
ret
push ebx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
call fcn.0047a6a0
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edi
test ebx, ebx
jne 0x44e135
xor edi, edi
call fcn.0047a6a0
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x44e1d0
Capabilities:
Get socket status

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
test edx, edx
jne 0x44e23b
test edi, edi
jne 0x44e23b
test esi, esi
jne 0x44e23b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x44e25d
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
jne 0x44e21f
mov eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
call fcn.0047a6a0
mov ecx, dword [esp + 0x20]
pop edi
mov dword [ecx], esi
mov dword [ecx + 4], eax
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x44e25d
cmp dword [ecx], 0
jne 0x44e25d
mov eax, dword [ecx + 4]
test eax, eax
jle 0x44e25d
cmp eax, 0x3e8
jge 0x44e25d
mov dword [ecx + 4], 0x3e8
push ebx
push ecx
push esi
push edi
push edx
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.0047a6a0
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], edi
test ebx, ebx
jl 0x44e295
xor edi, edi
call fcn.0047a6a0
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, ebx
pop ebx
pop edi
pop esi
ret

Function at 0x44e3d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x44e3e2
cmp byte [edi], 0
jne 0x44e3e4
xor edi, edi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x44e3f1
cmp byte [esi], 0
jne 0x44e3f3
xor esi, esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push esi
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0044e2a0
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add esp, 8
pop edi
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov eax, ecx
pop esi
add esp, 8
ret
Function at 0x44f470
Capabilities:
Send data
Send data on socket

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [esp + 0x18], 0
je 0x44f49c
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
mov ecx, dword [edi + 4]
call fcn.0044f0f0
pop edi
ret 0x18
mov edx, dword [esp + 8]
mov eax, dword [edx]
cmp eax, 0xffffffff
jne 0x44f4bf
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push 0
push 0x2719
push eax
call fcn.0044f0f0
pop edi
ret 0x18
mov ecx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x24]
push 0
push esi
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x44f4ff
mov eax, 0x274d
test ebx, ebx
je 0x44f51f
cmp eax, 0x3e5
je 0x44f51f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 4]
push eax
push esi
call fcn.0044f0f0
pop esi
pop ebx
pop edi
ret 0x18
mov ecx, dword [edi + 4]
push esi
call fcn.0044f080
pop esi
pop ebx
pop edi
ret 0x18

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

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [esp + 0x18], 0
je 0x44f55c
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
mov ecx, dword [edi + 4]
call fcn.0044f0f0
pop edi
ret 0x18
mov edx, dword [esp + 8]
mov eax, dword [edx]
cmp eax, 0xffffffff
jne 0x44f57f
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push 0
push 0x2719
push eax
call fcn.0044f0f0
pop edi
ret 0x18
mov ecx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x24]
push 0
push esi
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x44f5c7
mov eax, 0x2746
jmp 0x44f5d3
cmp eax, 0x4d2
jne 0x44f5d3
mov eax, 0x274d
test ebx, ebx
je 0x44f5f3
cmp eax, 0x3e5
je 0x44f5f3
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 4]
push edx
push eax
push esi
call fcn.0044f0f0
pop esi
pop ebx
pop edi
ret 0x18
mov ecx, dword [edi + 4]
push esi
call fcn.0044f080
pop esi
pop ebx
pop edi
ret 0x18
Function at 0x451930
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49acfb
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4bfa48]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, ecx
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
xor ebx, ebx
mov dword [esi + 0x18], eax
push 0xffffffffffffffff
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x1c], esi
mov byte [ecx + 4], bl
call fcn.004021b0
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edi
mov dword [esp + 0x2c], ebx
mov byte [ecx + 4], bl
call fcn.004021b0
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0047beb8
add esp, 0x14
ret 0xc

Function at 0x452990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49af78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00402e30
mov dword [esp + 0x18], 0
test edi, edi
je 0x4529d4
add edi, 0x28
jmp 0x4529d6
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4529ee
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x452a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49afa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00402e30
mov dword [esi], vtable.std::length_error.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x452a7a
add edi, 0x28
jmp 0x452a7c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x452a94
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::length_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::length_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x453360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49b198
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], esp
test ecx, ecx
je 0x4533b9
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00450170
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], 0xffffffff
test esi, esi
je 0x45340d
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45340d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45340d
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4578e0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [esp + 0x20]
mov ebx, eax
mov dword [esi + 4], ebx
test ebx, ebx
jne 0x45793e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x14], edi
call fcn.0047a6a0
neg edi
sbb edi, edi
mov dword [esp + 0x18], eax
test edi, fcn.00408230
je 0x45793e
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.00456780
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [esi + 8], eax
cmp dword [ebp + 8], 0
jne 0x457992
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x14], edi
call fcn.0047a6a0
neg edi
sbb edi, edi
mov dword [esp + 0x18], eax
test edi, fcn.00408230
je 0x457992
push str.thread.exit_event
lea ecx, [esp + 0x18]
push ecx
call fcn.00456780
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x44d280
push eax
push 0
mov dword [esp + 0x28], 0
call fcn.0047df75
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x457a10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x4579da
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x4579e8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
call fcn.0047a6a0
neg edi
sbb edi, edi
mov dword [esp + 0x18], eax
test edi, fcn.00408230
je 0x457a10
push str.thread
lea ecx, [esp + 0x18]
push ecx
call fcn.00456780
test ebx, ebx
je 0x457a24
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x457a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49b74f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [esp + 0x24], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
mov dword [esi + 0x2c], ebx
call fcn.0044d1c0
mov edi, eax
call fcn.0047a6a0
mov dword [esp + 0x14], edi
neg edi
sbb edi, edi
mov dword [esp + 0x18], eax
test edi, fcn.00408230
je 0x457ac4
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00456780
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
or ecx, 0xffffffff
mov byte [esp + 0x24], 5
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x2c]
cmp dword [esp + 0x30], ecx
ja 0x457ae7
lea eax, [esp + 0x30]
mov edx, dword [eax]
push edx
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x457b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp + 0x14], edi
call fcn.0047a6a0
neg edi
sbb edi, edi
mov dword [esp + 0x18], eax
test edi, fcn.00408230
je 0x457b2a
push str.iocp
lea eax, [esp + 0x18]
push eax
call fcn.00456780
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x4593f0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x459436
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.0047a6a0
neg esi
sbb esi, esi
test esi, fcn.00408230
mov dword [esp + 0x10], eax
pop esi
je 0x459436
push 0x4a6200
lea eax, [esp + 0xc]
push eax
call fcn.00456780
mov dword [edi], ebx
mov eax, edi
pop edi
pop ebx
add esp, 8
ret

Function at 0x45ac60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x49bcb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x45acba
push 1
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor esi, esi
call fcn.0047a6a0
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x45ad23
mov ecx, dword [0x4c1a7c]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x4c1a7c]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x20], edx
call ebp
mov ebx, dword [esp + 0x30]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.00459a40
test eax, eax
je 0x45ad14
nop
cmp edi, 0xffffffff
je 0x45ad06
inc edi
push ebx
push 1
mov ecx, esi
call fcn.00459a40
test eax, eax
jne 0x45ad00
mov edx, dword [esp + 0x1c]
mov eax, dword [0x4c1a7c]
push edx
push eax
call ebp
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x45cab0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x49bf4c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.boost::asio::detail::select_reactor.0
mov dword [esp + 0x14], 4
call fcn.0045c990
push 0x443f30
push 3
push 0xc
lea eax, [esi + 0x148]
push eax
mov byte [esp + 0x24], 3
call fcn.0047de11
push 0x459d90
push 4
push 0x44
lea ecx, [esi + 0x38]
push ecx
mov byte [esp + 0x24], 2
call fcn.0047de11
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0044f410
lea edx, [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esi], vtable.boost::asio::io_service::service.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x45cb50
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x49bf78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x18]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov ebx, 0x3e3
call fcn.0047a6a0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.0045c1b0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x45cc50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49bfab
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfa48]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
call fcn.0045bcc0
mov dword [ebp], eax
lea esi, [ebp + 4]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], 2
mov byte [esi + 0x20], bl
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov ecx, 2
xor edx, edx
mov word [esi + 0x24], cx
mov word [esi + 0x26], dx
mov dword [esi + 0x28], ebx
mov edi, dword [ebp]
lea ecx, [esi + 8]
mov dword [esp + 0x24], ebx
add edi, 0x14
mov dword [esi], 0xffffffff
mov byte [esi + 4], bl
call fcn.0044eb50
lea eax, [edi + 0xc]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x24]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x45cd03
mov dword [eax + 0x18], esi
mov ecx, dword [esp + 0x14]
push ecx
mov dword [edi + 0x24], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4