Function at 0x4305c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x492250]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov bl, byte [ecx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0
push edi
test bl, bl
je 0x43083e
push dword [esi + 0x218]
lea edi, [esi + 0x218]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43083e
push edi
lea ecx, [esp + 0x40]
call fcn.0042e2a0
call fcn.004154a0
test al, al
je 0x430645
lea ecx, [esp + 0x40]
call fcn.004153e0
jmp 0x430652
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movlpd qword [esp + 0x30], xmm0
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
call fcn.00415370
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042e230
test bl, 8
je 0x430683
mov ecx, dword [esp + 0x14]
call fcn.0043b500
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
test bl, 1
je 0x4307c3
push dword [esp + 0x28]
lea eax, [esi + 4]
mov byte [esp + 0x28], 0
push dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x28]
push eax
call fcn.00430ef0
mov edx, eax
test edx, edx
je 0x4306fb
mov ecx, dword [esp + 0x18]
sub ecx, dword [edx]
mov eax, dword [esp + 0x1c]
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 0x4306fb
sub edi, dword [edx + 8]
mov eax, dword [esp + 0x30]
sbb eax, dword [edx + 0xc]
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x17c]
test al, 8
je 0x430735
push edx
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 0x45
lea eax, [esp + 0x128]
push eax
call fcn.00430010
push eax
lea ecx, [esp + 0x108]
call fcn.004139c0
lea ecx, [esp + 0x11c]
call fcn.004087f0
cmp dword [0x495ed4], 0
je 0x43075e
mov eax, dword [0x495ed4]
test eax, eax
setne al
test al, al
je 0x43075e
call fcn.0043c850
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x43075e
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [esp + 0x24], 0
je 0x43076f
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x114], 0
je 0x4307c3
cmp dword [0x494e44], 2
jg 0x4307b3
push 2
push 0x5b4
push str.d:webapps_b_build_slave_repo_build_src_base_trace_event_trace_log.cc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], 2
call fcn.00413f50
lea ecx, [esp + 0x104]
add eax, 8
push ecx
push eax
call fcn.0040b6e0
add esp, 8
test byte [esp + 0x10], 2
je 0x4307c3
lea ecx, [esp + 0x50]
call fcn.00414010
test bl, 4
je 0x4307f6
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4307f6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x5c]
push 0x45
push dword [esp + 0x48]
push dword [esp + 0x48]
call eax
add esp, 0x34
mov eax, dword [esp + 0x118]
cmp eax, 0x10
jb 0x430817
inc eax
lea ecx, [esp + 0x104]
push eax
push dword [esp + 0x108]
call fcn.0040a4f0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
call fcn.0042e310
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045a313
mov esp, ebp
pop ebp
ret 0x10