Function at 0x1009fe43
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100eddaf
call fcn.100c908c
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 4]
push ebx
mov ecx, esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x14], ebx
call fcn.1009bdde
lea eax, [edi + 0x4c]
push eax
push 0x1010bac0
push 0xcd
mov ecx, esi
call fcn.1009ec87
push ebx
push 0x101445f0
push 0x101445d0
push ebx
push dword [edi + 0x5c]
call fcn.100c8799
add esp, 0x14
push 0x101519f8
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], eax
call fcn.1007170f
mov dword [ebp - 4], ebx
cmp byte [edi + 0x58], bl
je 0x1009ffe0
push str.htmldialog.html
lea ecx, [ebp - 0x10]
call fcn.10006a3d
lea esi, [edi + 0x50]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
push 3
pop edi
test eax, eax
je 0x1009fefd
lea eax, [ebp - 0x28]
push eax
call fcn.10060b08
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 1
call fcn.10006f5b
add esp, 0x10
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], edi
jmp 0x1009feff
mov eax, esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000548f
mov dword [ebp - 4], edi
test byte [ebp - 0x14], 2
je 0x1009ff20
mov ecx, dword [ebp - 0x2c]
and dword [ebp - 0x14], 0xfffffffd
add ecx, 0xfffffff0
call fcn.10003f60
test byte [ebp - 0x14], 1
mov byte [ebp - 4], 5
je 0x1009ff35
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10003f60
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x18]
push eax
call fcn.100499e2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.1007af57
add esp, 0x10
call fcn.1009606a
cmp eax, 2
jne 0x1009ffa1
push 0x101035fc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10006fb9
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x18]
push str.close:__
mov byte [ebp - 4], 7
call fcn.10006657
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10003f60
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.10004905
mov ecx, eax
call fcn.10053f6f
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
cmp ecx, ebx
je 0x1009ffc2
call fcn.100050b9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10003f60
jmp 0x100a02c0
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
push 0x100fa254
push 0x17
push ebx
push 0x100fab10
mov byte [ebp - 4], 8
call dword [sym.imp.ole32.dll_CoCreateInstance]
push dword [edi + 0x50]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
call fcn.10004905
mov eax, dword [eax]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x100a001d
mov eax, dword [eax]
jmp 0x100a001f
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x34]
push edx
push eax
push esi
call dword [ecx + 0x104]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp ecx, ebx
je 0x100a003d
call fcn.100050b9
lea esi, [edi + 0x54]
push esi
lea ecx, [ebp - 0x10]
call fcn.1000688b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x100a0090
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x100a0090
push 0x104
lea ecx, [ebp - 0x10]
call fcn.100054ad
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000dbfd
push str..html
lea ecx, [ebp - 0x10]
call fcn.1001195c
push str..html
push str..xsl
lea ecx, [ebp - 0x10]
call fcn.10006657
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000548f
push dword [esi]
mov byte [ebp - 4], 0xa
call edi
test eax, eax
je 0x100a00e7
lea eax, [ebp - 0x38]
push eax
call fcn.10060b08
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], 4
call fcn.10006f5b
add esp, 0x10
push 0xc
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
jmp 0x100a00e9
mov eax, esi
push eax
lea ecx, [ebp - 0x28]
call fcn.1000548f
mov dword [ebp - 4], 0xd
test byte [ebp - 0x14], 8
je 0x100a010e
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x14], 0xfffffff7
add ecx, 0xfffffff0
call fcn.10003f60
test byte [ebp - 0x14], 4
mov byte [ebp - 4], 0xf
je 0x100a0123
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.10003f60
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x68]
push eax
call fcn.10097821
pop ecx
pop ecx
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x10
jae 0x100a014d
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x20]
call fcn.10004905
mov eax, dword [eax]
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x100a0164
mov eax, dword [eax]
jmp 0x100a0166
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.10009e15
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x13
cmp ecx, ebx
je 0x100a0182
call fcn.100050b9
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call fcn.1007af57
pop ecx
pop ecx
call fcn.1009606a
cmp eax, 2
jne 0x100a01d1
push 0x101035fc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10006fb9
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x18]
push str.close:__
mov byte [ebp - 4], 0x14
call fcn.10006657
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x13
call fcn.10003f60
push ebx
lea ecx, [ebp - 0x18]
call fcn.100054ad
push eax
lea ecx, [ebp - 0x68]
call fcn.1000229b
cmp dword [ebp - 0x54], ebx
je 0x100a0284
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 0x100fa254
push 0x17
push ebx
push 0x100fab10
mov byte [ebp - 4], 0x15
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xfc]
cmp dword [ebp - 0x50], 8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x64]
jae 0x100a0229
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x24]
call fcn.10004905
mov eax, dword [eax]
mov byte [ebp - 4], 0x16
cmp eax, ebx
je 0x100a0240
mov eax, dword [eax]
jmp 0x100a0242
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x38]
push edx
push eax
push esi
call dword [ecx + 0x104]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x15
cmp ecx, ebx
je 0x100a0260
call fcn.100050b9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x13
cmp eax, ebx
je 0x100a0284
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.100022b8
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x100a02c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.100627b8
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x17
call fcn.10006f5b
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x18
call fcn.1000688b
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10003f60
call fcn.100b9dd5
push ebx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.100146ce
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x19
cmp eax, ebx
je 0x100a0329
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
jmp 0x100a032c
mov dword [ebp - 0x2c], ebx
mov edi, dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.1001805e
push eax
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp - 0x10]
call dword [edi + 4]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [ebp - 0x3c]
mov esi, dword [edi + 0x4c]
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.100054ad
push eax
lea ecx, [ebp - 0x38]
call fcn.10004905
mov eax, dword [eax]
mov byte [ebp - 4], 0x1b
cmp eax, ebx
je 0x100a0376
mov eax, dword [eax]
jmp 0x100a0378
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x4c]
push edx
push edx
push edx
push edx
push eax
push esi
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x1a
cmp ecx, ebx
je 0x100a0396
call fcn.100050b9
push 1
push edi
call fcn.1009fbde
pop ecx
pop ecx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x100a03b6
call fcn.100050b9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10