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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x4a00a0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov al, byte [ebp + 0xc]
xor edx, edx
mov byte [esp + 0x12], al
mov byte [esp + 0x2c], al
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x68], eax
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x74], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
cmp byte [ecx], al
jne 0x425696
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 0x44
push dword [ebx + 0x20c]
lea edi, [ebx + 0x20c]
mov dword [esp + 0x60], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4256d6
mov dword [esi], 0
mov eax, esi
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 0x44
push edi
push dword [edi]
call fcn.00444640
mov eax, dword [ebp + 0x48]
add esp, 8
test al, 4
je 0x425725
mov esi, dword [ebp + 0x24]
test eax, 0x300
mov eax, dword [ebp + 0x28]
je 0x425701
xor esi, dword [ebx + 0x108]
xor eax, dword [ebx + 0x10c]
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 0x1c]
xor esi, dword [ebx + 0x108]
mov dword [esp + 0x48], esi
mov esi, dword [ebp + 0x20]
xor esi, dword [ebx + 0x10c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], esi
jmp 0x425741
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x48], eax
push dword [esp + 0x6c]
lea eax, [esp + 0x64]
mov ecx, ebx
push eax
call fcn.00423b20
call fcn.00423840
test al, al
je 0x425768
lea ecx, [esp + 0x80]
call fcn.004237c0
jmp 0x42577b
xorps xmm0, xmm0
lea eax, [esp + 0x88]
movlpd qword [esp + 0x88], xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov ecx, ebx
mov dword [esp + 0x80], eax
call fcn.00424a00
push dword [ebx + 0x204]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
jne 0x4258de
call int.00441bf0
push dword [esp + 0x18]
mov ecx, eax
call fcn.00441a70
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.00427990
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp esi, eax
je 0x4258de
test esi, esi
je 0x4258de
cmp byte [esi], 0
je 0x4258de
call fcn.00427990
push esi
push dword [eax]
call fcn.00444640
add esp, 8
lea edi, [ebx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebx + 0x9c]
call fcn.00427e80
mov esi, dword [esp + 0x4c]
cmp esi, dword [ebx + 0xa0]
jne 0x425850
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [ebx + 0x9c]
call fcn.00427660
add esp, 4
mov ecx, eax
call fcn.00404be0
jmp 0x4258d3
sub esp, 8
mov ecx, esp
push 0x499e48
call fcn.00403cc0
sub esp, 8
lea eax, [esi + 0xc]
mov ecx, esp
push eax
call fcn.00403c90
push 1
lea ecx, [esp + 0xa8]
call fcn.00436630
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0xa8]
add esp, 0x14
push dword [esp + 0x74]
push eax
call fcn.00429e30
mov ecx, dword [esp + 0xa0]
add esp, 8
cmp eax, ecx
jne 0x4258c7
cmp dword [esp + 0x94], ecx
je 0x4258bb
push 0x2c
lea ecx, [esi + 0xc]
call fcn.0041d3c0
push dword [esp + 0x14]
lea ecx, [esi + 0xc]
call fcn.00403ef0
lea ecx, [esp + 0x94]
call fcn.004274c0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
test byte [esi], 8
je 0x42590a
push ecx
push dword [esp + 0x3c]
mov cl, byte [esp + 0x1a]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [ebp + 0x34]
sub esp, 8
push dword [esp + 0x44]
call fcn.004451c0
add esp, 0x20
xor eax, eax
mov dword [esp + 0x218], 0xf
xor cl, cl
mov dword [esp + 0x214], 0
test byte [esi], 0x10
mov byte [esp + 0x204], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x11], cl
je 0x4259f8
push 0x78
call fcn.00466a4b
add esp, 4
mov ecx, eax
call fcn.0044a8a0
push dword [esp + 0x80]
mov ecx, eax
mov dword [esp + 0x58], eax
push dword [esp + 0x74]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [ebp + 0x48]
push dword [esp + 0x7c]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [ebp + 0x34]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x7c]
push dword [esp + 0x90]
push dword [esp + 0x64]
push esi
push dword [esp + 0x70]
push dword [esp + 0x60]
call fcn.0044aaf0
lea eax, [esp + 0x11]
mov byte [esp + 0x11], 1
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, esi
call fcn.00429250
mov cl, byte [esp + 0x19]
add esp, 8
mov eax, dword [esp + 0x54]
test cl, cl
jne 0x4259d9
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
jmp 0x4259f8
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4259f8
mov ecx, eax
call fcn.0044a950
push dword [esp + 0x5c]
call fcn.00466a7e
mov cl, byte [esp + 0x15]
add esp, 4
test byte [esi], 1
je 0x425b21
test cl, cl
jne 0x425b21
mov byte [esp + 0x13], cl
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x425a2d
lea eax, [esp + 0x78]
push eax
call fcn.00424170
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x425a4d
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
push 1
lea eax, [esp + 0x7c]
mov byte [esp + 0x17], 1
push eax
mov ecx, ebx
call fcn.004254a0
mov ecx, eax
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x425ac3
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x425a6d
push ecx
mov eax, esp
mov dword [esp + 0x54], 0
mov dword [eax], edx
call fcn.0044a9c0
jmp 0x425abf
push dword [esp + 0x80]
push dword [esp + 0x74]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [ebp + 0x48]
push dword [esp + 0x7c]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [ebp + 0x34]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x7c]
push dword [esp + 0x90]
push dword [esp + 0x64]
push esi
push dword [esp + 0x70]
push dword [esp + 0x60]
call fcn.0044aaf0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x140]
test al, 8
je 0x425b10
cmp byte [esp + 0x12], 0x58
movzx eax, byte [esp + 0x12]
push ecx
push dword [esp + 0x70]
mov ecx, 0x42
cmove eax, ecx
mov ecx, ebx
movzx eax, al
push eax
lea eax, [esp + 0x228]
push eax
call fcn.00425e20
push eax
lea ecx, [esp + 0x208]
call fcn.00407390
lea ecx, [esp + 0x21c]
call fcn.00403f30
cmp byte [esp + 0x13], 0
je 0x425b21
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esp + 0x214], 0
je 0x425b84
cmp dword [0x4a3124], 2
jg 0x425b69
push 2
push 0x5d1
mov eax, 4
lea ecx, [esp + 0xa8]
push str.c:_buildbot_slaveworkdir_reposoperachromium_src_base_trace_event_trace_log.cc
mov dword [esp + 0x28], eax
call fcn.00419a80
lea ecx, [esp + 0x204]
add eax, 8
push ecx
push eax
call fcn.00418c80
add esp, 8
mov eax, dword [esp + 0x1c]
test al, 4
je 0x425b88
and eax, 0xfffffffb
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1c], eax
call fcn.00419b40
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0x124], esi
jne 0x425c1a
mov dword [esp + 0x2c], 0
test al, 0x10
je 0x425bac
lea ecx, [esp + 0x150]
call fcn.00419b40
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edx, dword [esp + 0x28]
lea ecx, [ebx + 0x128]
call fcn.0041b8c0
mov ecx, dword [esp + 0x20]
mov bl, al
add ecx, 0x120
push ecx
lea ecx, [esp + 0x30]
call fcn.0041ba80
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, dword [esp + 0x2c]
test bl, bl
je 0x425bf6
test esi, esi
je 0x425c12
mov eax, dword [esi]
push esi
call eax
add esp, 4
test esi, esi
je 0x425c12
or ecx, 0xffffffff
lea eax, [esi + 4]
lock xadd dword [eax], ecx
sub ecx, 1
jne 0x425c12
mov eax, dword [esi + 8]
push esi
call eax
add esp, 4
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
test byte [esi], 4
je 0x425c72
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x425c72
push dword [ebp + 0x48]
cmp byte [esp + 0x16], 0x58
mov edx, 0x42
push dword [esp + 0x3c]
movzx eax, byte [esp + 0x1a]
push dword [esp + 0x44]
cmove eax, edx
push dword [esp + 0x4c]
movzx eax, al
push dword [ebp + 0x34]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x48]
push esi
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
call ecx
add esp, 0x34
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
mov dword [ebx], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 4], eax
test esi, esi
je 0x425c9b
mov ecx, esi
call fcn.0044a950
push esi
call fcn.00466a7e
add esp, 4
mov eax, dword [esp + 0x218]
cmp eax, 0x10
jb 0x425cbc
inc eax
lea ecx, [esp + 0x204]
push eax
push dword [esp + 0x208]
call fcn.00405140
push 0
push dword [edi]
mov dword [esp + 0x220], 0xf
mov dword [esp + 0x21c], 0
mov byte [esp + 0x20c], 0
call fcn.00444640
mov ecx, dword [esp + 0x23c]
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 0x44