joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9558
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.004d12d4
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004030b0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4093a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9558
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.004d12d4
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004030b0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9558
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.004d12d4
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004030b0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9b3a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
lea esi, [ecx + 0x14]
mov dword [ecx], vtable.boost::asio::detail::deadline_timer_service_struct_boost::asio::time_traits_class_boost::posix_time::ptime__.0
mov dword [esi + 4], 0
mov dword [esi], vtable.boost::asio::detail::timer_queue_struct_boost::asio::time_traits_class_boost::posix_time::ptime__.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], vtable.boost::asio::detail::timer_queue_struct_boost::asio::detail::forwarding_posix_time_traits_.0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov edi, dword [eax + 8]
mov dword [ecx + 0x34], edi
lea eax, [edi + 0x38]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x24], 1
mov eax, dword [edi + 0x50]
mov dword [esi + 4], eax
mov dword [edi + 0x50], esi
cmp dword [edi + 0x30], 0
mov byte [ebp - 4], 2
jne 0x40b361
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [edi + 0x30], eax
test eax, eax
jne 0x40b33b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004b9da0
mov dword [ebp - 0x14], eax
mov ecx, fcn.0040e7c0
xor eax, eax
mov dword [ebp - 0x18], esi
test esi, esi
cmove ecx, eax
test ecx, ecx
je 0x40b33b
push str.timer
lea eax, [ebp - 0x18]
push eax
call fcn.004178a0
push 0
push 0
push 0
push 0x493e0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x4d2fa200
push eax
push dword [edi + 0x30]
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp dword [edi + 0x2c], 0
jne 0x40b3e6
push 0xc
call fcn.00445790
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x40b3c6
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00445790
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b3b5
push 0x10000
push eax
mov ecx, esi
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::timer_thread_function_.0
mov dword [eax + 0xc], edi
call fcn.0041d8d0
jmp 0x40b3c8
xor eax, eax
mov ecx, esi
push 0x10000
push eax
call fcn.0041d8d0
jmp 0x40b3c8
xor esi, esi
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x40b3e3
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.004b7954
add esp, 8
mov dword [edi + 0x2c], esi
lea eax, [edi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 4
Function at 0x40ba10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9ba0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.004d12d4
add esp, 8
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004030b0
mov dword [esi], vtable.boost::lock_error.0
lea edi, [esi + 0x2c]
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], edi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x40baa8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.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 4

Function at 0x40bc60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9b70
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.004d12d4
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004030b0
lea esi, [edi + 0x2c]
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x40bcf2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x10], eax
mov eax, edi
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.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 4
Function at 0x40bd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9ba0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.004d12d4
add esp, 8
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004030b0
mov dword [esi], vtable.boost::thread_resource_error.0
lea edi, [esi + 0x2c]
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], edi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x40bdc8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.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 4
Function at 0x40bea0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x4f9c34
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x591430]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x19c]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x20], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::service_base_class_boost::asio::detail::resolver_service_class_boost::asio::ip::tcp__.0
lea ebx, [edi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ebx
lea ecx, [ebx + 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
call fcn.00417290
mov esi, eax
call fcn.004b9da0
xor ecx, ecx
mov dword [ebp - 0x10], eax
test esi, esi
mov dword [ebp - 0x14], esi
mov eax, fcn.0040e7c0
cmove eax, ecx
test eax, eax
je 0x40bf4d
push str.mutex
lea eax, [ebp - 0x14]
push eax
call fcn.004178a0
push 0xc
mov byte [ebp - 4], 1
call fcn.00445790
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x40c004
mov ecx, esi
call fcn.0040c970
mov byte [ebp - 4], 3
mov eax, 1
lock xadd dword [0x595c58], eax
inc eax
mov edi, 0x595c5c
cmp eax, 1
jne 0x40bf9d
lea eax, [ebp]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
xchg dword [edi], eax
xor edi, edi
mov eax, 0x595c5c
lock xadd dword [eax], edi
test edi, edi
je 0x40bfc9
call fcn.004b9da0
mov dword [ebp - 0x10], eax
xor al, al
mov dword [ebp - 0x14], edi
jne 0x40bfc9
push str.winsock
lea eax, [ebp - 0x14]
push eax
call fcn.004178a0
push 0x60
mov byte [ebp - 4], 4
call fcn.00445790
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x40bfee
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.0040d620
jmp 0x40bff0
xor eax, eax
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004144e0
mov edi, dword [ebp - 0x18]
mov dword [esi + 8], eax
jmp 0x40c006
xor esi, esi
mov dword [ebx + 0x1c], esi
mov eax, dword [esi + 8]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], esi
mov byte [ebx + 0x28], 1
mov ecx, dword [esi + 8]
add ecx, 0x18
lock inc dword [ecx]
mov dword [ebx + 0x2c], 0
mov eax, edi
mov dword [edi], vtable.boost::asio::detail::resolver_service_class_boost::asio::ip::tcp_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004b7be0
lea esp, [ebp + 0x194]
pop ebp
ret 4
Function at 0x40ca80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x4f9d72
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x591430]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.0040c970
mov dword [ebp - 4], 0
mov eax, 1
lock xadd dword [0x595c58], eax
inc eax
mov ebx, 0x595c5c
cmp eax, 1
jne 0x40caf3
lea eax, [ebp]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
xchg dword [ebx], eax
xor edi, edi
lock xadd dword [ebx], edi
test edi, edi
je 0x40cb1a
call fcn.004b9da0
mov dword [ebp - 0x10], eax
xor al, al
mov dword [ebp - 0x14], edi
jne 0x40cb1a
push str.winsock
lea eax, [ebp - 0x14]
push eax
call fcn.004178a0
push 0x60
mov byte [ebp - 4], 1
call fcn.00445790
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40cb3f
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.0040d620
jmp 0x40cb41
xor eax, eax
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004144e0
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004b7be0
lea esp, [ebp + 0x194]
pop ebp
ret

