Function at 0x10043640
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 [0x100db010]
xor eax, ebp
mov dword [esp + 0x78], eax
mov edi, dword [0x100dd418]
test edi, edi
je 0x10043b50
test byte [edi], 0x19
jne 0x10043b6c
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, 0x401
je 0x100436a3
cmp eax, 0x12
jne 0x100436b1
cmp byte [ebx + 0x14], 0
mov esi, dword [esp + 0x34]
je 0x10043848
mov eax, dword [ebx + 8]
mov byte [eax + 4], 1
xor ebx, ebx
jmp 0x10043b08
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x10]
je 0x10043887
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 0x10043745
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 0x10043759
cmp dword [eax], 0
jne 0x10043759
mov edx, 1
nop dword [eax]
mov ebx, edx
mov dword [esp + 0x5c], edx
cmp ecx, edx
je 0x10043759
lea edx, [ebx + 1]
cmp dword [eax + ebx*4], 0
je 0x10043730
jmp 0x10043759
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 0x100438fe
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 0x100437dd
lea ebx, [edx + 4]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 0xc]
jne 0x100438ce
cmp ecx, edi
je 0x10043895
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x10043895
add ecx, 4
cmp edi, ecx
jne 0x100437a0
mov edx, edi
jmp 0x100438c8
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 0x1004377a
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 0x100438fe
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 0x100437c0
cmp dword [esi + eax*4 + 4], 0
jne 0x100437c0
add eax, 2
nop word cs:[eax + eax]
nop
mov dword [esp + 0x5c], eax
cmp ecx, eax
je 0x100437c0
mov esi, dword [edx]
cmp dword [esi + eax*4], 0
lea eax, [eax + 1]
je 0x10043830
jmp 0x100437c0
mov ecx, dword [0x100dd428]
test ecx, ecx
jne 0x10043871
movaps xmm0, xmmword [0x100c2d40]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.Chrome.MessageLoopProblem
call fcn.10065f80
mov ecx, eax
mov dword [0x100dd428], eax
mov eax, dword [ecx]
mov dword [esp], 3
call dword [eax + 0x14]
sub esp, 4
mov bl, 1
jmp 0x10043b08
mov ecx, ebx
call fcn.10043460
mov ebx, eax
jmp 0x10043b04
cmp ecx, edi
je 0x100438a0
lea edx, [ecx + 4]
cmp edx, edi
jne 0x100438b7
mov edx, edi
jmp 0x100438c6
add edx, 4
cmp edi, edx
je 0x100438c4
mov esi, dword [edx]
test esi, esi
je 0x100438b0
mov dword [ecx], esi
add ecx, 4
jmp 0x100438b0
mov edx, dword [ebx]
mov edi, ecx
cmp edx, edi
je 0x100438ce
mov dword [ebx], edi
cmp dword [esp + 0x58], 0
je 0x100438fe
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 0x10043995
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 0x100439a9
cmp dword [eax], 0
jne 0x100439a9
mov edi, 1
nop
mov edx, edi
mov dword [esp + 0x5c], edi
cmp ecx, edi
je 0x100439a9
lea edi, [edx + 1]
cmp dword [eax + edx*4], 0
je 0x10043980
jmp 0x100439a9
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 0x10043afe
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 0x10043a2d
lea edx, [edi + 4]
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0xc]
jne 0x10043ace
cmp ecx, eax
je 0x10043a98
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x10043a98
add ecx, 4
cmp eax, ecx
jne 0x100439f0
mov esi, eax
jmp 0x10043ac8
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 0x100439ca
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 0x10043afe
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 0x10043a10
cmp dword [edx + eax*4 + 4], 0
jne 0x10043a10
add eax, 2
nop word cs:[eax + eax]
mov dword [esp + 0x5c], eax
cmp ecx, eax
je 0x10043a10
mov edx, dword [edi]
cmp dword [edx + eax*4], 0
lea eax, [eax + 1]
je 0x10043a80
jmp 0x10043a10
cmp ecx, eax
je 0x10043aa3
lea esi, [ecx + 4]
cmp esi, eax
jne 0x10043ab7
mov esi, eax
jmp 0x10043ac6
add esi, 4
cmp eax, esi
je 0x10043ac4
mov edi, dword [esi]
test edi, edi
je 0x10043ab0
mov dword [ecx], edi
add ecx, 4
jmp 0x10043ab0
mov esi, dword [edx]
mov eax, ecx
cmp esi, eax
je 0x10043ace
mov dword [edx], eax
cmp dword [esp + 0x58], 0
je 0x10043afe
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 0x10043b39
cmp byte [edi], 0
je 0x10043b39
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.1004bb40
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.10099c81
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.10048b60
mov edi, eax
mov dword [0x100dd418], eax
test byte [edi], 0x19
je 0x10043673
call fcn.10044900
mov dword [esp + 0x38], eax
lea esi, [esp + 0x48]
mov dword [esp], esi
call fcn.10045ca0
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.1004ba10
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
mov al, byte [esp + 0x50]
test al, al
je 0x10043675
xor esi, esi
jmp 0x10043c0c
add esi, 1
movzx ecx, al
cmp esi, ecx
jae 0x10043675
cmp byte [esp + esi + 0x51], 8
jne 0x10043bfe
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x10043bfe
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
movzx eax, byte [esp + 0x50]
jmp 0x10043bfe