Function at 0x1007fc9b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a4922
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 8]
mov ebx, dword [esi + 0xc]
push 0x10
push 4
mov dword [esi + 0x2488], eax
mov eax, dword [esi + 0x2480]
push 2
push eax
call fcn.100758a1
mov eax, 0x246c
call fcn.1008f0b0
mov edi, esp
add esi, 0x10
mov dword [esp + 0x2490], esp
call fcn.100830b9
lea edi, [esp + 0x2480]
call fcn.1002f543
push 0x1000c9d4
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.1005f448
push 0x100191c8
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.1005fe35
push 0x1001a288
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x48], 2
call fcn.1005fdda
mov byte [esp + 0x40], 3
mov eax, dword [eax]
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x1000ca30
lea eax, [esp + 0x34]
push eax
call fcn.10026633
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x1007fdbb
xor ecx, ecx
cmp byte [esi + 4], bl
sete cl
lea edi, [ecx - 1]
and edi, 0xfff93fad
lea edi, [edi - 0x7ff8ffa9]
call fcn.1008061f
jmp 0x1007ff06
mov eax, dword [esi + 0x247c]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [edi], eax
call fcn.10028552
mov edi, eax
cmp edi, ebx
jge 0x1007fe42
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x40], 7
mov eax, dword [esi + 0x247c]
push dword [eax]
lea eax, [esp + 0x20]
push 0x1001a2a8
push eax
call fcn.10084899
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x1c]
push ebx
call dword [eax + 4]
cmp byte [esi + 4], bl
je 0x1007fe2c
mov edi, 0x80004004
call fcn.1008061f
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
jmp 0x1007ff06
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov byte [esp + 0x40], 8
mov eax, dword [esi + 0x247c]
mov eax, dword [eax]
lea ecx, [esi - 8]
mov edx, dword [ecx]
push ecx
push ebx
push eax
push dword [esp + 0x20]
push ebx
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jge 0x1007fec7
cmp byte [esi + 4], bl
jne 0x1007fec7
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 9
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 0x1001a308
push eax
call fcn.10084899
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
add esp, 0xc
push edi
push ebx
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 8
call fcn.10084c29
jmp 0x1007fef7
mov eax, dword [esi + 0x247c]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007fef7
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0x1001a348
push ebx
call dword [eax + 4]
mov dword [esp + 0x1c], 2
mov edi, dword [esp + 0x1c]
call fcn.1008061f
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 1
call fcn.10026674
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4