Function at 0x41ec40
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], 0x488f6c
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.0044f797
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.0044f797
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.00405010
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.0044f797
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 [0x49ad1c], 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 0x41ee29
cmp dword [0x49ad2c], 3
jg 0x41ee29
call fcn.00421510
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ee29
sub esp, 8
mov dword [esp + 0x50], 3
lea ecx, [esp + 0x58]
mov ebx, 1
call fcn.00422bb0
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.00425610
mov edx, str.Check_failed:__current__.
lea ecx, [esp + 0x50]
call fcn.00407130
mov edx, str.should_only_have_one_message_loop_per_thread
mov ecx, eax
call fcn.00407130
test bl, 1
je 0x41ee3a
lea ecx, [esp + 0x48]
and ebx, 0xfffffffe
call fcn.00425110
call fcn.00421510
mov edx, edi
mov ecx, eax
call fcn.004345b0
push 0x24
call fcn.0044f797
mov edi, eax
add esp, 4
lea esi, [edi + 4]
mov dword [esi], 0
lea ecx, [edi + 8]
mov dword [edi], 0x48aa4c
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
call fcn.00421510
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 0x41eec0
push 0xffffffffffffffff
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x41eec0
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 0x41f042
mov eax, dword [0x49ad14]
test eax, eax
je 0x41eee1
call eax
mov edi, eax
jmp 0x41f269
push 0x38
call fcn.0044f797
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], 0x48a850
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], 0x4375d0
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 [0x49ad1c], 1
mov dword [edi + 0x30], eax
jne 0x41f02b
cmp dword [0x49ad2c], 3
jg 0x41f02b
test eax, eax
jne 0x41f02b
sub esp, 8
mov dword [esp + 0x50], 3
lea ecx, [esp + 0x58]
or ebx, 2
call fcn.00422bb0
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.00425610
mov edx, str.Check_failed:_message_hwnd_.
lea ecx, [esp + 0x50]
call fcn.00407130
test bl, 2
je 0x41f269
lea ecx, [esp + 0x48]
call fcn.00425110
jmp 0x41f269
cmp eax, 2
jne 0x41f1e6
push 0x58
call fcn.0044f797
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], 0x48a838
mov dword [edi + 0x30], 0
push 0x18
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.0044f797
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 0x41f14b
lea ecx, [edi + 0x30]
call fcn.00423e40
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41f142
cmp eax, 0xffffffff
je 0x41f142
mov cl, 1
jmp 0x41f144
xor cl, cl
test cl, cl
je 0x41f14b
mov dword [edi + 0x30], eax
cmp dword [0x49ad1c], 1
jne 0x41f1cf
cmp dword [0x49ad2c], 3
jg 0x41f1cf
mov eax, dword [edi + 0x30]
test eax, eax
je 0x41f16d
cmp eax, 0xffffffff
je 0x41f16d
mov al, 1
jmp 0x41f16f
xor al, al
test al, al
jne 0x41f1cf
sub esp, 8
mov dword [esp + 0x50], 3
lea ecx, [esp + 0x58]
or ebx, 4
call fcn.00422bb0
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.00425610
mov edx, str.Check_failed:_port_.IsValid__.
lea ecx, [esp + 0x50]
call fcn.00407130
test bl, 4
je 0x41f269
lea ecx, [esp + 0x48]
call fcn.00425110
jmp 0x41f269
cmp dword [0x49ad1c], 1
jne 0x41f237
cmp dword [0x49ad2c], 3
jg 0x41f237
mov dword [esp + 0xc], 0
test eax, eax
je 0x41f237
push str.TYPE_DEFAULT__type_
lea ecx, [esp + 0x10]
call fcn.004230e0
add esp, 4
test eax, eax
je 0x41f237
push eax
push ecx
push 0xa9
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.cc
lea ecx, [esp + 0x58]
call fcn.00425070
lea ecx, [esp + 0x48]
call fcn.00425110
push 0x18
call fcn.0044f797
mov edi, eax
push 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi], 0x48a9a8
mov byte [edi + 8], 1
call fcn.0043bfc0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [esp + 0x14]
push edi
call fcn.00421580
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4