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

Disassembly:
mov eax, 0x1201c8f9
call fcn.1201a4d8
sub esp, 0x70
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x14]
mov edx, dword [edx + 0x40]
xor eax, eax
mov ax, word [esi + 8]
movzx ecx, ax
mov ecx, dword [edx + ecx*4]
push edi
mov word [esi + 0xa], ax
xor edi, edi
inc eax
mov word [esi + 8], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x3c]
push eax
mov dword [ebp - 0x1c], edi
call fcn.1201b254
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.1201b254
mov eax, dword [eax]
lea ebx, [esi + 0x6c]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1201b254
mov eax, dword [ebp - 0x2c]
cmp eax, edi
mov byte [ebp - 4], 0
je 0x12017f7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x12017f8c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebx]
cmp ecx, edi
jne 0x12017fa2
push edi
push 0x120021b8
push 0x985
jmp 0x1201837a
lea eax, [ebp - 0x28]
push eax
call fcn.1201b254
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.1201b254
mov eax, dword [eax]
lea ebx, [esi + 0x48]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1201b254
mov eax, dword [ebp - 0x2c]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x12017fde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x12017fef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx], edi
je 0x12017f92
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x28]
push eax
call fcn.1201b254
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call fcn.1201b254
mov eax, dword [eax]
lea ebx, [esi + 0x40]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.1201b254
mov eax, dword [ebp - 0x2c]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x12018032
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x12018043
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx], edi
je 0x12017f92
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x24]
mov ecx, dword [eax + 0x28]
push 0xffffffffffffffff
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
call fcn.1201b254
cmp ax, 0xffff
mov dword [ebp - 0x20], eax
je 0x12018301
movsx eax, word [ebp - 0x20]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x40]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0x24]
cmp dword [edi + 0x50], 0
mov dword [ebp - 0x18], eax
je 0x12018093
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x1201809a
mov dword [ebp - 0x14], 0x120021ac
mov eax, dword [edi + 0x4c]
and eax, 0xfffffff0
or eax, dword [ebp + 0xc]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 0x18]
and eax, 0xfffff0ff
or eax, ecx
mov dword [edi + 0x4c], eax
cmp dword [ebx + 0xc], 0
je 0x120180c0
mov dword [edi + 0x68], 1
cmp dword [ebp + 0xc], 1
je 0x120180d0
cmp dword [ebx + 0x2c], 1
je 0x120182e4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.1201b254
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 6
call fcn.1201b254
mov eax, dword [eax]
lea ecx, [esi + 0x4c]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.1201b254
test eax, eax
mov eax, dword [ebp - 0x30]
setne bl
test eax, eax
mov byte [ebp - 4], 6
je 0x1201811a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.1201b254
test bl, bl
pop ecx
jne 0x12018352
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.1201b254
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 8
call fcn.1201b254
mov eax, dword [eax]
lea ebx, [esi + 0x44]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.1201b254
test eax, eax
mov eax, dword [ebp - 0x34]
setne byte [ebp - 0xd]
test eax, eax
mov byte [ebp - 4], 8
je 0x12018182
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.1201b254
cmp byte [ebp - 0xd], 0
pop ecx
jne 0x12018352
push dword [ebp - 0x14]
lea ecx, [ebp - 0x6c]
call fcn.1201b254
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x40]
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 0xa
call fcn.1201b254
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.1201b254
mov ebx, eax
mov eax, dword [ebp - 0x38]
neg ebx
sbb bl, bl
inc bl
test eax, eax
mov byte [ebp - 4], 0xa
je 0x120181ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.1201b254
test bl, bl
pop ecx
jne 0x1201835e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1201b254
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x48]
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 0xc
call fcn.1201b254
mov eax, dword [eax]
lea ecx, [esi + 0x4c]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.1201b254
mov ebx, eax
mov eax, dword [ebp - 0x3c]
neg ebx
sbb bl, bl
inc bl
test eax, eax
mov byte [ebp - 4], 0xc
je 0x1201825d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.1201b254
test bl, bl
pop ecx
jne 0x1201836c
cmp dword [ebp + 0xc], 1
je 0x120182e1
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x2c], 1
je 0x120182e1
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
je 0x12018298
cmp dword [edi + 0x50], ebx
je 0x1201829d
push ebx
jmp 0x120182a0
cmp dword [edi + 0x50], ebx
jne 0x120182aa
push dword [ebp - 0x18]
mov ecx, esi
call fcn.12016620
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jl 0x12018341
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x28], ebx
call fcn.1201b254
cmp ax, 0xffff
jne 0x120182e1
push dword [ebp - 0x18]
mov ecx, esi
call fcn.12016741
test eax, eax
mov dword [ebp - 0x1c], eax
jl 0x12018383
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
call fcn.1201b254
cmp ax, 0xffff
mov dword [ebp - 0x20], eax
jne 0x12018072
xor edi, edi
cmp dword [ebp + 0xc], 1
je 0x1201833f
cmp dword [ebx + 0x2c], 1
jne 0x1201833f
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x38]
push edi
push edi
add ebx, 0x34
push ebx
push eax
push edi
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.1201725b
cmp eax, edi
jl 0x12018341
push dword [ebp + 0xc]
mov ecx, esi
push edi
push 1
push ebx
push dword [ebp - 0x38]
push edi
call fcn.1201725b
cmp eax, edi
jl 0x12018341
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
push 0
push dword [ebp - 0x14]
push 0xb09
jmp 0x1201837a
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x78]
push dword [eax + 0x18]
push dword [eax + 0x10]
jmp 0x12018375
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
push 0
push eax
push 0xafb
mov ecx, esi
call fcn.1201b254
jmp 0x12018341
mov eax, dword [ebp - 0x1c]
jmp 0x12018341