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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a261e
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x60f074]
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.00550175
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.00550175
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.00550175
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 [0x61a268], 1
jne 0x46d368
cmp dword [0x61a250], 3
jg 0x46d368
call fcn.0046fec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d368
push 3
push 0x5f
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0x10c]
call fcn.0046c100
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.00403840
mov edx, str.should_only_have_one_message_loop_per_thread
mov ecx, eax
call fcn.00403840
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test al, 1
je 0x46d387
and eax, 0xfffffffe
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x14], eax
call fcn.0046c520
call fcn.0046fec0
mov edx, ebx
mov ecx, eax
call fcn.00486b80
push 0x24
call fcn.00550175
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.0046fec0
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 0x46d40c
add ecx, 4
mov eax, edi
lock xadd dword [ecx], eax
sub eax, 1
jne 0x46d40c
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 0x46d5b6
mov eax, dword [0x61a26c]
test eax, eax
je 0x46d46a
call eax
mov esi, eax
test esi, esi
je 0x46d440
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x46d462
add ecx, 4
lock xadd dword [ecx], edi
sub edi, 1
jne 0x46d462
test ecx, ecx
je 0x46d462
add ecx, 0xfffffffc
je 0x46d462
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x4c], esi
jmp 0x46d7d3
push 0x38
call fcn.00550175
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], 0x487e70
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 [0x61a268], 1
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x30], eax
jne 0x46d590
cmp dword [0x61a250], 3
jg 0x46d590
test eax, eax
jne 0x46d590
push 3
push 0xfe
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0x10c]
call fcn.0046c100
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.00403840
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
test cl, 2
je 0x46d5aa
lea ecx, [ebp - 0x10c]
call fcn.0046c520
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
jmp 0x46d437
cmp eax, 2
jne 0x46d716
push 0x58
call fcn.00550175
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.00487e40
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.0045deb0
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x30]
cmp ecx, 0xffffffff
je 0x46d6a5
mov dword [eax], ecx
cmp dword [0x61a268], 1
jne 0x46d6f0
cmp dword [0x61a250], 3
jg 0x46d6f0
cmp dword [eax], 0
jne 0x46d6f0
push 3
push 0x1bd
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0x10c]
call fcn.0046c100
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.00403840
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x14]
test cl, 4
je 0x46d70a
lea ecx, [ebp - 0x10c]
call fcn.0046c520
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
jmp 0x46d437
cmp dword [0x61a268], 1
jne 0x46d762
cmp dword [0x61a250], 3
jg 0x46d762
push str.TYPE_DEFAULT__type_
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00439b10
add esp, 4
test eax, eax
je 0x46d762
push eax
push ecx
push 0x78
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_loop.cpp
lea ecx, [ebp - 0x10c]
call fcn.0046bff0
lea ecx, [ebp - 0x10c]
call fcn.0046c520
push 0x18
call fcn.00550175
mov dword [ebp - 0x1c], eax
lea esi, [eax + 4]
mov dword [esi], 0
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0xc]
push 0
mov dword [eax], vtable.base::MessagePumpDefault.0
mov byte [eax + 8], 1
call fcn.00479950
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, 1
lock xadd dword [esi], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x46d7cd
add ecx, 4
lock xadd dword [ecx], edi
sub edi, 1
jne 0x46d7cd
test ecx, ecx
je 0x46d7cd
add ecx, 0xfffffffc
je 0x46d7cd
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x4c], eax
mov eax, ebx
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