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

Disassembly:
push 0xffffffffffffffff
push 0x100321c0
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x10040020]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10040020]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b4]
mov ecx, dword [eax + 0x20ac]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x5c], eax
je 0x10017e99
cmp dword [ecx + 0x10], 1
jne 0x10017e99
cmp dword [ecx + 8], esi
je 0x10017e99
cmp dword [eax + 0x20a8], esi
je 0x10017e99
mov dword [esp + 0x28], esi
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x48]
mov byte [esp + 0x1b4], 2
call eax
cmp eax, esi
jl 0x10017e4e
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call fcn.10014980
test eax, eax
je 0x10017e4e
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
call fcn.100149c0
test eax, eax
je 0x10017e4e
mov dword [esp + 0x34], esi
push 0x1003ee78
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b0], 3
call fcn.1000b9c0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov eax, dword [ecx + 0xbc]
mov byte [esp + 0x1b8], 4
call eax
cmp eax, esi
jge 0x10017ec3
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, esi
mov byte [esp + 0x1ac], 2
je 0x10017e4e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
cmp eax, esi
mov byte [esp + 0x1ac], 1
je 0x10017e66
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, esi
mov byte [esp + 0x1ac], 0
je 0x10017e7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x1ac], 0xffffffff
je 0x10017e99
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.1001dd14
add esp, 0x19c
ret 4
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, esi
jge 0x10017edc
mov dword [esp + 0x38], esi
xor ecx, ecx
cmp dword [esp + 0x38], esi
mov dword [esp + 0x44], ecx
jle 0x100183cc
mov dword [esp + 0x14], 0
mov word [esp + 0x48], 3
mov dword [esp + 0x50], ecx
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov ebp, dword [edx]
lea eax, [esp + 0x14]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov byte [esp + 0x1d4], 6
mov dword [eax + 0xc], ebx
call ecx
test eax, eax
jl 0x10018390
cmp dword [esp + 0x14], 0
je 0x10018390
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.10014bc0
call fcn.10014ca0
mov edi, dword [esp + 0x60]
mov esi, eax
add esp, 4
lea eax, [esp + 0x1c]
lea ebp, [edi + 0x4c]
push eax
mov ecx, ebp
mov dword [esp + 0x20], esi
call fcn.100171d0
cmp byte [eax], 1
je 0x10018390
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0x20], esi
call fcn.100171d0
mov byte [eax], 1
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.10014c10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001837e
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x2c]
mov byte [esp + 0x1b4], 8
call eax
test eax, eax
jl 0x1001836d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jl 0x1001836d
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x9c]
call fcn.10005500
mov esi, dword [esp + 0x98]
test esi, esi
jne 0x1001807c
lea edx, [esp + 0x9c]
test edx, edx
je 0x1001802d
push esi
call fcn.1001de50
add esp, 4
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x1ac], 6
je 0x10018050
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x1ac], 4
je 0x100183b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100183b3
mov eax, dword [edi + 0x20ac]
mov eax, dword [eax + 8]
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100180a7
test dl, dl
je 0x100180a3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100180a7
add eax, 2
add ecx, 2
test dl, dl
jne 0x10018087
xor eax, eax
jmp 0x100180ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10018359
lea ecx, [edi + 0x20b0]
call fcn.10014590
test eax, eax
jne 0x100180e1
lea ecx, [esp + 0x9c]
cmp esi, ecx
je 0x100180d7
push esi
call fcn.1001de50
add esp, 4
mov edx, dword [esp + 0x20]
push edx
jmp 0x10018032
mov ecx, dword [edi + 0x20a8]
call fcn.100152e0
mov esi, eax
test esi, esi
jne 0x10018117
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp eax, ecx
je 0x100180d7
push eax
call fcn.1001de50
mov edx, dword [esp + 0x24]
add esp, 4
push edx
jmp 0x10018032
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x120]
mov byte [esp + 0x1b8], 0xa
call eax
test eax, eax
jl 0x1001830e
cmp dword [esp + 0x24], 0
je 0x1001830e
push esi
lea ecx, [esp + 0x64]
call fcn.10006100
push 0
mov bl, 0xb
push 0x1003efc0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1b4], bl
call fcn.10014b90
mov esi, eax
cmp esi, 0xffffffff
je 0x10018286
push 0x10041594
lea ecx, [esp + 0x80]
call fcn.10006100
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xe8]
mov byte [esp + 0x1b4], 0xd
call eax
test eax, eax
jl 0x10018253
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x120]
call fcn.10005500
mov eax, dword [esp + 0x11c]
test eax, eax
mov byte [esp + 0x1ac], 0xe
je 0x10018237
push 0x1003e50c
push eax
call fcn.1001eb60
add esp, 8
test eax, eax
je 0x10018230
cmp byte [eax], 0
mov edx, eax
je 0x10018223
jmp 0x10018200
mov cl, byte [edx]
cmp cl, 0x22
je 0x10018220
cmp cl, 0x20
je 0x10018220
cmp cl, 0x3e
je 0x10018220
cmp cl, 0x27
je 0x10018220
add edx, 1
cmp byte [edx], 0
jne 0x10018200
jmp 0x10018223
mov byte [edx], 0
push eax
lea ecx, [esp + 0x80]
call fcn.10015e70
mov eax, dword [esp + 0x11c]
lea edx, [esp + 0x120]
cmp eax, edx
mov byte [esp + 0x1ac], 0xd
je 0x10018253
push eax
call fcn.1001de50
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x84]
push eax
push 6
push esi
lea ecx, [esp + 0x74]
call fcn.100159e0
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1ac], bl
call fcn.10003ce0
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x10018295
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x5c]
call fcn.1000b9c0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x58]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xe4]
mov byte [esp + 0x1b4], 0xf
call eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.10014bc0
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.10014bc0
call fcn.10014d40
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 0xa
call fcn.10003ce0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.10014bc0
call fcn.10014ca0
mov dword [esp + 0x20], eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.100171d0
mov byte [eax], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x1ac], 9
je 0x10018352
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x9c]
cmp esi, eax
je 0x1001836d
push esi
call fcn.1001de50
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x1ac], 6
je 0x10018390
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x1ac], 4
je 0x100183b3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x44]
add ecx, 1
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x44], ecx
jl 0x10017eec
mov edi, dword [esp + 0x3c]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x1ac], 2
je 0x100183eb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x1ac], 1
je 0x10018403
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0x1ac], 0
je 0x1001841b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x10017e84