joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005130
Capabilities:
Access peb ldr_data
Get thread local storage value

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 edi, ecx
mov eax, dword [0x1004f9b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000516c
call fcn.100117b0
lea esi, [eax + 0x23c]
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 [edi + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add esp, 4
push eax
push esi
call edx
lea eax, [esp + 0xc]
push eax
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_]
sub esi, 0xffffff80
push esi
mov ecx, eax
mov dword [esp + 0x34], 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 + 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 eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x1000b560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1002a293
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea edi, [ebx + 1]
cmp dword [esp + 0x40], ebx
je 0x1000b5c6
mov dword [esi + 4], 0x100304a8
push edi
lea ecx, [esi + 0xac]
mov dword [esi + 0xa8], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0xb0], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], edi
push ebx
mov ecx, esi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::AbstractThread::constructor_void_
mov dword [esp + 0x30], edi
push ebx
lea edi, [esi + 0xc]
call sym.log4cplusU.dll_public:_static_class_log4cplus::Hierarchy____cdecl_log4cplus::Logger::getDefaultHierarchy_void_
push eax
mov eax, dword [esp + 0x40]
push eax
mov ecx, edi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::PropertyConfigurator::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_log4cplus::Hierarchy___unsigned_int_
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov dword [esi], vtable.log4cplus::ConfigurationWatchDogThread.2.0
mov dword [edi], vtable.log4cplus::ConfigurationWatchDogThread.1.0
mov edx, dword [ecx + 4]
mov byte [esp + 0x30], 2
mov dword [edx + esi + 4], vtable.log4cplus::ConfigurationWatchDogThread.0
cmp eax, 0x3e8
jae 0x1000b617
mov eax, 0x3e8
push ebx
lea ecx, [esi + 0x80]
mov dword [esi + 0x7c], eax
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::ManualResetEvent::constructor_bool_
lea edi, [esi + 0x88]
mov ecx, edi
mov byte [esp + 0x30], 3
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Time::constructor_void_
lea eax, [esp + 0x18]
push eax
mov dword [esi + 0xa0], ebx
call sym.log4cplusU.dll_public:_static_class_log4cplus::helpers::Time___cdecl_log4cplus::helpers::Time::gettimeofday_void_
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, esi
mov dword [edi + 0xc], edx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x98], bl
call fcn.100077d0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0xc
Function at 0x1000e460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a919
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0xc]
push ecx
mov dword [esi + 0x120], eax
call sym.log4cplusU.dll_public:_static_class_log4cplus::helpers::Time___cdecl_log4cplus::helpers::Time::gettimeofday_void_
add esp, 4
lea edx, [esp + 0x48]
xor edi, edi
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Time::localtime_struct_tm__const
mov eax, dword [esi + 0x120]
mov dword [esp + 0x48], edi
cmp eax, 4
ja case.default.0x1000e4c1
jmp dword [eax*4 + 0x1000e5a4]
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], edi
jmp case.0x1000e4c1.100
mov ecx, dword [esp + 0x60]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
sub edx, ecx
add dword [esp + 0x54], edx
mov dword [esp + 0x50], edi
jmp case.0x1000e4c1.100
xor eax, eax
cmp dword [esp + 0x50], 0xc
setl al
dec eax
and eax, 0xc
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x10]
call sym.log4cplusU.dll_public:_long_long___int64____thiscall_log4cplus::helpers::Time::setTime_struct_tm__
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sym.log4cplusU.dll_protected:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_log4cplus::DailyRollingFileAppender::getFilename_class_log4cplus::helpers::Time_const__
push eax
lea ecx, [esi + 0x124]
mov dword [esp + 0x78], edi
call dword [0x1002f140]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 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_]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sym.log4cplusU.dll_protected:_class_log4cplus::helpers::Time___thiscall_log4cplus::DailyRollingFileAppender::calculateNextRolloverTime_class_log4cplus::helpers::Time_const__
mov ecx, dword [eax]
mov dword [esi + 0x140], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x144], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x148], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x14c], edx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x6c
ret 4
Function at 0x1000efa0
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, ecx
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x54]
lea edi, [esi + 0x4c]
test eax, eax
je 0x1000f04b
mov ecx, esi
call sym.log4cplusU.dll_protected:_bool___thiscall_log4cplus::FileAppender::reopen_void_
mov edx, dword [esi]
test al, al
mov eax, dword [edx + 0x10]
mov ecx, esi
jne 0x1000f040
call eax
add esi, 0xd4
push esi
lea ecx, [esp + 0x10]
push str.file_is_not_open:
push ecx
mov edi, eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
mov edx, dword [edi]
push eax
mov eax, dword [edx + 4]
mov ecx, edi
mov dword [esp + 0x34], 0
call eax
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 4
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
cmp byte [esi + 0x38], 0
je 0x1000f05d
push 2
push 0
mov ecx, edi
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__::seekp_long_int__int_]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
call edx
cmp byte [esi + 0x3c], 0
jne 0x1000f079
cmp byte [esi + 0x38], 0
je 0x1000f081
mov ecx, edi
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__::flush_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x1000f780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002ac34
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 0x1000f7e7
mov dword [esi + 4], sym.log4cplusU.dll_const_log4cplus::FileAppender::vbtable
push 1
lea ecx, [esi + 0x124]
mov dword [esi + method.log4cplus::helpers::SharedObject.virtual_0], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0x128], 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 dl, byte [esp + 0x2c]
mov dword [esi], vtable.log4cplus::FileAppender.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.log4cplus::FileAppender.0
push 1
lea ecx, [esi + 0x4c]
mov dword [esp + 0x20], 1
mov byte [esi + 0x3c], dl
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
lea ecx, [esi + 0xd4]
mov byte [esp + 0x1c], 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_void_]
push str.DEFAULT
lea ecx, [esi + 0xf0]
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_wchar_t_const__]
lea ecx, [esi + 0x110]
mov byte [esp + 0x1c], 4
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Time::constructor_void_
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0x1004fb68
push eax
push ecx
mov ecx, esi
call sym.log4cplusU.dll_private:_void___thiscall_log4cplus::FileAppender::init_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
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 0x1000fc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002ad6d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
cmp dword [esp + 0x30], 0
mov dword [esp + 8], 0
je 0x1000fc91
mov dword [esi + 4], sym.log4cplusU.dll_const_log4cplus::RollingFileAppender::vbtable
push 1
lea ecx, [esi + 0x12c]
mov dword [esi + method.log4cplus::helpers::SharedObject.virtual_0], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0x130], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push 0
push eax
push 8
push ecx
mov ecx, esi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::FileAppender::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int__bool_
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x28]
mov dword [esi], vtable.log4cplus::RollingFileAppender.1.0
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], 1
mov dword [eax + esi + 4], vtable.log4cplus::RollingFileAppender.0
call sym.log4cplusU.dll_private:_void___thiscall_log4cplus::RollingFileAppender::init_long_int__int_
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x14
Function at 0x1000ff50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002ae3c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
cmp dword [esp + 0x30], 0
mov dword [esp + 8], 0
je 0x1000ffc1
mov dword [esi + 4], sym.log4cplusU.dll_const_log4cplus::DailyRollingFileAppender::vbtable
push 1
lea ecx, [esi + 0x15c]
mov dword [esi + method.log4cplus::helpers::SharedObject.virtual_0], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0x160], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push 0
push eax
push 8
push ecx
mov ecx, esi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::FileAppender::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int__bool_
mov edx, dword [esi + 4]
mov dword [esi], vtable.log4cplus::DailyRollingFileAppender.1.0
mov eax, dword [edx + 4]
lea ecx, [esi + 0x124]
mov dword [esp + 0x18], 1
mov dword [eax + esi + 4], vtable.log4cplus::DailyRollingFileAppender.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__::constructor_void_]
lea ecx, [esi + 0x140]
mov byte [esp + 0x18], 2
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Time::constructor_void_
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x150], ecx
push edx
mov ecx, esi
call sym.log4cplusU.dll_private:_void___thiscall_log4cplus::DailyRollingFileAppender::init_enum_log4cplus::DailyRollingFileSchedule_
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x14
Function at 0x10010720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002afd0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0x44], edi
je 0x1001077a
mov dword [esi + 4], sym.log4cplusU.dll_const_log4cplus::spi::LogLevelMatchFilter::vbtable
push 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], vtable.log4cplus::helpers::SharedObject.0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::thread::Mutex::constructor_enum_log4cplus::thread::Mutex::Type_
mov dword [esi + 0x1c], edi
mov dword [esp + 0xc], 1
mov eax, dword [esi + 4]
mov dword [esi], vtable.log4cplus::spi::Filter.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.log4cplus::spi::Filter.0
mov dword [esi + 8], edi
mov edx, dword [esi + 4]
mov dword [esi], vtable.log4cplus::spi::LogLevelMatchFilter.1.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 4], vtable.log4cplus::spi::LogLevelMatchFilter.0
lea edi, [esi + 0xc]
push str.AcceptOnMatch
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 2
mov byte [edi], 1
mov dword [esi + 0x10], 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__::constructor_wchar_t_const__]
lea ecx, [esp + 0x14]
push ecx
mov byte [edi], 0
push edi
mov edi, dword [esp + 0x48]
mov ecx, edi
mov byte [esp + 0x40], 3
call sym.log4cplusU.dll_public:_bool___thiscall_log4cplus::helpers::Properties::getBool_bool___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__const
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 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__::destructor_void_]
push str.LogLevelToMatch
mov ecx, edi
call sym.log4cplusU.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____thiscall_log4cplus::helpers::Properties::getProperty_wchar_t_const__const
push eax
call sym.log4cplusU.dll_class_log4cplus::LogLevelManager____cdecl_log4cplus::getLogLevelManager_void_
mov ecx, eax
call sym.log4cplusU.dll_public:_int___thiscall_log4cplus::LogLevelManager::fromString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__const
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 8
Function at 0x100117b0
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1002a52b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x458
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x100117f6
mov ecx, eax
call fcn.10011670
mov esi, eax
mov eax, dword [0x1004f9b0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
mov eax, dword [0x1004f9b0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10011843
mov ecx, esi
call fcn.10011550
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [0x1004f9b0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret

Function at 0x10011860
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
sub esp, 0x10
cmp byte [0x1004f9bd], 0
jne 0x100118e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push eax
mov dword [0x1004f9b0], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10011887
call fcn.100117b0
cmp dword [0x1004f9ac], 0
jne 0x10011895
call fcn.10010f70
push esi
mov esi, dword [0x1004f9ac]
lea eax, [esp + 4]
push eax
call sym.log4cplusU.dll_public:_static_class_log4cplus::helpers::Time___cdecl_log4cplus::helpers::Time::gettimeofday_void_
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 8]
push eax
mov dword [esi + 0x54], edx
call sym.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 8
lea ecx, [esp + 4]
call sym.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
call fcn.1000d3b0
mov byte [0x1004f9bd], 1
pop esi
add esp, 0x10
ret
Function at 0x100119a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10028b79
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
push 0x10011900
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
jne 0x1001198f
push str.QueueUserAPC___has_failed
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0
call fcn.100010f0
push 0x10036354
lea ecx, [esp + 0x24]
push ecx
call sub.MSVCR90.dll__CxxThrowException
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
add esp, 0x50
ret
sub eax, 0
push esi
je 0x100119e9
sub eax, 1
je 0x100119e3
sub eax, 2
jne 0x10011a27
mov eax, dword [0x1004f9b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100119d2
mov ecx, esi
call fcn.10011550
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [0x1004f9b0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
pop esi
jmp 0x10011920
mov edx, dword [0x1004f9b0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10011a0c
mov ecx, esi
call fcn.10011550
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x1004f9b0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x1004f9b0]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
pop esi
ret