Function at 0x100747fb
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100967a3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100ae210]
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.1006adda
mov eax, 0x246c
call fcn.10082130
mov edi, esp
add esi, 0x10
mov dword [esp + 0x2490], esp
call fcn.10077630
lea edi, [esp + 0x2480]
call fcn.1002c2a5
push 0x1000c9f4
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.1005833e
push 0x10016a98
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.10058cd5
push 0x10017ab0
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x48], 2
call fcn.10058c7a
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 0x1000ca50
lea eax, [esp + 0x34]
push eax
call fcn.1002391d
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x1007491d
xor ecx, ecx
cmp byte [esi + 4], bl
sete cl
lea edi, [ecx - 1]
and edi, 0xfff93fad
lea edi, [edi - 0x7ff8ffa9]
call fcn.100751b8
jmp 0x10074a68
mov eax, dword [esi + 0x247c]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.10078eab
add eax, 0x10
mov dword [edi], eax
call fcn.100256a3
mov edi, eax
cmp edi, ebx
jge 0x100749a4
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
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 0x10017ad0
push eax
call fcn.10078b7a
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 0x1007498e
mov edi, 0x80004004
call fcn.100751b8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
jmp 0x10074a68
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 0x10074a29
cmp byte [esi + 4], bl
jne 0x10074a29
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
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 0x10017b30
push eax
call fcn.10078b7a
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.10078f0e
jmp 0x10074a59
mov eax, dword [esi + 0x247c]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10074a59
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0x10017b70
push ebx
call dword [eax + 4]
mov dword [esp + 0x1c], 2
mov edi, dword [esp + 0x1c]
call fcn.100751b8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 1
call fcn.1002395e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
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