Function at 0x42eda0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x478050]
xor eax, esp
mov dword [esp + 0x120], 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 0x42f010
push dword [esi + 0x218]
lea edi, [esi + 0x218]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42f010
push edi
lea ecx, [esp + 0x40]
call fcn.0042cb60
call fcn.00419fe0
test al, al
je 0x42ee25
lea ecx, [esp + 0x40]
call fcn.00419f10
jmp 0x42ee32
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movlpd qword [esp + 0x30], xmm0
mov edi, dword [eax]
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
call fcn.0042ca30
test bl, 8
je 0x42ee55
mov ecx, dword [esp + 0x14]
call fcn.00436900
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
test bl, 1
je 0x42ef95
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.0042f740
mov edx, eax
test edx, edx
je 0x42eecd
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 0x42eecd
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 0x42ef07
push edx
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 0x45
lea eax, [esp + 0x120]
push eax
call fcn.0042e760
push eax
lea ecx, [esp + 0x100]
call fcn.00411d90
lea ecx, [esp + 0x114]
call fcn.00402f10
cmp dword [0x47be4c], 0
je 0x42ef30
mov eax, dword [0x47be4c]
test eax, eax
setne al
test al, al
je 0x42ef30
call fcn.00437ca0
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x42ef30
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [esp + 0x24], 0
je 0x42ef41
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x10c], 0
je 0x42ef95
cmp dword [0x47ad44], 2
jg 0x42ef85
push 2
push 0x5b4
push str.d:webapps_b_build_slave_repo_build_src_base_trace_event_trace_log.cc
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], 2
call fcn.00402360
lea ecx, [esp + 0xfc]
add eax, 8
push ecx
push eax
call fcn.00407260
add esp, 8
test byte [esp + 0x10], 2
je 0x42ef95
lea ecx, [esp + 0x48]
call fcn.00402420
test bl, 4
je 0x42efc8
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x42efc8
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 + 0x110]
cmp eax, 0x10
jb 0x42efe9
inc eax
lea ecx, [esp + 0xfc]
push eax
push dword [esp + 0x100]
call fcn.00405260
lea ecx, [esp + 0x3c]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.0042cbd0
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00447880
mov esp, ebp
pop ebp
ret 0x10