Function at 0x429cf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x7aca10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov bl, byte [ecx]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], 0
test bl, bl
je 0x429f0d
push dword [edi + 0x200]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x429f0d
mov ecx, dword [edi + 0x200]
lea edx, [edi + 0x200]
call fcn.00427b60
call fcn.004174c0
test al, al
je 0x429d69
lea ecx, [ebp - 0x78]
call fcn.00417400
jmp 0x429d74
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
push eax
call fcn.00427c30
test bl, 8
je 0x429d97
mov ecx, dword [ebp - 0x3c]
call fcn.0042fc70
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 1
je 0x429eac
push dword [ebp - 0x54]
lea eax, [edi + 4]
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov ecx, edi
lea eax, [ebp - 0x50]
push eax
call fcn.0042a560
mov edx, eax
test edx, edx
je 0x429dfe
mov ecx, dword [ebp - 0x48]
sub ecx, dword [edx]
mov eax, dword [ebp - 0x44]
sbb eax, dword [edx + 4]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
je 0x429dfe
mov eax, dword [ebp - 0x5c]
sub eax, dword [edx + 8]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [edx + 0xc]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edi + 0x164]
test al, 8
je 0x429e2b
push edx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x34]
push eax
call fcn.00429760
push eax
lea ecx, [ebp - 0x1c]
call fcn.004068d0
lea ecx, [ebp - 0x34]
call fcn.00401c50
cmp dword [0x7c430c], 0
je 0x429e54
mov eax, dword [0x7c430c]
test eax, eax
setne al
test al, al
je 0x429e54
call fcn.00431560
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x429e54
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [ebp - 0x4c], 0
je 0x429e63
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
je 0x429eac
cmp dword [0x7c317c], 2
jg 0x429e9b
push 2
push 0x5b6
push str.c:codeinstall_trunk_base_trace_event_trace_log.cc
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x38], 2
call fcn.00403300
lea edx, [ebp - 0x1c]
lea ecx, [eax + 8]
call fcn.00407200
test byte [ebp - 0x38], 2
je 0x429eac
lea ecx, [ebp - 0x128]
call fcn.00403350
test bl, 4
je 0x429ed9
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x429ed9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x6c]
push 0x45
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call eax
add esp, 0x30
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x429eee
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.004022b0
mov ecx, dword [edi + 0x200]
xor edx, edx
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00427b60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a7ad5
mov esp, ebp
pop ebp
ret 0x10