joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a68a0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4cecd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x503018]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x38], 0
cmp eax, 0xffffffff
je 0x4a68e6
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4a68fe
call fcn.004a7a10
mov eax, dword [0x503018]
cmp eax, 0xffffffff
jne 0x4a68f9
xor esi, esi
jmp 0x4a68fe
push eax
call edi
mov esi, eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
test eax, eax
je 0x4a6924
lea ecx, [eax + 4]
mov eax, 1
lock xadd dword [ecx], eax
lea ecx, [esp + 0x20]
call fcn.004a62b0
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004a5d80
add esp, 0xc
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0x3c], 2
call fcn.004a5710
push eax
add eax, 0x10
lea ecx, [esi + 0x14]
push eax
push 0
lea eax, [esp + 0x18]
push eax
call fcn.004a5a50
mov esi, dword [esp + 0x28]
or edi, 0xffffffff
mov byte [esp + 0x38], 1
test esi, esi
je 0x4a699c
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4a699c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4a699c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x38], 0
test esi, esi
je 0x4a69d3
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4a69d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4a69d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x4a6a0b
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4a6a0b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4a6a0b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x4a6a20
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x503018]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x4a6a38
push eax
call esi
test eax, eax
jne 0x4a6a61
call fcn.004a7a10
mov eax, dword [0x503018]
cmp eax, 0xffffffff
jne 0x4a6a5e
xor eax, eax
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.004a5c70
add esp, 8
mov dword [esi], eax
pop esi
ret
push eax
call esi
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.004a5c70
add esp, 8
mov dword [esi], eax
pop esi
ret
Function at 0x4a6f80
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x503018]
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x4a6f9b
push eax
call esi
test eax, eax
jne 0x4a6fb1
call fcn.004a7a10
mov eax, dword [0x503018]
cmp eax, 0xffffffff
jne 0x4a6fae
xor eax, eax
jmp 0x4a6fb1
push eax
call esi
lea esi, [eax + 0x14]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 8]
push eax
call fcn.004a6820
push dword [esp + 8]
lea eax, [esp + 8]
mov ecx, esi
push dword [esp + 8]
push eax
call fcn.0045ae20
pop esi
add esp, 8
ret

Function at 0x4a7570
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [0x503018]
cmp eax, 0xffffffff
je 0x4a75b6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a75b6
push esi
lea esi, [eax + 0x14]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
lea eax, [esp + 8]
push eax
call fcn.004a6fe0
mov eax, dword [esp + 4]
cmp eax, dword [esi]
pop esi
je 0x4a75b6
add eax, 0x14
je 0x4a75b6
mov eax, dword [eax + 8]
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x4a7a10
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cee00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004a5bd0
mov esi, eax
mov dword [ebp - 4], 0
push 0x4a6d40
push 0x50baec
mov dword [ebp - 0x14], esi
call fcn.004a6a80
mov eax, dword [0x503018]
add esp, 8
cmp eax, 0xffffffff
je 0x4a7a70
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
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 0x4a8060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4ced38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x503018]
cmp eax, 0xffffffff
jne 0x4a8095
xor ebx, ebx
jmp 0x4a809e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x4a80e5
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x4a8125
test esi, esi
jne 0x4a8130
push 0x4a6d40
push 0x50baec
call fcn.004a6a80
mov eax, dword [0x503018]
add esp, 8
cmp eax, 0xffffffff
je 0x4a80e5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x4a8111
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4a8111
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call 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
test esi, esi
je 0x4a816a
lea esp, [esp]
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4a8157
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x4a8130
cmp dword [ebx + 0x18], 0
je 0x4a80b4
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4a818d
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x4a818d
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x14]
call fcn.0045afa0
cmp dword [ebx + 0x18], 0
jne 0x4a8174
jmp 0x4a80b4
Function at 0x4a81b0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4cee88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x503018]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], edi
cmp eax, 0xffffffff
je 0x4a8261
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a8261
lea esi, [eax + 0x14]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004a6fe0
mov eax, dword [esp + 0x10]
cmp eax, dword [esi]
je 0x4a8261
lea esi, [eax + 0x14]
test esi, esi
je 0x4a8261
cmp byte [esp + 0x34], 0
je 0x4a8236
mov ecx, dword [esi]
test ecx, ecx
je 0x4a8236
mov edx, dword [esi + 8]
test edx, edx
je 0x4a8236
mov eax, dword [ecx]
push edx
call dword [eax + 4]
cmp dword [esp + 0x28], 0
mov ebx, dword [esp + 0x30]
jne 0x4a8250
test ebx, ebx
jne 0x4a8250
push edi
call fcn.004a6f80
add esp, 4
jmp 0x4a8299
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.004a65a0
mov dword [esi + 8], ebx
jmp 0x4a8299
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
test ecx, ecx
jne 0x4a8271
test eax, eax
je 0x4a8299
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x4a8290
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
push edi
call fcn.004a68a0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x4a82d4
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4a82d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4a82d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4a82f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x4a8360
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4a831a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
mov eax, 1
push edi
add ecx, 4
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x4a833e
cmp eax, 0xffffffff
je 0x4a833e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4aa420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf364
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.boost::log::v2s_mt_nt6::aux::basic_ostringstreambuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea edx, [esi + 0x44]
mov dword [esi + 0x38], 0
mov ecx, esi
mov dword [esi + 0x3c], 0
sub ecx, edx
mov byte [esi + 0x40], 0
add ecx, 0x54
mov eax, dword [esi + 0x10]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
push 1
push 0
push esi
lea ecx, [esi + 0x58]
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.0047b440
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4ad740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cec10
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
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 dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [esi], vtable.boost::log::v2s_mt_nt6::system_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4ad7d3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4ad810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf9d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
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 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.0040f3d0
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::log::v2s_mt_nt6::system_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4af280
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4af280
push 0xffffffffffffffff
push 0x4cfb19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d4120
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004ad4c0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::conversion_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::conversion_error__.1.0
push 0x4fbdec
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::conversion_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4af330
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4af330
push 0xffffffffffffffff
push 0x4cfb19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d41a4
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004ad560
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::limitation_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::limitation_error__.1.0
push 0x4fbfa0
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::limitation_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3

