joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435530
Capabilities:
Resolve dns

Disassembly:
push ecx
push ebp
push esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [esp + 0x14], 2
je 0x435557
mov esi, 0x273f
call fcn.005147f0
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
pop esi
pop ebp
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call fcn.005147f0
mov ebp, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
mov dword [edi], eax
mov dword [edi + 4], ebp
je 0x435551
xor ebp, ebp
call fcn.005147f0
mov dword [edi], ebp
mov dword [edi + 4], eax
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xc]
pop esi
mov dword [ebx + 0xc], ecx
mov eax, ebx
pop ebp
pop ecx
ret
Function at 0x436940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516d31
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
push 0x530358
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x34], 0
call fcn.00408860
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x30]
mov dword [esi], vtable.boost::system::system_error.0
mov dword [esi + 0x2c], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0xc

Function at 0x4369d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516d31
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x34], 0
call fcn.00408860
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea ecx, [esi + 0x30]
mov dword [esi], vtable.boost::system::system_error.0
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0x10
Function at 0x4371c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51dfdf
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
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 [esp + 0x24], ebx
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
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 eax, [esi + 0x30]
mov byte [esp + 0x24], 3
push eax
mov dword [esi + 0x2c], ebx
call fcn.00438a60
mov edi, eax
call fcn.005147f0
mov dword [esp + 0x10], edi
neg edi
sbb edi, edi
test edi, fcn.004b2590
mov dword [esp + 0x14], eax
je 0x437253
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.mutex
call fcn.00436c20
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
or ecx, 0xffffffff
mov byte [esp + 0x24], 5
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x30]
ja 0x437276
lea eax, [esp + 0x34]
mov edx, dword [eax]
push edx
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x4372b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp + 0x10], edi
call fcn.005147f0
neg edi
sbb edi, edi
test edi, fcn.004b2590
mov dword [esp + 0x14], eax
je 0x4372b9
lea eax, [esp + 0x10]
push eax
mov ecx, str.iocp
call fcn.00436c20
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 0xc
Function at 0x437540
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x522798
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x4375a6
push 1
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor esi, esi
call fcn.005147f0
mov dword [edi + 4], eax
mov dword [edi], esi
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [0x55e788]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x55e788]
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
push edi
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00437940
test eax, eax
je 0x4375f9
cmp ebx, 0xffffffff
je 0x4375ed
add ebx, 1
push edi
mov ecx, esi
call fcn.00437940
test eax, eax
jne 0x4375e5
mov edx, dword [esp + 0x1c]
mov eax, dword [0x55e788]
push edx
push eax
call ebp
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov ebx, ecx
cmp dword [ebx + 0x14], 0
push edi
mov esi, eax
jne 0x43833d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x14], eax
jmp 0x43834f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebx + 0x14], eax
je 0x43834f
mov dword [ebx + 0x14], 0xffffffff
mov eax, dword [ebp + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [esp + 0x24], 0
push 0
je 0x438376
mov eax, dword [ebp + 4]
push 0
call fcn.00437860
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
jne 0x438391
mov eax, dword [ebp + 4]
push 0x2719
call fcn.00437860
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push esi
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
push ebx
mov dword [esp + 0x40], 0
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x4383c9
mov eax, 0x274d
test edi, edi
je 0x4383e9
cmp eax, 0x3e5
je 0x4383e9
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ebp + 4]
call fcn.00437860
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov eax, dword [ebp + 4]
mov edi, esi
call fcn.004377f0
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x438400
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov ebx, ecx
cmp dword [ebx + 0x14], 0
push edi
mov esi, eax
jne 0x43841d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x14], eax
jmp 0x43842f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebx + 0x14], eax
je 0x43842f
mov dword [ebx + 0x14], 0xffffffff
mov eax, dword [ebp + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [esp + 0x24], 0
push 0
je 0x438456
mov eax, dword [ebp + 4]
push 0
call fcn.00437860
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
jne 0x438471
mov eax, dword [ebp + 4]
push 0x2719
call fcn.00437860
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
push esi
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push ebx
mov dword [esp + 0x40], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x4384b1
mov eax, 0x2746
jmp 0x4384bd
cmp eax, 0x4d2
jne 0x4384bd
mov eax, 0x274d
test edi, edi
je 0x4384dd
cmp eax, 0x3e5
je 0x4384dd
mov ecx, dword [esp + 0x24]
push ecx
push eax
mov eax, dword [ebp + 4]
call fcn.00437860
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov eax, dword [ebp + 4]
mov edi, esi
call fcn.004377f0
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

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

Disassembly:
sub esp, 8
cmp dword [ebx + 0x14], 0
push esi
push edi
mov esi, eax
jne 0x438508
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x14], eax
jmp 0x43851a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebx + 0x14], eax
je 0x43851a
mov dword [ebx + 0x14], 0xffffffff
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebx]
cmp eax, 0xffffffff
push 0
jne 0x438549
mov eax, dword [edi + 4]
push 0x2719
call fcn.00437860
pop edi
pop esi
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push esi
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x438593
mov eax, 0x274d
test edi, edi
je 0x4385b8
cmp eax, 0x3e5
je 0x4385b8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [edx + 4]
call fcn.00437860
pop edi
pop esi
add esp, 8
ret 0x14
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov edi, esi
call fcn.004377f0
pop edi
pop esi
add esp, 8
ret 0x14
Function at 0x438b30
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push 0
lea edx, [esp + 8]
push edx
push 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 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 0x55e44c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
push 0
je 0x438b7d
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push method.boost::asio::detail::win_iocp_io_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]
add esp, 8
ret

