Function at 0x434c30
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4f5470]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x44], eax
mov byte [esp + 0x84], al
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x2c]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
cmp byte [ecx], al
jne 0x434cc0
mov ecx, eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
jmp 0x43532d
push dword [edi + 0x1e4]
lea esi, [edi + 0x1e4]
mov dword [esp + 0x74], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x434cec
mov eax, dword [esp + 0x34]
mov dword [ebx], 0
mov dword [ebx + 4], eax
jmp 0x43532d
push esi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x434cfe
call fcn.0042e260
test byte [ebp + 0x3c], 4
je 0x434d20
mov eax, dword [ebp + 0x18]
xor eax, dword [edi + 0x118]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x1c]
xor eax, dword [edi + 0x11c]
mov dword [esp + 0x4c], eax
jmp 0x434d2e
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x48], eax
push dword [esp + 0x58]
lea eax, [esp + 0x54]
mov ecx, edi
push eax
call fcn.00431640
test byte [ebp + 0x3c], 0x20
je 0x434db4
lea eax, [esp + 0xb8]
push eax
call dword [0x4f6a28]
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
push dword [eax + 4]
push dword [eax]
push dword [edi + 0x12c]
push dword [edi + 0x128]
call fcn.00413310
mov ecx, dword [esp + 0x20]
add esp, 0x10
test ecx, ecx
je 0x434d96
or eax, 0xffffffff
mov edx, bind
cmp ecx, 1
jne 0x434d96
mov eax, ecx
mov edx, bind
neg eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], eax
adc edx, 0
neg edx
mov dword [esp + 0x8c], edx
jmp 0x434dd1
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx]
xorps xmm0, xmm0
push dword [edi + 0x1e0]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x98], eax
movlpd qword [esp + 0x6c], xmm0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x434e82
call fcn.0042bcf0
test eax, eax
je 0x434e82
push dword [edi + 0x1dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
mov dword [esp + 0x1c], edx
test edx, edx
je 0x434e4e
mov ecx, dword [edx + 0x20]
cmp ecx, dword [edi + 0x234]
je 0x434e82
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 4]
push 0x28
call fcn.004a72c4
add esp, 4
test eax, eax
je 0x434e66
push edi
mov ecx, eax
call fcn.004331f0
jmp 0x434e68
xor eax, eax
push eax
push dword [edi + 0x1dc]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x434e82
call fcn.0042e260
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x24], eax
jne 0x435002
call fcn.0042dc00
push dword [esp + 0x24]
mov ecx, eax
call fcn.0042d710
mov dword [esp + 0x20], eax
call fcn.004371b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x435002
test ecx, ecx
je 0x435002
cmp byte [ecx], 0
je 0x435002
call fcn.004371b0
push dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x434eea
call fcn.0042e260
add edi, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
add eax, 0xac
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.00418bf0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x74]
cmp esi, dword [ecx]
jne 0x434f3c
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push ecx
push eax
call fcn.00436fa0
add esp, 4
mov ecx, eax
call fcn.0041dfd0
jmp 0x434ff3
push 0x4f0c08
lea ecx, [esp + 0xac]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.0040adc0
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0x14], eax
call fcn.00406d40
lea eax, [esp + 0x5c]
push eax
lea edx, [esp + 0xac]
lea ecx, [esp + 0xb4]
call fcn.00413f80
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x60]
add esp, 4
mov byte [esp + 0x80], 0
mov edx, esi
push dword [esp + 0x80]
push eax
call fcn.00439220
add esp, 8
cmp eax, esi
jne 0x434fe2
sub esi, dword [esp + 0x5c]
test esi, 0xfffffff8
mov esi, dword [esp + 0x10]
je 0x434fd7
push 0x2c
mov ecx, esi
call fcn.00413840
push dword [esp + 0x20]
mov ecx, esi
call fcn.00406540
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x434ff3
push eax
call fcn.004a733a
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
test byte [ecx], 8
je 0x435033
call fcn.0043a1f0
test eax, eax
je 0x435033
push dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push dword [esp + 0x44]
mov cl, byte [esp + 0x4c]
push dword [esp + 0x40]
push dword [ebp + 0x28]
call fcn.00439f40
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0x238], 0xf
mov dword [esp + 0x234], 0
mov byte [esp + 0x224], 0
test byte [eax], 3
je 0x4351ae
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf], 0
test eax, eax
je 0x43507f
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.004334f0
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x43509f
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
lea eax, [esp + 0x34]
mov byte [esp + 0x13], 1
push eax
mov ecx, edi
call fcn.00434a40
mov ecx, eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x4350f0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [ebp + 0x3c]
push dword [esp + 0x90]
push dword [esp + 0x54]
push dword [esp + 0x5c]
push dword [esp + 0x58]
push dword [ebp + 0x28]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x5c]
push dword [esp + 0x4c]
push dword [esp + 0xbc]
push dword [esp + 0x60]
call fcn.00432500
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x16c]
test al, 8
je 0x43513d
push ecx
mov ecx, dword [esp + 0x48]
cmp cl, 0x58
push dword [esp + 0x5c]
movzx eax, cl
mov ecx, 0x42
cmove eax, ecx
mov ecx, edi
movzx eax, al
push eax
lea eax, [esp + 0x268]
push eax
call fcn.00435350
push eax
lea ecx, [esp + 0x228]
call fcn.0040f020
lea ecx, [esp + 0x25c]
call fcn.00406510
cmp byte [esp + 0xf], 0
je 0x43514b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x234], 0
je 0x4351ae
cmp dword [0x4f9f2c], 2
jg 0x435193
push 2
push 0x7f9
mov eax, 4
lea ecx, [esp + 0xc8]
push str.d:webapps_b_build_slave_repo_build_src_base_trace_event_trace_event_impl.cc
mov dword [esp + 0x20], eax
call fcn.0040a070
lea ecx, [esp + 0x224]
add eax, 8
push ecx
push eax
call fcn.0040c320
add esp, 8
mov eax, dword [esp + 0x14]
test al, 4
je 0x4351b2
and eax, 0xfffffffb
lea ecx, [esp + 0xc0]
mov dword [esp + 0x14], eax
call fcn.0040a0c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x150], ecx
jne 0x435265
mov dword [esp + 0x23c], 0
mov dword [esp + 0x240], 0
mov dword [esp + 0x258], 0xf
mov dword [esp + 0x254], 0
mov byte [esp + 0x244], 0
test eax, 0x200
je 0x435209
lea ecx, [esp + 0x170]
call fcn.0040a0c0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x2c]
lea ecx, [edi + 0x154]
call fcn.004131c0
lea ecx, [edi + 0x130]
mov bl, al
push ecx
lea ecx, [esp + 0x240]
call fcn.004170e0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x435255
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x435255
push eax
call dword [esp + 0x244]
add esp, 4
lea ecx, [esp + 0x23c]
call fcn.00417090
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
test byte [eax], 4
je 0x4352b7
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x4352b7
push dword [ebp + 0x3c]
mov edx, dword [esp + 0x48]
cmp dl, 0x58
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x44]
push dword [ebp + 0x28]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x48]
push eax
movzx eax, dl
mov edx, 0x42
cmove eax, edx
movzx eax, al
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call ecx
add esp, 0x30
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4352d6
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
call fcn.00433620
cmp dword [esp + 0x238], 0x10
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
jb 0x4352fc
push dword [esp + 0x224]
call fcn.004a733a
add esp, 4
push 0
push dword [esi]
mov dword [esp + 0x240], 0xf
mov dword [esp + 0x23c], 0
mov byte [esp + 0x22c], 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x43532d
call fcn.0042e260
mov ecx, dword [esp + 0x274]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a7e44
mov esp, ebp
pop ebp
ret 0x38