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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, ecx
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [esp + 0x78], eax
mov edi, dword [0x583054]
test edi, edi
je 0x4855a0
test byte [edi], 0x19
jne 0x4855bc
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, 0x401
je 0x4850f3
cmp eax, 0x12
jne 0x485101
cmp byte [ebx + 0x14], 0
mov esi, dword [esp + 0x34]
je 0x485298
mov eax, dword [ebx + 8]
mov byte [eax + 4], 1
xor ebx, ebx
jmp 0x485558
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x10]
je 0x4852d7
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ecx
je 0x485195
mov dword [esp + 0x58], ecx
lea eax, [ebx + 0x38]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [ebx + 0x38], ecx
mov dword [esp + 0x5c], 0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
sub ecx, eax
sar ecx, 2
mov edx, ebx
xor ebx, ebx
cmp dword [edx + 0x40], 1
mov esi, 0
sbb esi, esi
or esi, ecx
mov dword [esp + 0x60], esi
cmp ecx, esi
cmovae ecx, esi
test ecx, ecx
je 0x4851a9
cmp dword [eax], 0
jne 0x4851a9
mov edx, 1
nop dword [eax]
mov ebx, edx
mov dword [esp + 0x5c], edx
cmp ecx, edx
je 0x4851a9
lea edx, [ebx + 1]
cmp dword [eax + ebx*4], 0
je 0x485180
jmp 0x4851a9
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
xor esi, esi
xor ebx, ebx
mov edx, dword [esp + 0x58]
test edx, edx
je 0x48534e
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, esi
cmovae eax, esi
cmp ebx, eax
jne 0x48522d
lea ebx, [edx + 4]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 0xc]
jne 0x48531e
cmp ecx, edi
je 0x4852e5
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x4852e5
add ecx, 4
cmp edi, ecx
jne 0x4851f0
mov edx, edi
jmp 0x485318
mov eax, dword [esp + 0x60]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov esi, edi
sub esi, ecx
sar esi, 2
cmp esi, eax
cmovae esi, eax
mov ebx, dword [esp + 0x5c]
cmp ebx, esi
je 0x4851ca
mov ecx, dword [ecx + ebx*4]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov dword [esp], edx
call dword [eax]
sub esp, 4
mov edx, dword [esp + 0x58]
test edx, edx
je 0x48534e
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
lea ebx, [eax + 1]
mov dword [esp + 0x5c], ebx
mov esi, dword [edx]
mov ecx, dword [edx + 4]
sub ecx, esi
sar ecx, 2
cmp ecx, edi
cmovae ecx, edi
cmp ebx, ecx
jae 0x485210
cmp dword [esi + eax*4 + 4], 0
jne 0x485210
add eax, 2
nop word cs:[eax + eax]
nop
mov dword [esp + 0x5c], eax
cmp ecx, eax
je 0x485210
mov esi, dword [edx]
cmp dword [esi + eax*4], 0
lea eax, [eax + 1]
je 0x485280
jmp 0x485210
mov ecx, dword [0x583064]
test ecx, ecx
jne 0x4852c1
movaps xmm0, xmmword [0x52b330]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.Chrome.MessageLoopProblem
call fcn.00427430
mov ecx, eax
mov dword [0x583064], eax
mov eax, dword [ecx]
mov dword [esp], 3
call dword [eax + 0x14]
sub esp, 4
mov bl, 1
jmp 0x485558
mov ecx, ebx
call fcn.00484eb0
mov ebx, eax
jmp 0x485554
cmp ecx, edi
je 0x4852f0
lea edx, [ecx + 4]
cmp edx, edi
jne 0x485307
mov edx, edi
jmp 0x485316
add edx, 4
cmp edi, edx
je 0x485314
mov esi, dword [edx]
test esi, esi
je 0x485300
mov dword [ecx], esi
add ecx, 4
jmp 0x485300
mov edx, dword [ebx]
mov edi, ecx
cmp edx, edi
je 0x48531e
mov dword [ebx], edi
cmp dword [esp + 0x58], 0
je 0x48534e
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.USER32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
sub esp, 4
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x4853e5
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
lea eax, [esi + 0x38]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [esi + 0x38], ecx
mov dword [esp + 0x5c], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
sub ecx, eax
sar ecx, 2
xor edx, edx
cmp dword [esi + 0x40], 1
mov esi, 0
sbb esi, esi
or esi, ecx
mov dword [esp + 0x60], esi
cmp ecx, esi
cmovae ecx, esi
test ecx, ecx
je 0x4853f9
cmp dword [eax], 0
jne 0x4853f9
mov edi, 1
nop
mov edx, edi
mov dword [esp + 0x5c], edi
cmp ecx, edi
je 0x4853f9
lea edi, [edx + 1]
cmp dword [eax + edx*4], 0
je 0x4853d0
jmp 0x4853f9
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
xor esi, esi
xor edx, edx
mov edi, dword [esp + 0x58]
test edi, edi
je 0x48554e
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov ebx, eax
sub ebx, ecx
sar ebx, 2
cmp ebx, esi
cmovae ebx, esi
cmp edx, ebx
jne 0x48547d
lea edx, [edi + 4]
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0xc]
jne 0x48551e
cmp ecx, eax
je 0x4854e8
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x4854e8
add ecx, 4
cmp eax, ecx
jne 0x485440
mov esi, eax
jmp 0x485518
mov edx, dword [esp + 0x60]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov esi, eax
sub esi, ecx
sar esi, 2
cmp esi, edx
cmovae esi, edx
mov edx, dword [esp + 0x5c]
cmp edx, esi
je 0x48541a
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov dword [esp], edx
call dword [eax + 4]
sub esp, 4
mov edi, dword [esp + 0x58]
test edi, edi
je 0x48554e
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
lea ebx, [eax + 1]
mov dword [esp + 0x5c], ebx
mov edx, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, edx
sar ecx, 2
cmp ecx, esi
cmovae ecx, esi
cmp ebx, ecx
jae 0x485460
cmp dword [edx + eax*4 + 4], 0
jne 0x485460
add eax, 2
nop word cs:[eax + eax]
mov dword [esp + 0x5c], eax
cmp ecx, eax
je 0x485460
mov edx, dword [edi]
cmp dword [edx + eax*4], 0
lea eax, [eax + 1]
je 0x4854d0
jmp 0x485460
cmp ecx, eax
je 0x4854f3
lea esi, [ecx + 4]
cmp esi, eax
jne 0x485507
mov esi, eax
jmp 0x485516
add esi, 4
cmp eax, esi
je 0x485514
mov edi, dword [esi]
test edi, edi
je 0x485500
mov dword [ecx], edi
add ecx, 4
jmp 0x485500
mov esi, dword [edx]
mov eax, ecx
cmp esi, eax
je 0x48551e
mov dword [edx], eax
cmp dword [esp + 0x58], 0
je 0x48554e
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov bl, 1
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
test edi, edi
mov eax, dword [esp + 0x40]
je 0x485589
cmp byte [edi], 0
je 0x485589
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 8], xmm0
mov dword [esp], edi
mov dword [esp + 4], str.MessagePumpForUI::ProcessMessageHelper
call fcn.0043ae30
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004fe871
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp], str.base_toplevel
call fcn.00437e50
mov edi, eax
mov dword [0x583054], eax
test byte [edi], 0x19
je 0x4850c3
call fcn.0041e5d0
mov dword [esp + 0x38], eax
lea esi, [esp + 0x48]
mov dword [esp], esi
call fcn.004365b0
mov word [esp + 0x50], 0x201
mov dword [esp + 0x54], str.message
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 4], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::ProcessMessageHelper
mov dword [esp], 0x58
call fcn.0043ad00
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
mov al, byte [esp + 0x50]
test al, al
je 0x4850c5
xor esi, esi
jmp 0x48565c
add esi, 1
movzx ecx, al
cmp esi, ecx
jae 0x4850c5
cmp byte [esp + esi + 0x51], 8
jne 0x48564e
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x48564e
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
movzx eax, byte [esp + 0x50]
jmp 0x48564e