Function at 0x5d6350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov dword [esp + 0x44], ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
mov esi, ecx
xor esi, 0x7fffffff
mov dword [esp + 0x40], eax
mov edi, eax
not edi
mov eax, edi
or eax, esi
mov dword [esp + 0x7c], 4
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
jne 0x5d63b1
mov dword [esp + 0x78], 0xffffffff
jmp 0x5d641f
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov edx, ecx
or edx, eax
je 0x5d63d1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
jmp 0x5d63e5
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.004adc80
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
sub edx, ecx
mov ecx, dword [esp + 0x3c]
sbb ecx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
call fcn.004ad910
test edx, edx
jne 0x5d6763
mov dword [esp + 0x78], eax
test eax, eax
je 0x5d674b
lea ebx, [esp + 0x78]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
jmp 0x5d643c
mov dword [esp + 0x78], eax
test eax, eax
je 0x5d674b
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp], ebx
call fcn.00402f50
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.00402f50
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x1cff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
sub esp, 0x14
test eax, eax
jne 0x5d65d3
movzx ebx, byte [0x701298]
test bl, 0x19
jne 0x5d663c
mov dword [esp + 0x38], 0xffffffff
xor edi, edi
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp], 0x40
call dword [sym.imp.USER32.dll_GetQueueStatus]
sub esp, 4
mov esi, eax
test bl, 0x19
je 0x5d6508
cmp byte [edi], 0
je 0x5d6508
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
movq xmm0, qword [esp + 0x50]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004c2d80
test esi, sym.browser_assistant.exe_Ordinal_0
jne 0x5d674b
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
movzx ebx, byte [0x701298]
test bl, 0x19
jne 0x5d66bf
mov dword [esp + 0x38], 0xffffffff
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
pxor xmm0, xmm0
movdqu xmmword [esp + 4], xmm0
lea eax, [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PeekMessageW]
sub esp, 0x14
mov esi, eax
test bl, 0x19
je 0x5d65b7
cmp byte [edi], 0
je 0x5d65b7
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004c2d80
test esi, esi
jne 0x5d674b
mov dword [esp + 0x7c], 0
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
lea ebx, [esp + 0x78]
mov eax, 0xffffffff
mov ecx, edi
or ecx, esi
je 0x5d6430
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.004adc80
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
sbb ecx, dword [esp + 0x54]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x80]
call fcn.004ad910
test edx, edx
je 0x5d6430
sar edx, 0x1f
not edx
mov eax, edx
jmp 0x5d6430
call fcn.00442c30
mov esi, eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea edi, [esp + 0x50]
mov dword [esp], edi
call fcn.004bd5e0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::WaitForWork_GetQueueStatus
mov dword [esp + 4], 0x701298
mov dword [esp], 0x58
call fcn.004c2c50
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], str.MessagePumpForUI::WaitForWork_GetQueueStatus
mov edi, 0x701298
jmp 0x5d64c0
call fcn.00442c30
mov esi, eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
lea edi, [esp + 0x80]
mov dword [esp], edi
call fcn.004bd5e0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::WaitForWork_PeekMessage
mov dword [esp + 4], 0x701298
mov dword [esp], 0x58
call fcn.004c2c50
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], str.MessagePumpForUI::WaitForWork_PeekMessage
mov edi, 0x701298
jmp 0x5d655c
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.0064180a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
sar edx, 0x1f
not edx
mov eax, edx
jmp 0x5d6413