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

Disassembly:
push 0xffffffffffffffff
push 0x100320eb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10040020]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x48]
mov byte [esp + 0x78], 2
call eax
cmp eax, edi
jl 0x10017cba
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x1001796f
mov esi, eax
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x18], eax
je 0x1001795b
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
push 0x10033e34
push ecx
mov ecx, dword [edx]
call ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp esi, edi
je 0x1001796f
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10017cc2
push ecx
lea ecx, [esp + 0x2c]
call fcn.100149c0
test eax, eax
je 0x10017cba
push 0x1003ee3c
lea ecx, [esp + 0x58]
call fcn.1000b9c0
push 0x1003de28
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 3
call fcn.1000b9c0
push 0x1003df78
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 4
call fcn.1000b9c0
push 0x1003e8f4
lea ecx, [esp + 0x64]
mov byte [esp + 0x74], 5
call fcn.1000b9c0
mov dword [esp + 0x64], edi
cmp dword [esp + 0x54], edi
mov dword [esp + 0x34], edi
je 0x10017c5b
lea eax, [esp + 0x54]
mov bl, 8
jmp 0x100179f0
mov dword [esp + 0x24], edi
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
lea esi, [esp + 0x24]
push esi
push eax
mov eax, dword [edx + 0xbc]
push ecx
mov byte [esp + 0x7c], bl
call eax
cmp eax, edi
mov eax, dword [esp + 0x24]
jl 0x10017c31
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, edi
jge 0x10017a30
mov dword [esp + 0x2c], edi
xor ecx, ecx
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
jle 0x10017c2d
mov dword [esp + 0x14], edi
mov word [esp + 0x44], 3
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
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 + 0x98], 0xa
mov dword [eax + 0xc], ebx
call ecx
test eax, eax
jl 0x10017bf5
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10017bf5
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x3c], esp
je 0x10017ac1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.10014ca0
mov edi, dword [esp + 0x7c]
add esp, 4
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0x4c]
mov dword [esp + 0x3c], eax
call fcn.100171d0
cmp byte [eax], 1
jne 0x10017aed
lea edx, [esp + 0x44]
push edx
jmp 0x10017bfa
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x10017b10
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x100345fc
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [edx + 0xfc]
mov byte [esp + 0x78], 0xb
call ecx
test eax, eax
mov eax, dword [esp + 0x1c]
jge 0x10017b68
test eax, eax
mov byte [esp + 0x70], 0xa
je 0x10017b3e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
test eax, eax
mov bl, 8
mov byte [esp + 0x70], bl
je 0x10017c16
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10017c16
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0xf8]
call eax
test eax, eax
jl 0x10017be0
mov esi, dword [edi + 0x2088]
lea ebp, [edi + 0x20e8]
push esi
mov ecx, ebp
call fcn.100145d0
test eax, eax
je 0x10017be0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push esi
push eax
push ecx
call fcn.10014630
add esp, 0xc
test eax, eax
je 0x10017be0
push eax
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.10014bc0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.10014bc0
mov ecx, edi
call fcn.10017640
test al, al
je 0x10017be0
mov ecx, ebp
call fcn.10014870
mov eax, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x70], 0xa
je 0x10017bf5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
test eax, eax
mov bl, 8
mov byte [esp + 0x70], bl
je 0x10017c16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x30]
add ecx, 1
xor edi, edi
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
jl 0x10017a40
mov eax, dword [esp + 0x24]
cmp eax, edi
mov byte [esp + 0x70], 7
je 0x10017c42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
add eax, 1
cmp dword [esp + eax*4 + 0x54], edi
mov dword [esp + 0x34], eax
lea eax, [esp + eax*4 + 0x54]
jne 0x100179f0
push 0x100013c0
push 5
push 4
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x80], 2
call fcn.1001ea8a
mov eax, dword [esp + 0x28]
cmp eax, edi
mov byte [esp + 0x70], 1
je 0x10017c8b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x70], 0
je 0x10017ca0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x70], 0xffffffff
je 0x10017d08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10017d08
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp edx, edi
mov byte [esp + 0x70], 1
je 0x10017cdf
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x70], 0
je 0x10017cf4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x20]
cmp ecx, edi
mov dword [esp + 0x70], 0xffffffff
je 0x10017d08
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4