Function at 0x10074b5d
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10096c32
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.1006b172
mov eax, 0x246c
call fcn.100824d0
mov edi, esp
add esi, 0x10
mov dword [esp + 0x2490], esp
call fcn.1007796c
lea edi, [esp + 0x2480]
call fcn.1002c25c
push 0x1000c9dc
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.100580f9
push 0x10016a78
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.10058a90
push 0x10017a90
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x48], 2
call fcn.10058a35
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 0x1000ca38
lea eax, [esp + 0x34]
push eax
call fcn.1002397d
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x10074c7f
xor ecx, ecx
cmp byte [esi + 4], bl
sete cl
lea edi, [ecx - 1]
and edi, 0xfff93fad
lea edi, [edi - 0x7ff8ffa9]
call fcn.100754f4
jmp 0x10074dca
mov eax, dword [esi + 0x247c]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.100791e7
add eax, 0x10
mov dword [edi], eax
call fcn.10025704
mov edi, eax
cmp edi, ebx
jge 0x10074d06
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 0x10017ab0
push eax
call fcn.10078ea6
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 0x10074cf0
mov edi, 0x80004004
call fcn.100754f4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x10074dca
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 0x10074d8b
cmp byte [esi + 4], bl
jne 0x10074d8b
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 0x10017b10
push eax
call fcn.10078ea6
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.1007924a
jmp 0x10074dbb
mov eax, dword [esi + 0x247c]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10074dbb
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0x10017b50
push ebx
call dword [eax + 4]
mov dword [esp + 0x1c], 2
mov edi, dword [esp + 0x1c]
call fcn.100754f4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 1
call fcn.100239be
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1007924a
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