Function at 0x40cfd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9dd4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x591430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [ebp - 0x44], edi
mov dword [edi + 8], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00413940
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x40d099
lea ecx, [ebp - 0x3c]
call fcn.0040d3b0
push eax
mov byte [ebp - 4], 4
call fcn.0040a340
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7be0
mov esp, ebp
pop ebp
ret
Function at 0x40d620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x4f9ebf
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x591430]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x128]
mov ebx, dword [ebp + 0x12c]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x18], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
push 0x11c
lea eax, [ebp]
mov dword [edi + 0x18], 0
push 0
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.004d2520
add esp, 0xc
mov dword [ebp], 0x11c
mov dword [ebp + 4], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f4
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.00417290
mov esi, eax
call fcn.004b9da0
mov dword [ebp - 0x10], eax
mov ecx, fcn.0040e7c0
xor eax, eax
mov dword [ebp - 0x14], esi
test esi, esi
cmove ecx, eax
test ecx, ecx
je 0x40d74f
push str.mutex
lea eax, [ebp - 0x14]
push eax
call fcn.004178a0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
or eax, 0xffffffff
mov byte [ebp - 4], 5
test ebx, ebx
mov dword [edi + 0x5c], ebx
cmovns eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x40d7ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], esi
call fcn.004b9da0
mov dword [ebp - 0x10], eax
test esi, esi
je 0x40d7ac
push str.iocp
lea eax, [ebp - 0x14]
push eax
call fcn.004178a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004b7be0
lea esp, [ebp + 0x120]
pop ebp
ret 8
Function at 0x4143d0
Capabilities:
Terminate process

Disassembly:
push 0x30
push 0x50544c
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.004d5c66
int3

Function at 0x414730
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x595c4c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x414751
push dword [esp + 4]
mov eax, dword [eax + 4]
push eax
call fcn.004146c0
add esp, 8
ret
push dword [esp + 4]
xor eax, eax
push eax
call fcn.004146c0
add esp, 8
ret

Function at 0x415fb0
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
jne 0x415fd0
call fcn.004b9da0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
or eax, esi
mov dword [ecx], 0x2719
pop esi
ret
push ebx
push edi
push 0
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call dword [sym.imp.WSOCK32.dll_connect]
mov ebx, eax
call fcn.004b9da0
mov esi, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edi, dword [esp + 0x1c]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x41600f
call fcn.004b9da0
mov dword [edi], ebx
mov dword [edi + 4], eax
pop edi
mov eax, ebx
pop ebx
pop esi
ret

Function at 0x418c00
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
mov edx, ecx
push esi
push edi
mov esi, dword [ecx + 0x14]
cmp esi, 0x10
jb 0x418c12
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
add eax, edx
cmp esi, 0x10
jb 0x418c1e
mov ecx, dword [ecx]
push ebx
xor ebx, ebx
mov edi, eax
sub edi, ecx
xor edx, edx
xor esi, esi
cmp ecx, eax
cmova edi, ebx
pop ebx
test edi, edi
je 0x418c5b
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
imul eax, eax, 0xcc9e2d51
inc esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
rol edx, 0xd
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
cmp esi, edi
jne 0x418c33
pop edi
mov eax, edx
pop esi
ret 4

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

Disassembly:
sub esp, 0x10
lea eax, [esp + 3]
mov byte [esp + 3], 0
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
call fcn.004b9da0
mov esi, dword [esi + 4]
push 0
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 1
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call fcn.004b9da0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x418f35
cmp eax, 0x4d2
jne 0x418f3a
call fcn.004b9da0
test esi, esi
pop esi
jne 0x418f44
call fcn.004b9da0
add esp, 0x10
ret
Function at 0x418fc0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x595c54
lock xadd dword [ecx], eax
push 0
push dword [esi + 4]
test eax, eax
je 0x41900d
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret