Function at 0x1007dd1a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a1326
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
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.10073ff6
mov eax, 0x246c
call fcn.1008c9d0
mov edi, esp
add esi, 0x10
mov dword [esp + 0x2490], esp
call fcn.100810cb
lea edi, [esp + 0x2480]
call fcn.1002f76b
push 0x1000ca5c
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.1005e2c8
push 0x10019510
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 1
call fcn.1005ec33
push 0x1001a5d0
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x48], 2
call fcn.1005ebdd
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 0x1000cab8
lea eax, [esp + 0x34]
push eax
call fcn.10026b7f
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x1007de3a
xor ecx, ecx
cmp byte [esi + 4], bl
sete cl
lea edi, [ecx - 1]
and edi, 0xfff93fad
lea edi, [edi - 0x7ff8ffa9]
call fcn.1007e668
jmp 0x1007df85
mov eax, dword [esi + 0x247c]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [edi], eax
call fcn.10028a24
mov edi, eax
cmp edi, ebx
jge 0x1007dec1
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
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 0x1001a5f0
push eax
call fcn.100827bb
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 0x1007deab
mov edi, 0x80004004
call fcn.1007e668
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
jmp 0x1007df85
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 0x1007df46
cmp byte [esi + 4], bl
jne 0x1007df46
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
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 0x1001a650
push eax
call fcn.100827bb
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.10082afb
jmp 0x1007df76
mov eax, dword [esi + 0x247c]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007df76
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0x1001a690
push ebx
call dword [eax + 4]
mov dword [esp + 0x1c], 2
mov edi, dword [esp + 0x1c]
call fcn.1007e668
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 1
call fcn.10026bbb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
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