Function at 0x4af3e0
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4af3e0
push 0xffffffffffffffff
push 0x4cfb19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d40f4
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004ad600
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::parse_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::parse_error__.1.0
push 0x4fbd64
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::parse_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4af490
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4af490
push 0xffffffffffffffff
push 0x4cfb19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d4178
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004ad6a0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::setup_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::setup_error__.1.0
push 0x4fbf18
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::setup_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4b4040
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x4b405e
call fcn.004a56a0
mov ebx, dword [esp + 0x18]
mov dword [ebx], 0x2719
jmp 0x4b40a3
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [esp + 0x1c]
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004a56a0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [esp + 0x1c]
test edi, edi
pop edi
mov dword [ebx], eax
mov dword [ebx + 4], esi
jne 0x4b40a6
call fcn.004a56a0
mov dword [ebx], 0
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx]
pop esi
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
pop ebx
ret 0x10

Function at 0x4b4a50
Capabilities:
Get hostname

Disassembly:
sub esp, 0x408
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x410]
push ebp
mov ebp, dword [esp + 0x418]
push esi
push edi
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0x400
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov edi, eax
call fcn.004a56a0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov dword [ebp + 4], esi
test edi, edi
jne 0x4b4afe
call fcn.004a56a0
mov dword [ebp], edi
mov dword [ebp + 4], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
mov byte [ebx], 0
cmp byte [esp + 0x14], 0
jne 0x4b4adf
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040f4f0
jmp 0x4b4b0f
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b4ae6
sub eax, edx
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040f4f0
jmp 0x4b4b0f
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [esp + 0x414]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b73db
add esp, 0x408
ret

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

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov ebx, eax
call fcn.004a56a0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x4b4f15
call fcn.004a56a0
mov dword [edi], 0x2746
jmp 0x4b4f27
cmp eax, 0x4d2
jne 0x4b4f2a
call fcn.004a56a0
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x4b4f36
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
call fcn.004a56a0
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edi], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4b5b70
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d06a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 8]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00471930
mov edi, dword [esp + 0x28]
lea ecx, [ebx + 0x18]
mov dword [esp + 0x20], 0
mov eax, dword [edi]
add eax, 4
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004b5830
mov eax, dword [esp + 0x28]
mov ecx, dword [edi]
push dword [eax]
lea eax, [ecx + 4]
push eax
lea eax, [ebx + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x1c]
call fcn.004b5550
mov dword [esp + 0x20], 0xffffffff
mov eax, accept
lock xadd dword [esi], eax
test eax, 0x40000000
jne 0x4b5c1a
cmp eax, 0x80000000
jle 0x4b5c1a
lock bts dword [esi], 0x1e
jb 0x4b5c1a
mov ecx, esi
call fcn.004113c0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4

Function at 0x4b8270
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d0718
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
push dword [esp + 0x78]
lea eax, [esp + 8]
push eax
call fcn.004b8250
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x7c], 0
push eax
call fcn.004b8230
add esp, 0x10
lea eax, [esp + 0x30]
push 0x4fcd00
push eax
call sub.MSVCR120.dll__CxxThrowException
int3