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

Disassembly:
push 0xffffffffffffffff
push 0x1002c528
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [0x1004f9b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
cmp eax, edi
jne 0x1001b5dc
call fcn.100117b0
push 4
lea esi, [eax + 0x100]
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x1001b5f8
lea ecx, [esp + 0xc]
mov dword [eax], ecx
jmp 0x1001b5fa
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], edi
call fcn.1001b4a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.10011460
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x1001c9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002aaa9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x10]
add esi, 0x24
test ecx, ecx
jg 0x1001ca12
mov ecx, dword [esp + 0x38]
push esi
call dword [0x1002f140]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8
mov eax, dword [esi + 0x14]
dec eax
mov edi, ecx
dec eax
push eax
push 0x2e
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::rfind_wchar_t__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [ecx]
je 0x1001c9f3
dec edi
test edi, edi
jg 0x1001ca18
mov ecx, dword [ecx]
push ecx
inc eax
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x38]
push eax
mov dword [esp + 0x34], 0
call dword [0x1002f140]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8

Function at 0x1001cb50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002c709
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
movzx eax, byte [ecx + 0x10]
add ecx, 0x14
push eax
push ecx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x40]
add ecx, 0xb8
call sym.log4cplusU.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_log4cplus::helpers::Time::getFormattedTime_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___bool_
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], 0
call dword [0x1002f140]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 8
Function at 0x1001ccb0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x100295e9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x1004f9b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001cce9
call fcn.100117b0
lea esi, [eax + 0x80]
push esi
call sym.log4cplusU.dll_void___cdecl_log4cplus::detail::clear_tostringstream_class_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov ecx, dword [esp + 0x3c]
push ecx
push esi
call fcn.10015810
add esp, 0xc
lea edx, [esp + 8]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::swap_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8
Function at 0x10021d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002d1fb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0x30], edi
je 0x10021de7
mov dword [esi + 4], sym.log4cplusU.dll_const_log4cplus::SocketAppender::vbtable
push 1
lea ecx, [esi + 0x94]
mov dword [esi + 0x90], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0x98], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], 1
push edi
mov ecx, esi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::Appender::constructor_void_
mov eax, dword [esi + 4]
mov dword [esi], vtable.log4cplus::SocketAppender.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.log4cplus::SocketAppender.0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x1c], 1
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Socket::constructor_void_
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
movzx eax, word [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esi + 0x6c]
mov byte [esp + 0x20], 3
mov dword [esi + 0x68], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esi + 0x8c], edi
mov ecx, esi
mov byte [esp + 0x1c], 5
call sym.log4cplusU.dll_protected:_void___thiscall_log4cplus::SocketAppender::openSocket_void_
mov ecx, esi
call sym.log4cplusU.dll_protected:_void___thiscall_log4cplus::SocketAppender::initConnector_void_
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x10023ec0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1002d5c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10023f15
sub eax, edx
sar eax, 1
mov ebx, eax
call dword [sym.imp.MSVCP90.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCP90.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
lea eax, [esp + 0x10]
push eax
push esi
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x2c], 1
call fcn.10023bb0
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
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
Function at 0x10024e10
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1002d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push esi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [0x1004f9b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10024e4f
call fcn.100117b0
cmp dword [eax + 0x154], 0
lea esi, [eax + 0x140]
jne 0x10024ecf
push 1
push 2
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
mov dword [esp + 0xac], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
push esi
mov ecx, eax
mov byte [esp + 0xb0], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::swap_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
lea ecx, [esp + 8]
mov byte [esp + 0xac], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0xac], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xa8
ret
Function at 0x10024ef0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1002d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push esi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [0x1004f9b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10024f2f
call fcn.100117b0
cmp dword [eax + 0x170], 0
lea esi, [eax + 0x15c]
jne 0x10024fb2
push 1
push 2
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
mov dword [esp + 0xac], 0
call sym.log4cplusU.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____cdecl_log4cplus::thread::getCurrentThreadName_void_
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
push esi
mov ecx, eax
mov byte [esp + 0xb0], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::swap_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
lea ecx, [esp + 8]
mov byte [esp + 0xac], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0xac], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xa8
ret
Function at 0x100255e0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
or dword [esi + 8], 1
mov ecx, dword [eax + 4]
push edi
lea ecx, [ecx + esi + 4]
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::SharedObject::addReference_void_const
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xffffffffffffffff
lea edi, [esi + 0xc]
push edi
call ebp
cmp eax, 0xffffffff
je 0x10025343
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi + 0x10]
push edx
push 0
push esi
push 0x100252a0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x10025388
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 4]
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::SharedObject::removeReference_void_const
and dword [esi + 8], 0xfffffffe
push 1
push str.Thread_creation_was_not_successful
call sym.log4cplusU.dll_public:_static_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::LogLog::getLogLog_void_
mov ecx, eax
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
push ebx
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [ecx + 8]
test eax, eax
je 0x100255ef
lea ecx, [eax - 4]
jmp 0x10025310
xor ecx, ecx
jmp 0x10025310
Function at 0x100264b0
Capabilities:
Access the windows event log

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x90], 0
jne 0x100264d1
push str.NT_EventLog_not_opened.
call sym.log4cplusU.dll_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::getLogLog_void_
mov ecx, eax
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::warn_wchar_t_const__const
pop esi
ret 4
push ebx
mov ebx, dword [esp + 0xc]
push edi
push ebx
call sym.log4cplusU.dll_protected:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_log4cplus::Appender::formatEvent_class_log4cplus::spi::InternalLoggingEvent_const__const
mov edi, eax
cmp dword [edi + 0x14], 0x7c5f
jbe 0x100264f5
push 0x7c5f
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
cmp dword [edi + 0x18], 8
jb 0x10026504
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x1002650b
add edi, 4
mov dword [esp + 0x10], edi
mov edx, dword [esi + 0x94]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 1
push edx
mov edx, dword [eax + 0x24]
push 0x1000
push ebx
mov ecx, esi
call edx
mov edx, dword [esi]
movzx eax, ax
push eax
mov eax, dword [edx + 0x20]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi + 0x90]
movzx ecx, ax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
pop edi
pop ebx
test eax, eax
jne 0x10026563
push eax
push str.Cannot_report_event_in_NT_EventLog.
call sym.log4cplusU.dll_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::getLogLog_void_
mov ecx, eax
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
pop esi
ret 4
Function at 0x10026a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002db9e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0x30], edi
je 0x10026ac7
mov dword [esi + 4], sym.log4cplusU.dll_const_log4cplus::NTEventLogAppender::vbtable
push 1
lea ecx, [esi + 0x9c]
mov dword [esi + 0x98], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0xa0], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], 1
push edi
mov ecx, esi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::Appender::constructor_void_
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov dword [esi], vtable.log4cplus::NTEventLogAppender.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.log4cplus::NTEventLogAppender.0
push edx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x20], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x58]
mov byte [esp + 0x20], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esi + 0x74]
mov byte [esp + 0x20], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, esi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
call sym.log4cplusU.dll_protected:_void___thiscall_log4cplus::NTEventLogAppender::init_void_
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x10026c80
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
call sym.log4cplusU.dll_public:_static_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::LogLog::getLogLog_void_
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 1
push 0x1004fe18
mov edi, eax
call esi
sub eax, 0
je 0x10026ce6
sub eax, 1
je 0x10026cc0
sub eax, 1
je 0x10026d1e
push 1
push str.Unknown_WinSock_state.
mov ecx, edi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
pop edi
pop esi
ret
mov eax, dword [0x1004fe18]
sub eax, 1
je 0x10026cdf
sub eax, 1
je 0x10026d1e
push 1
push str.Unknown_WinSock_state.
mov ecx, edi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
jmp 0x10026cc0
call sym.log4cplusU.dll_void___cdecl_log4cplus::thread::yield_void_
jmp 0x10026cc0
push 0x1004fc88
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10026d13
push 1
push 0
push 0x1004fe18
call esi
push 1
push str.Could_not_initialize_WinSock.
mov ecx, edi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
push 1
push 2
push 0x1004fe18
call esi
pop edi
pop esi
ret

Function at 0x10026d30
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004f970]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x1004fe18]
push esi
push edi
mov edi, dword [esp + 0x24]
cmp eax, 2
je 0x10026d53
call fcn.10026c80
push 0
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10026db1
mov ecx, 2
push 0
mov word [esp + 0xc], cx
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
push 0x10
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x10026db1
push 0xa
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x10026de3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x10026dc5
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.MSVCR90.dll__errno]
mov dword [eax], edi
mov eax, dword [sym.log4cplusU.dll_int_const_log4cplus::helpers::INVALID_SOCKET_VALUE]
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10027f6a
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
mov dword [edi], 0
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.10027f6a
add esp, 0x14
ret