Function at 0x41f640
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 4], eax
lea esi, [edi + 8]
lea ecx, [edi + 4]
mov dword [esp + 0x10], edi
push 8
mov dword [edi], 0x488f74
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00450175
add esp, 4
mov dword [esi], eax
push eax
push 8
call fcn.004013c0
push 8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x38]
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00450175
add esp, 0xc
mov dword [esi], eax
push eax
push 8
call fcn.004013c0
add esp, 8
lea ecx, [edi + 0x6c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x4c]
mov dword [eax], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [esp + 0x14], eax
mov word [edi + 0x68], 1
call fcn.004059f0
mov dword [edi + 0x84], ebx
lea esi, [edi + 0x88]
push 8
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00450175
add esp, 4
mov dword [esi], eax
push eax
push 8
call fcn.004013c0
add esp, 8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esi]
push 0x7d0
mov dword [eax], esi
lea eax, [edi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
cmp dword [0x49ad14], 1
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov byte [edi + 0xc0], bl
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], ebx
mov dword [edi + 0xe0], ebx
jne 0x41f829
cmp dword [0x49ad28], 3
jg 0x41f829
call fcn.00421f10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f829
sub esp, 8
mov dword [esp + 0x50], 3
lea ecx, [esp + 0x58]
mov ebx, 1
call fcn.004235a0
mov dword [esp + 0xec], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.cc
mov dword [esp + 0xf0], 0x89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x89
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.cc
lea ecx, [esp + 0x50]
mov dword [esp + 0xfc], eax
call fcn.00426000
mov edx, str.Check_failed:__current__.
lea ecx, [esp + 0x50]
call fcn.00407b40
mov edx, str.should_only_have_one_message_loop_per_thread
mov ecx, eax
call fcn.00407b40
test bl, 1
je 0x41f83a
lea ecx, [esp + 0x48]
and ebx, 0xfffffffe
call fcn.00425b00
call fcn.00421f10
mov edx, edi
mov ecx, eax
call fcn.00434f90
push 0x24
call fcn.00450175
mov edi, eax
add esp, 4
lea esi, [edi + 4]
mov dword [esi], 0
lea ecx, [edi + 8]
mov dword [edi], 0x48aa3c
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
call fcn.00421f10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
push esi
mov dword [edi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xe0]
mov dword [eax + 0xe0], edi
test esi, esi
je 0x41f8c0
push 0xffffffffffffffff
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x41f8c0
lea eax, [esi - 4]
neg esi
sbb esi, esi
and esi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
cmp eax, 1
jne 0x41fa42
mov eax, dword [0x49ad0c]
test eax, eax
je 0x41f8e1
call eax
mov edi, eax
jmp 0x41fc69
push 0x38
call fcn.00450175
mov edi, eax
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
push 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi], 0x48a840
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x18]
movlpd qword [esp + 0x24], xmm0
push eax
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x24], 0x437fc0
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], str.Chrome_MessagePumpWindow
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push esi
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push str.Chrome_MessagePumpWindow
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [0x49ad14], 1
mov dword [edi + 0x30], eax
jne 0x41fa2b
cmp dword [0x49ad28], 3
jg 0x41fa2b
test eax, eax
jne 0x41fa2b
sub esp, 8
mov dword [esp + 0x50], 3
lea ecx, [esp + 0x58]
or ebx, 2
call fcn.004235a0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xec], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
mov dword [esp + 0xf0], 0xf4
call eax
push 0xf4
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
lea ecx, [esp + 0x50]
mov dword [esp + 0xfc], eax
call fcn.00426000
mov edx, str.Check_failed:_message_hwnd_.
lea ecx, [esp + 0x50]
call fcn.00407b40
test bl, 2
je 0x41fc69
lea ecx, [esp + 0x48]
call fcn.00425b00
jmp 0x41fc69
cmp eax, 2
jne 0x41fbe6
push 0x58
call fcn.00450175
mov edi, eax
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi], 0x48a828
mov dword [edi + 0x30], 0
push 0x18
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00450175
add esp, 4
mov esi, eax
push esi
push 4
call fcn.004013c0
lea ecx, [esi + 4]
push ecx
push 4
mov dword [eax], esi
call fcn.004013c0
add esp, 0x10
mov dword [eax], esi
push 1
mov dword [edi + 0x34], esi
mov dword [edi + 0x3c], 0
push 0
push 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
push 0xffffffffffffffff
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esp + 0xc], eax
cmp dword [edi + 0x30], eax
je 0x41fb4b
lea ecx, [edi + 0x30]
call fcn.00424830
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41fb42
cmp eax, 0xffffffff
je 0x41fb42
mov cl, 1
jmp 0x41fb44
xor cl, cl
test cl, cl
je 0x41fb4b
mov dword [edi + 0x30], eax
cmp dword [0x49ad14], 1
jne 0x41fbcf
cmp dword [0x49ad28], 3
jg 0x41fbcf
mov eax, dword [edi + 0x30]
test eax, eax
je 0x41fb6d
cmp eax, 0xffffffff
je 0x41fb6d
mov al, 1
jmp 0x41fb6f
xor al, al
test al, al
jne 0x41fbcf
sub esp, 8
mov dword [esp + 0x50], 3
lea ecx, [esp + 0x58]
or ebx, 4
call fcn.004235a0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xec], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
mov dword [esp + 0xf0], 0x19c
call eax
push 0x19c
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
lea ecx, [esp + 0x50]
mov dword [esp + 0xfc], eax
call fcn.00426000
mov edx, str.Check_failed:_port_.IsValid__.
lea ecx, [esp + 0x50]
call fcn.00407b40
test bl, 4
je 0x41fc69
lea ecx, [esp + 0x48]
call fcn.00425b00
jmp 0x41fc69
cmp dword [0x49ad14], 1
jne 0x41fc37
cmp dword [0x49ad28], 3
jg 0x41fc37
mov dword [esp + 0xc], 0
test eax, eax
je 0x41fc37
push str.TYPE_DEFAULT__type_
lea ecx, [esp + 0x10]
call fcn.00423ad0
add esp, 4
test eax, eax
je 0x41fc37
push eax
push ecx
push 0xa9
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.cc
lea ecx, [esp + 0x58]
call fcn.00425a60
lea ecx, [esp + 0x48]
call fcn.00425b00
push 0x18
call fcn.00450175
mov edi, eax
push 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi], 0x48a998
mov byte [edi + 8], 1
call fcn.0043c9a0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [esp + 0x14]
push edi
call fcn.00421f80
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4