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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, ecx
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0x38], eax
mov dword [esp], edx
mov eax, dword [edx + 4]
cmp eax, 0x401
je 0x1016a593
cmp eax, 0x12
jne 0x1016a5a1
cmp byte [esi + 0x1c], 0
je 0x1016a9a2
mov eax, dword [esi + 8]
mov byte [eax + 4], 1
xor ebx, ebx
jmp 0x1016a9da
mov eax, dword [esp]
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
je 0x1016a9ef
mov dword [esp + 4], esi
mov eax, dword [esi + 8]
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [0x102b5f20]
test eax, eax
je 0x1016ab5c
test byte [eax], 0x19
jne 0x1016ab77
mov edi, dword [esp + 4]
lea ecx, [edi + 0x3c]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
je 0x1016a630
mov dword [esp + 0x2c], ecx
lea eax, [edi + 0x48]
lea ecx, [esp + 0x24]
push eax
call fcn.101497f0
mov dword [esp + 0x30], 0
cmp dword [edi + 0x54], 0
je 0x1016a64c
mov ecx, dword [edi + 0x40]
sub ecx, dword [edi + 0x3c]
sar ecx, 2
jmp 0x1016a651
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
xor esi, esi
jmp 0x1016a693
mov ecx, 0xffffffff
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x2c]
mov edx, dword [esi]
mov eax, dword [esi + 4]
sub eax, edx
sar eax, 2
cmp eax, ecx
cmovae eax, ecx
test eax, eax
je 0x1016a693
cmp dword [edx], 0
jne 0x1016a693
mov ecx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x30], ecx
cmp eax, ecx
je 0x1016a693
mov edx, dword [esi]
cmp dword [edx + ecx*4], 0
lea ecx, [ecx + 1]
je 0x1016a680
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x1016a6d3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
sub ebx, ecx
sar ebx, 2
cmp ebx, edx
cmovae ebx, edx
cmp eax, ebx
jne 0x1016a770
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1016a7aa
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [ecx + 4]
sub ebx, dword [ecx]
sar ebx, 2
cmp ebx, eax
cmovae ebx, eax
cmp edx, ebx
je 0x1016a77e
mov eax, dword [esp + 0x30]
cmp esi, ecx
jne 0x1016a708
cmp eax, edx
je 0x1016a782
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
push dword [esp]
call dword [eax]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1016a6b0
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea edi, [eax + 1]
mov dword [esp + 0x30], edi
mov edx, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, edx
sar ecx, 2
cmp ecx, ebx
cmovae ecx, ebx
cmp edi, ecx
jae 0x1016a6b0
cmp dword [edx + eax*4 + 4], 0
jne 0x1016a6b0
add eax, 2
mov dword [esp + 0x30], eax
cmp ecx, eax
je 0x1016a6b0
mov edx, dword [esi]
cmp dword [edx + eax*4], 0
lea eax, [eax + 1]
je 0x1016a750
jmp 0x1016a6b0
cmp esi, dword [esp + 0x18]
jne 0x1016a70a
cmp eax, dword [esp + 0x1c]
jne 0x1016a70a
jmp 0x1016a786
mov esi, ecx
jmp 0x1016a786
test esi, esi
je 0x1016a7aa
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
je 0x1016aa08
cmp dword [esp + 0x18], 0
je 0x1016a7aa
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
call fcn.101497c0
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1016a7d6
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
je 0x1016a865
cmp dword [esp + 0x2c], 0
je 0x1016a7d6
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x24]
call fcn.101497c0
mov esi, dword [esp]
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
je 0x1016a849
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x48]
lea ecx, [esp + 0x24]
push eax
call fcn.101497f0
mov dword [esp + 0x30], 0
cmp dword [esi + 0x54], 0
je 0x1016a895
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
sar ecx, 2
jmp 0x1016a89a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
xor esi, esi
jmp 0x1016a8d3
mov ebx, dword [esi]
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x1016a7be
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx], 0
je 0x1016aa65
add ebx, 4
cmp eax, ebx
jne 0x1016a880
jmp 0x1016a7be
mov ecx, 0xffffffff
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x2c]
mov edx, dword [esi]
mov eax, dword [esi + 4]
sub eax, edx
sar eax, 2
cmp eax, ecx
cmovae eax, ecx
test eax, eax
je 0x1016a8d3
cmp dword [edx], 0
jne 0x1016a8d3
mov ecx, 1
nop
mov dword [esp + 0x30], ecx
cmp eax, ecx
je 0x1016a8d3
mov edx, dword [esi]
cmp dword [edx + ecx*4], 0
lea ecx, [ecx + 1]
je 0x1016a8c0
test esi, esi
je 0x1016a979
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
sub edi, ecx
sar edi, 2
cmp edi, edx
cmovae edi, edx
cmp eax, edi
je 0x1016a955
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
push dword [esp]
call dword [eax + 4]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1016a979
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ebx, [eax + 1]
mov dword [esp + 0x30], ebx
mov edx, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, edx
sar ecx, 2
cmp ecx, edi
cmovae ecx, edi
cmp ebx, ecx
jae 0x1016a8e0
cmp dword [edx + eax*4 + 4], 0
jne 0x1016a8e0
add eax, 2
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x30], eax
cmp ecx, eax
je 0x1016a8e0
mov edx, dword [esi]
cmp dword [edx + eax*4], 0
lea eax, [eax + 1]
je 0x1016a940
jmp 0x1016a8e0
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
je 0x1016aa35
cmp dword [esp + 0x2c], 0
je 0x1016a979
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x24]
call fcn.101497c0
mov eax, dword [0x102b5f24]
test eax, eax
je 0x1016ab8e
test byte [eax], 0x19
mov esi, dword [esp + 0xc]
jne 0x1016aba5
mov bl, 1
test esi, esi
je 0x1016a9da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x1016a9da
mov ecx, dword [0x102b5f38]
test ecx, ecx
jne 0x1016a9d1
sub esp, 0x14
movaps xmm0, xmmword [0x10264b80]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.Chrome.MessageLoopProblem
call fcn.10153aa0
add esp, 0x14
mov ecx, eax
mov dword [0x102b5f38], eax
mov eax, dword [ecx]
push 3
call dword [eax + 0x14]
mov bl, 1
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.10205d16
mov ecx, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.1016a310
mov ebx, dword [esi]
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x1016a792
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx], 0
je 0x1016aabc
add ebx, 4
cmp eax, ebx
jne 0x1016aa20
jmp 0x1016a792
mov edi, dword [esi]
mov eax, dword [esi + 4]
cmp edi, eax
je 0x1016a961
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi], 0
je 0x1016ab0c
add edi, 4
cmp eax, edi
jne 0x1016aa50
jmp 0x1016a961
cmp eax, ebx
je 0x1016aa94
lea ecx, [eax - 4]
cmp ecx, ebx
je 0x1016aa94
lea ecx, [ebx + 4]
jmp 0x1016aa87
add ecx, 4
cmp eax, ecx
je 0x1016aa94
mov edx, dword [ecx]
test edx, edx
je 0x1016aa80
mov dword [ebx], edx
add ebx, 4
jmp 0x1016aa80
cmp ebx, eax
je 0x1016a7be
mov edi, dword [esi + 4]
sub eax, ebx
add eax, ebx
sub edi, eax
je 0x1016aab2
push edi
push eax
push ebx
call fcn.10208400
add esp, 0xc
add ebx, edi
mov dword [esi + 4], ebx
jmp 0x1016a7be
cmp eax, ebx
je 0x1016aae4
lea ecx, [eax - 4]
cmp ecx, ebx
je 0x1016aae4
lea ecx, [ebx + 4]
jmp 0x1016aad7
add ecx, 4
cmp eax, ecx
je 0x1016aae4
mov edx, dword [ecx]
test edx, edx
je 0x1016aad0
mov dword [ebx], edx
add ebx, 4
jmp 0x1016aad0
cmp ebx, eax
je 0x1016a792
mov edi, dword [esi + 4]
sub eax, ebx
add eax, ebx
sub edi, eax
je 0x1016ab02
push edi
push eax
push ebx
call fcn.10208400
add esp, 0xc
add ebx, edi
mov dword [esi + 4], ebx
jmp 0x1016a792
cmp eax, edi
je 0x1016ab34
lea ecx, [eax - 4]
cmp ecx, edi
je 0x1016ab34
lea ecx, [edi + 4]
jmp 0x1016ab27
add ecx, 4
cmp eax, ecx
je 0x1016ab34
mov edx, dword [ecx]
test edx, edx
je 0x1016ab20
mov dword [edi], edx
add edi, 4
jmp 0x1016ab20
cmp edi, eax
je 0x1016a961
mov ebx, dword [esi + 4]
sub eax, edi
add eax, edi
sub ebx, eax
je 0x1016ab52
push ebx
push eax
push edi
call fcn.10208400
add esp, 0xc
add edi, ebx
mov dword [esi + 4], edi
jmp 0x1016a961
push str.base_toplevel
call fcn.101750c0
add esp, 4
mov dword [0x102b5f20], eax
test byte [eax], 0x19
je 0x1016a5c7
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x24]
mov ecx, eax
call fcn.1016b360
jmp 0x1016a5c7
push str.base_toplevel
call fcn.101750c0
add esp, 4
mov dword [0x102b5f24], eax
jmp 0x1016a986
mov ecx, eax
call fcn.1016b500
jmp 0x1016a993