Function at 0x438ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x438bff
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 + 0x10], edi
call fcn.005147f0
neg edi
sbb edi, edi
test edi, fcn.004b2590
mov dword [esp + 0x14], eax
je 0x438bff
lea eax, [esp + 0x10]
push eax
mov ecx, str.thread.entry_event
call fcn.00436c20
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [ebp + 8]
mov dword [edi + 8], eax
mov dword [esi + 8], eax
cmp dword [edi + 8], 0
jne 0x438c59
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 + 0x10], edi
call fcn.005147f0
neg edi
sbb edi, edi
test edi, fcn.004b2590
mov dword [esp + 0x14], eax
je 0x438c56
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.thread.exit_event
call fcn.00436c20
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x438d00
push eax
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [edi + 4], eax
jne 0x438cdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x438ca3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi + 8]
test edi, edi
je 0x438cb1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.005147f0
neg esi
sbb esi, esi
test esi, fcn.004b2590
mov dword [esp + 0x14], eax
je 0x438cdd
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.thread
call fcn.00436c20
test ebx, ebx
je 0x438cf1
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 ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438d80
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438dc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.005147f0
neg esi
sbb esi, esi
test esi, fcn.004b2590
mov dword [esp + 0xc], eax
je 0x438dc8
lea eax, [esp + 8]
push eax
mov ecx, 0x530868
call fcn.00436c20
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438dd0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x55daa0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x438e0c
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x55daa4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00515015
add esp, 0x19c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x516cc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
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.00408920
mov dword [esp + 0x18], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
add edi, 0x30
mov dword [esi + 0x2c], ecx
push edi
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
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 0x43bee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516cc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
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.00408920
test edi, edi
mov dword [esp + 0x18], 0
je 0x43bf24
add edi, 0x28
jmp 0x43bf26
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x43bf3e
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::runtime_error_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.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 0x43bfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519848
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
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.00401160
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x43bffa
add edi, 0x28
jmp 0x43bffc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x43c014
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_struct_boost::gregorian::bad_day_of_month_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.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 0x43c170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519848
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
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.00401160
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x43c1ba
add edi, 0x28
jmp 0x43c1bc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x43c1d4
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_struct_boost::gregorian::bad_year_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.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 0x43c260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519848
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
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.00401160
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x43c2aa
add edi, 0x28
jmp 0x43c2ac
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x43c2c4
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_struct_boost::gregorian::bad_month_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.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 0x442170
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x51bd8e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
mov dword [esi], vtable.libtorrent::storage_interface.0
xor ebx, ebx
mov dword [esi + 4], ebx
call fcn.005147f0
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x40], ebx
mov dword [esi], vtable.libtorrent::default_storage.0
mov dword [esi + 0x30], ebx
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x40], 1
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x5c]
lea edi, [esi + 0x38]
call fcn.0044a120
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [esp + 0x40], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x40], 3
mov eax, dword [0x55e460]
cmp eax, ebx
mov dword [esi + 0x64], ecx
jne 0x44222d
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [0x55e460], eax
jg 0x44222d
mov eax, 0x1000
mov dword [0x55e460], eax
cmp ebp, ebx
mov dword [esi + 0x68], eax
mov byte [esi + 0x6c], bl
je 0x44227a
push 0x90
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
mov byte [esp + 0x40], 4
je 0x44225a
push ebp
push eax
call fcn.00403bd0
jmp 0x44225c
xor eax, eax
mov byte [esp + 0x40], 3
mov ebp, dword [esi + 0x30]
cmp ebp, ebx
mov dword [esi + 0x30], eax
je 0x44227a
push ebp
call fcn.00401500
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x14]
push eax
call fcn.00431c60
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x44], 5
call dword [0x52e398]
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x18