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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x10137920]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0xc], eax
xor edx, edx
mov eax, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x100393a4
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.1000abb0
xor eax, eax
mov word [esp + 0x18], ax
mov esi, 7
mov eax, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100393d7
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.1000abb0
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [esp + 0x20]
mov word [esp + 0x78], cx
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x5c], 0x10127474
mov dword [esp + 0x74], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
call fcn.1000b050
cmp dword [esp + 0x2c], 8
mov byte [esp + 0x8c], bl
jb 0x1003943e
mov eax, dword [esp + 0x18]
push eax
call fcn.10065453
add esp, 4
mov ecx, dword [ebp + 0x24]
sub esp, 0x18
xor eax, eax
mov dword [esp + 0xe4], 0x650072
mov word [esp + 0xe8], ax
mov dword [esp + 0x2c], esp
mov edi, esp
cmp ecx, ebx
jne 0x10039468
mov dword [edi + 0x10], ebx
jmp 0x1003947c
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
cmp ecx, edx
mov edx, dword [eax]
jne 0x10039476
push edi
jmp 0x10039477
push ebx
call edx
mov dword [edi + 0x10], eax
lea ecx, [esp + 0x68]
call fcn.10039890
lea eax, [esp + 0xcc]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10039490
mov ecx, dword [esp + 0x44]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xd0]
push eax
push ecx
push ebx
lea ecx, [esp + 0x44]
call fcn.10015e10
test eax, eax
jne 0x100394ce
lea ecx, [esp + 0x50]
call fcn.1003b130
mov edi, 8
jmp 0x100395b5
lea eax, [esp + 0x94]
xor edx, edx
push eax
lea ecx, [esp + 0x38]
lea edi, [esp + 0x54]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], dx
call fcn.10039fa0
cmp dword [esp + 0x10], ebx
je 0x10039597
xor ecx, ecx
push 6
mov word [esp + 0x1c], cx
push str.Chrome
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
call fcn.1000abb0
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0xb4]
call fcn.100193d0
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x10039553
mov eax, dword [esp + 0x18]
push eax
call fcn.10065453
add esp, 4
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xb0]
mov eax, edi
cmp esi, 8
jae 0x1003956f
lea eax, [esp + 0xb0]
mov edx, dword [esp + 0x10]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x10039575
cmp esi, 8
jb 0x10039592
push edi
call fcn.10065453
add esp, 4
mov esi, 7
mov edi, 8
cmp dword [esp + 0xa8], edi
jb 0x100395b5
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10065453
add esp, 4
mov dword [esp + 0x50], 0x10127474
cmp dword [esp + 0x84], edi
jb 0x100395d3
mov edx, dword [esp + 0x70]
push edx
call fcn.10065453
add esp, 4
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], ax
cmp ecx, ebx
je 0x10039608
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x48], edi
jb 0x1003961b
mov eax, dword [esp + 0x34]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov word [esp + 0x34], cx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
cmp ecx, ebx
je 0x10039644
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1006656c
mov esp, ebp
pop ebp
ret