Function at 0x411b50
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa17d
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
lea esi, [ebx + 8]
mov dword [ebx], vtable.MessageLoop.0
mov dword [ebx + 4], 1
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.004d1720
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 2
lea esi, [ebx + 0x38]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004d1720
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov word [ebx + 0x68], 1
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0xf
mov byte [ebx + 0x6c], 0
mov byte [ebp - 4], 6
lea esi, [ebx + 0x88]
mov dword [ebx + 0x84], 0
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004d1720
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [ebx + 0x9c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebx + 0xb4], 0
mov byte [ebx + 0xb8], 1
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov byte [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov byte [ebp - 4], 0xa
cmp dword [0x543fdc], 1
jne 0x411dbf
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x411dbf
push 3
push 0x5f
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0x10c]
call fcn.0040eda0
mov ecx, 1
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], ecx
mov edx, str.Check_failed:__current__.
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + 8]
call fcn.00405a30
mov edx, str.should_only_have_one_message_loop_per_thread
mov ecx, eax
call fcn.00405a30
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test al, 1
je 0x411dde
and eax, 0xfffffffe
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x14], eax
call fcn.0040f1c0
call fcn.00414650
mov edx, ebx
mov ecx, eax
call fcn.00423f60
push 0x24
call fcn.004d1720
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
lea esi, [edi + 4]
mov dword [esi], 0
lea ecx, [edi + 8]
mov dword [edi], vtable.base::MessageLoopProxyImpl.0
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 0xe
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 0x20], eax
mov eax, 1
mov byte [ebp - 4], 0xa
lock xadd dword [esi], eax
mov ecx, dword [ebx + 0xe8]
or edi, 0xffffffff
test ecx, ecx
je 0x411e63
add ecx, 4
mov eax, edi
lock xadd dword [ecx], eax
sub eax, 1
jne 0x411e63
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + 4]
mov dword [ebx + 0xe8], eax
mov eax, dword [edx]
cmp eax, 1
jne 0x411fda
mov eax, dword [0x544010]
test eax, eax
je 0x411e97
call eax
mov esi, eax
test esi, esi
je 0x41224d
lea ecx, [esi + 4]
jmp 0x412244
push 0x38
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [eax + 4], 0
lea ecx, [eax + 4]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [ebp - 0x24], ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov byte [ebp - 4], 0x10
push 0
mov dword [eax], vtable.base::MessagePumpForUI.0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x58]
movlpd qword [ebp - 0x4c], xmm0
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x50], 0x4253e0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], 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 [0x543fdc], 1
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x30], eax
jne 0x411fb4
test eax, eax
jne 0x411fb4
push 3
push 0xfe
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0x10c]
call fcn.0040eda0
mov byte [ebp - 4], 0x11
mov edx, str.Check_failed:_message_hwnd_.
mov ecx, dword [ebp - 0x14]
or ecx, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + 8]
call fcn.00405a30
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
test cl, 2
je 0x411fce
lea ecx, [ebp - 0x10c]
call fcn.0040f1c0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
jmp 0x412244
cmp eax, 2
jne 0x41212e
push 0x58
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [eax + 4], 0
lea ecx, [eax + 4]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [ebp - 0x18], ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax], vtable.base::MessagePumpForIO.0
mov dword [eax + 0x30], 0
lea esi, [eax + 0x34]
mov byte [ebp - 4], 0x14
push 0
mov dword [ebp - 0x20], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004253b0
mov dword [esi], eax
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
push 1
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 0x16
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
lea ecx, [esi + 0x30]
mov dword [ebp - 0x20], eax
call fcn.0040dfc0
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x30]
cmp ecx, 0xffffffff
je 0x4120c9
mov dword [eax], ecx
cmp dword [0x543fdc], 1
jne 0x41210b
cmp dword [eax], 0
jne 0x41210b
push 3
push 0x1bd
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0x10c]
call fcn.0040eda0
mov byte [ebp - 4], 0x17
mov edx, str.Check_failed:_port_.IsValid__.
mov ecx, dword [ebp - 0x14]
or ecx, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + 8]
call fcn.00405a30
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x14]
test cl, 4
je 0x41223d
lea ecx, [ebp - 0x10c]
call fcn.0040f1c0
jmp 0x41223d
cmp dword [0x543fdc], 1
jne 0x412172
push str.TYPE_DEFAULT__type_
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00405ce0
add esp, 4
test eax, eax
je 0x412172
push eax
push 3
push 0x78
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0x10c]
call fcn.0040ec90
lea ecx, [ebp - 0x10c]
call fcn.0040f1c0
push 0x18
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
lea eax, [esi + 4]
mov dword [eax], 0
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
mov byte [ebp - 4], 0x19
push 0
mov dword [esi], vtable.base::MessagePumpDefault.0
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x412215
sub esp, 8
mov dword [ebp - 0x10c], 4
lea ecx, [ebp - 0x104]
call fcn.00406290
mov dword [ebp - 0x68], str.f:my_lab_tabexplorerextab_masterlibrary_base_synchronizationwaitable_event.cpp
mov dword [ebp - 0x64], 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
push 0x10
push str.f:my_lab_tabexplorerextab_masterlibrary_base_synchronizationwaitable_event.cpp
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x1b
call fcn.0040ee30
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x104]
mov eax, dword [ebp - 0x14]
mov edx, str.Check_failed:_handle_.
or eax, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
call fcn.00405a30
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp - 0x14]
test cl, 8
je 0x41222f
lea ecx, [ebp - 0x10c]
call fcn.0040f1c0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x41226f
add ecx, 4
lock xadd dword [ecx], edi
sub edi, 1
jne 0x41226f
test ecx, ecx
je 0x41226f
add ecx, 0xfffffffc
je 0x41226f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, ebx
mov dword [ebx + 0x4c], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4