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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520d88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
cmp eax, edi
jne 0x427332
call fcn.004240c0
push 4
lea esi, [eax + 0x100]
call fcn.00485e56
add esp, 4
cmp eax, edi
je 0x42734e
lea ecx, [esp + 0xc]
mov dword [eax], ecx
jmp 0x427350
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
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x3c], edi
call fcn.00427a50
lea edi, [esp + 0xc]
call fcn.00424640
mov eax, dword [esp + 0xc]
push eax
call fcn.00485e85
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4273a0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x57bf5c]
push eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4273be
call fcn.004240c0
push esi
mov esi, dword [esp + 0xc]
lea ecx, [eax + 0x100]
push esi
call fcn.004278f0
mov eax, esi
pop esi
pop ecx
ret 4

Function at 0x4273e0
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520d58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x427420
call fcn.004240c0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
lea esi, [eax + 0x100]
call fcn.004278f0
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00427a50
lea edi, [esp + 0xc]
call fcn.00424640
mov edx, dword [esp + 0xc]
push edx
call fcn.00485e85
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x427470
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x427486
call fcn.004240c0
add eax, 0x100
cmp dword [eax + 0x1c], 0
je 0x42749b
call fcn.004279e0
add eax, 0x1c
pop ecx
ret
mov eax, 0x576ddc
pop ecx
ret
Function at 0x4274d0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x520d28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x574a28]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
mov ebx, dword [esp + 0x48]
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebp
jne 0x427521
call fcn.004240c0
cmp dword [eax + 0x11c], ebp
lea edi, [eax + 0x100]
je 0x4275bd
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
mov eax, edi
mov dword [esp + 0x40], ebp
call fcn.004279e0
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.004232c0
mov eax, dword [edi + 0x1c]
cmp eax, ebp
je 0x427588
mov ecx, dword [edi + 0x18]
lea eax, [eax + ecx - 1]
mov ecx, dword [edi + 0x14]
cmp ecx, eax
ja 0x427574
sub eax, ecx
mov edx, dword [edi + 0x10]
mov esi, dword [edx + eax*4]
call fcn.00424810
add dword [edi + 0x1c], 0xffffffff
jne 0x427588
mov dword [edi + 0x18], ebp
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ebp
mov ecx, ebx
mov word [ebx + 4], ax
call fcn.004141f0
cmp dword [esp + 0x30], 8
jb 0x4275cd
mov edx, dword [esp + 0x1c]
push edx
call fcn.00485e85
add esp, 4
jmp 0x4275cd
xor eax, eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ebp
mov word [ebx + 4], ax
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ca80c
add esp, 0x30
ret 4

Function at 0x4275f0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x57bf5c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x427606
call fcn.004240c0
mov edi, eax
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x42764b
mov ecx, dword [edi + 0x118]
lea eax, [ecx + eax - 1]
mov ecx, dword [edi + 0x114]
cmp ecx, eax
ja 0x427628
sub eax, ecx
mov edx, dword [edi + 0x110]
push esi
mov esi, dword [edx + eax*4]
call fcn.00424810
add dword [edi + 0x11c], 0xffffffff
pop esi
jne 0x42764b
mov dword [edi + 0x118], 0
pop edi
ret

Function at 0x427650
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x427665
call fcn.004240c0
add eax, 0x100
cmp dword [eax + 0x1c], 0
je 0x427675
jmp fcn.004279e0
mov eax, 0x576ddc
ret
Function at 0x4276a0
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
cmp eax, edi
jne 0x4276e2
call fcn.004240c0
push 4
lea esi, [eax + 0x100]
call fcn.00485e56
add esp, 4
cmp eax, edi
je 0x4276fe
lea ecx, [esp + 0xc]
mov dword [eax], ecx
jmp 0x427700
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
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x3c], edi
call fcn.00427a50
lea edi, [esp + 0xc]
call fcn.00424640
mov eax, dword [esp + 0xc]
push eax
call fcn.00485e85
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x427750
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x57bf5c]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
cmp eax, ebx
jne 0x427769
call fcn.004240c0
mov ecx, dword [esp + 0xc]
mov edi, eax
cmp ecx, dword [edi + 0x11c]
jae 0x427804
push ebp
push esi
mov ebp, 7
mov eax, dword [edi + 0x11c]
cmp eax, ebx
je 0x4277f6
mov edx, dword [edi + 0x118]
mov ecx, dword [edi + 0x114]
lea eax, [edx + eax - 1]
cmp ecx, eax
ja 0x4277a2
sub eax, ecx
mov ecx, dword [edi + 0x110]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x34], 8
jb 0x4277bd
mov edx, dword [esi + 0x20]
push edx
call fcn.00485e85
add esp, 4
xor eax, eax
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], ax
cmp dword [esi + 0x18], 8
jb 0x4277db
mov ecx, dword [esi + 4]
push ecx
call fcn.00485e85
add esp, 4
xor edx, edx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov word [esi + 4], dx
add dword [edi + 0x11c], 0xffffffff
jne 0x4277f6
mov dword [edi + 0x118], ebx
mov eax, dword [esp + 0x14]
cmp eax, dword [edi + 0x11c]
jb 0x427782
pop esi
pop ebp
pop edi
pop ebx
ret 4

