Function at 0x42dc00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x4b5870]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x1cc]
push dword [esi]
mov dword [esp + 0x3c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42de91
push esi
push dword [esi]
call fcn.0041da10
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00419950
mov eax, dword [esp + 0x18]
sub eax, dword [edi + 0x128]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [edi + 0x12c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x108], 0xf
test byte [eax], 1
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
je 0x42de1c
push dword [esp + 0x34]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edi
push dword [esp + 0x34]
mov ecx, edi
mov byte [esp + 0x2c], bl
push eax
call fcn.0042e670
mov edx, eax
test edx, edx
je 0x42dcfc
mov eax, dword [esp + 0x3c]
sub eax, dword [edx]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [edx + 4]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
neg ecx
mov dword [edx + 0x18], ecx
adc eax, ebx
neg eax
mov dword [edx + 0x1c], eax
mov eax, dword [edi + 0x154]
test al, 8
je 0x42dd8f
push edx
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push 0x45
lea eax, [esp + 0x118]
push eax
call fcn.0042d870
mov ebx, eax
lea eax, [esp + 0xf4]
cmp eax, ebx
je 0x42dd72
cmp dword [esp + 0x108], 0x10
jb 0x42dd47
push dword [esp + 0xf4]
call fcn.0046ec0e
add esp, 4
push ebx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], 0
mov byte [esp + 0xf8], 0
call fcn.00403260
cmp dword [esp + 0x120], 0x10
jb 0x42dd8b
push dword [esp + 0x10c]
call fcn.0046ec0e
add esp, 4
mov ebx, dword [esp + 0x10]
cmp byte [esp + 0x24], 0
je 0x42dda0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x104], 0
je 0x42de1c
cmp dword [0x4ba8cc], 2
jg 0x42de0e
mov ebx, 2
lea ecx, [esp + 0x48]
push 1
push ebx
mov dword [esp + 0x48], ebx
call fcn.004047d0
mov dword [esp + 0xe4], str.k:liebao_src_pool_release.branch_85_src_import_basedebug_trace_event_impl.cc
mov dword [esp + 0xe8], 0x863
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x863
push str.k:liebao_src_pool_release.branch_85_src_import_basedebug_trace_event_impl.cc
lea ecx, [esp + 0x48]
mov dword [esp + 0xf4], eax
call fcn.00418280
lea edx, [esp + 0xf4]
lea ecx, [esp + 0x48]
call fcn.00408a60
test bl, 2
je 0x42de1c
lea ecx, [esp + 0x40]
call fcn.00418040
mov ebx, dword [esp + 0x14]
test byte [ebx], 4
je 0x42de4e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42de4e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x54]
push ebx
push 0x45
push dword [esp + 0x54]
push dword [esp + 0x54]
call eax
add esp, 0x30
cmp dword [esp + 0x108], 0x10
jb 0x42de67
push dword [esp + 0xf4]
call fcn.0046ec0e
add esp, 4
push 0
push dword [esi]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.0041da10
add esp, 8
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046f685
mov esp, ebp
pop ebp
ret 0x10