Function at 0x427810
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x427826
call fcn.004240c0
add eax, 0x100
pop ecx
ret

Function at 0x427890
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x57bf58], 0
jne 0x42789e
call fcn.004236c0
mov ecx, dword [0x57bf58]
add ecx, 0x58
jmp sym.ftl.bin_public:_void___thiscall_log4cplus::NDC::pop_void_void_
Function at 0x4283a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5212d0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4283e2
call fcn.004240c0
cmp dword [eax + 0x11c], 0
lea esi, [eax + 0x100]
jne 0x428416
push 0
push edi
lea ecx, [esp + 0x14]
call sym.ftl.bin_public:_void___thiscall_log4cplus::DiagnosticContext::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___struct_log4cplus::DiagnosticContext_const__
push eax
mov ecx, esi
mov dword [esp + 0x8c], 0
call fcn.004286b0
lea ecx, [esp + 0xc]
jmp 0x42843f
mov eax, esi
call fcn.004279e0
push eax
push edi
lea ecx, [esp + 0x4c]
call sym.ftl.bin_public:_void___thiscall_log4cplus::DiagnosticContext::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___struct_log4cplus::DiagnosticContext_const__
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.004286b0
lea ecx, [esp + 0x44]
call sym.ftl.bin_public:_void___thiscall_log4cplus::DiagnosticContext::destructor_void_
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x428460
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5212a0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4284a2
call fcn.004240c0
cmp dword [eax + 0x11c], 0
lea esi, [eax + 0x100]
jne 0x4284d8
mov ecx, dword [edi]
push 0
push ecx
lea ecx, [esp + 0x14]
call sym.ftl.bin_public:_void___thiscall_log4cplus::DiagnosticContext::constructor_wchar_t_const___struct_log4cplus::DiagnosticContext_const__
push eax
mov ecx, esi
mov dword [esp + 0x8c], 0
call fcn.004286b0
lea ecx, [esp + 0xc]
jmp 0x428503
mov eax, esi
call fcn.004279e0
mov edx, dword [edi]
push eax
push edx
lea ecx, [esp + 0x4c]
call sym.ftl.bin_public:_void___thiscall_log4cplus::DiagnosticContext::constructor_wchar_t_const___struct_log4cplus::DiagnosticContext_const__
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.004286b0
lea ecx, [esp + 0x44]
call sym.ftl.bin_public:_void___thiscall_log4cplus::DiagnosticContext::destructor_void_
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42aca0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x521266
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push esi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42ace5
call fcn.004240c0
cmp dword [eax + 0x154], 0
lea esi, [eax + 0x140]
jne 0x42ad90
lea ecx, [esp + 0x24]
push ecx
call fcn.00413530
mov dword [esp + 0xb0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0042b870
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
call fcn.0041c180
push eax
mov ecx, esi
mov byte [esp + 0xb4], 1
call fcn.004232c0
cmp dword [esp + 0x20], 8
jb 0x42ad50
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00485e85
add esp, 4
xor edx, edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], dx
mov dword [esp + 0xb0], 0xffffffff
call fcn.00413600
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x74], vtable.std::ios_base.0
call fcn.004f7d5c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42add0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x522ad6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push esi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42ae15
call fcn.004240c0
cmp dword [eax + 0x170], 0
lea esi, [eax + 0x15c]
jne 0x42aec2
lea ecx, [esp + 0x24]
push ecx
call fcn.00413530
mov dword [esp + 0xb0], 0
call sym.ftl.bin_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 edx, [esp + 0x28]
push edx
call fcn.00420a00
add esp, 8
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
call fcn.0041c180
push eax
mov ecx, esi
mov byte [esp + 0xb4], 1
call fcn.004232c0
cmp dword [esp + 0x20], 8
jb 0x42ae82
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00485e85
add esp, 4
xor edx, edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], dx
mov dword [esp + 0xb0], 0xffffffff
call fcn.00413600
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x74], vtable.std::ios_base.0
call fcn.004f7d5c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42aef0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521228
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x574a28]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x57bf58], 0
mov esi, ecx
mov dword [ebp - 0x34], esi
jne 0x42af31
call fcn.004236c0
mov ecx, dword [0x57bf58]
add ecx, 4
mov dword [ebp - 0x38], ecx
test esi, esi
jne 0x42af51
push esi
push 0x5401bc
call sym.ftl.bin_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
jmp 0x42b099
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 4]
mov dword [ebp - 0x3c], esi
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea ebx, [ecx + esi + 4]
cmp dword [ebx + 8], 0
lea edi, [ebx + 8]
jg 0x42af98
push 0x50
push str..._srcpointer.cxx
push str.count___0
call fcn.004fa013
add esp, 0xc
or edx, 0xffffffff
lock xadd dword [edi], edx
sete al
test al, al
je 0x42afb0
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
jmp 0x42b033
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea edi, [eax + esi + 8]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esi + 8], 0xfffffffe
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
lea edi, [edx + esi + 4]
cmp dword [edi + 8], 0
lea esi, [edi + 8]
jg 0x42b081
push 0x50
push str..._srcpointer.cxx
push str.count___0
call fcn.004fa013
add esp, 0xc
or eax, 0xffffffff
lock xadd dword [esi], eax
sete al
test al, al
je 0x42b099
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [0x57bf5c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x42b0bb
push esi
call fcn.00423ed0
push esi
call fcn.00485e85
add esp, 4
mov edx, dword [0x57bf5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca80c
mov esp, ebp
pop ebp
ret
Function at 0x42b310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [esi + 4]
or dword [esi + 8], 1
mov ecx, dword [eax + 4]
push ebx
push edi
lea edx, [ecx + esi + 0xc]
mov eax, 1
lock xadd dword [edx], eax
lea edi, [esi + 0xc]
push 0xffffffffffffffff
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 0xffffffff
je 0x42b34e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x10]
push ecx
push 0
push esi
push 0x42aee0
push 0
push 0
call fcn.004ca91c
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42b3f9
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ebx, [eax + esi + 4]
cmp dword [ebx + 8], 0
lea edi, [ebx + 8]
jg 0x42b399
push 0x50
push str..._srcpointer.cxx
push str.count___0
call fcn.004fa013
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [edi], ecx
sete al
test al, al
je 0x42b3b1
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
and dword [esi + 8], 0xfffffffe
cmp dword [0x57bf58], 0
jne 0x42b3c3
call fcn.004236c0
mov edx, dword [sym.ftl.bin_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____log4cplus::tcerr]
push 1
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x57bf58]
push str.log4cplus:ERROR
push sym.ftl.bin_private:_bool___thiscall_log4cplus::helpers::LogLog::get_not_quiet_mode_void_const
push edx
add ecx, 4
mov dword [esp + 0x20], str.Thread_creation_was_not_successful
call fcn.00433390
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 0xffffffff
je 0x42b41d
push 0x129
push str..._src_threads.cxx
push str.h__INVALID_HANDLE_VALUE
call fcn.004fa013
add esp, 0xc
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cb70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51ab88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 8
mov dword [esp + 0x30], 0
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x42cbc8
call fcn.004cee93
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp ebp, dword [esi + 0x10]
jbe 0x42cbdb
call fcn.004cee93
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push ebx
push ecx
push ebp
push eax
lea ebx, [esp + 0x2c]
call fcn.0042d190
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51a263
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x574a28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.004f742d
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x42e1c1
mov eax, dword [esi + 0x1c]
push eax
call fcn.00485e85
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x431810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x107], 0
jne 0x43185e
cmp dword [0x57bf58], 0
jne 0x431835
call fcn.004236c0
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43184a
call fcn.004240c0
add eax, 0x120
lea esi, [edi + 0x60]
call fcn.004132e0
mov byte [edi + 0x107], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x14]
lea esi, [edi + 0x60]
push edx
call fcn.00431b90
mov edi, dword [esp + 0x10]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x431880
cmp edi, esi
je 0x431885
call fcn.004cee93
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4318b0
test edi, edi
jne 0x4318ac
call fcn.004cee93
cmp esi, dword [edi + 0x18]
jne 0x4318a0
call fcn.004cee93
lea eax, [esi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [edi]
jmp 0x431896
pop edi
pop esi
mov eax, 0x576ddc
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x431940
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
call sym.ftl.bin_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____thiscall_log4cplus::spi::InternalLoggingEvent::getNDC_void_const
cmp byte [edi + 0x107], 0
jne 0x43198a
cmp dword [0x57bf58], 0
jne 0x431961
call fcn.004236c0
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x431976
call fcn.004240c0
add eax, 0x120
lea esi, [edi + 0x60]
call fcn.004132e0
mov byte [edi + 0x107], 1
cmp byte [edi + 0x104], 0
jne 0x4319af
call sym.ftl.bin_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____cdecl_log4cplus::thread::getCurrentThreadName_void_
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x80]
call fcn.004141f0
mov byte [edi + 0x104], 1
cmp byte [edi + 0x105], 0
jne 0x4319d4
call sym.ftl.bin_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____cdecl_log4cplus::thread::getCurrentThreadName2_void_
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x9c]
call fcn.004141f0
mov byte [edi + 0x105], 1
pop edi
pop esi
pop ecx
ret

Function at 0x431eb0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x57bf5c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x431ec6
call fcn.004240c0
add eax, 0x120
pop ecx
ret