Function at 0x1002dca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
mov ebx, dword [ebp + 8]
jb 0x1002dcdd
mov eax, dword [edi]
jmp 0x1002dcdf
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002df4e
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x70]
call fcn.1001be10
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x1002dd3f
push edx
push 0x100714cd
lea ecx, [ebp - 0x28]
call fcn.1000e0a0
jmp 0x1002dd56
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push eax
call fcn.1001b990
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.10032560
mov ecx, eax
call fcn.100330f0
mov byte [ebp - 4], 2
mov eax, dword [0x10083624]
test eax, eax
jne 0x1002dda6
push 0x94
call fcn.100383fe
mov esi, eax
mov dword [ebp - 0x74], esi
push 0x94
push 0
push esi
mov byte [ebp - 4], 3
call fcn.1003b430
add esp, 0x10
mov ecx, esi
call fcn.100293b0
mov byte [ebp - 4], 2
mov dword [0x10083624], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.10029ce0
mov edx, edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.100185a0
mov edi, eax
mov byte [ebp - 4], 5
mov eax, dword [0x10083628]
test eax, eax
jne 0x1002ddf6
push 0x58
call fcn.100383fe
push 0x58
mov esi, eax
push 0
push esi
mov dword [ebp - 0x74], esi
call fcn.1003b430
add esp, 0x10
mov ecx, esi
call fcn.1002aad0
mov dword [0x10083628], eax
mov al, byte [eax + 0x50]
lea edx, [ebp - 0x58]
mov byte [ebp - 0x74], al
mov ecx, edi
lea eax, [ebp - 0x40]
push eax
push ebx
push dword [ebp - 0x74]
call fcn.10032030
mov ecx, dword [ebp - 0x78]
add esp, 0xc
mov bl, al
cmp ecx, 0x10
jb 0x1002de2e
inc ecx
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
call fcn.1000e830
mov eax, dword [ebp - 0x2c]
test bl, bl
je 0x1002dec7
cmp eax, 0x10
jb 0x1002de4b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1000e830
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1002de72
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1000e830
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1002de99
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000e830
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1002dec0
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1000e830
mov al, 1
jmp 0x1002df50
cmp eax, 0x10
jb 0x1002ded9
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1000e830
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1002df00
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1000e830
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1002df27
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000e830
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1002df4e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1000e830
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037fa1
mov esp, ebp
pop ebp
ret 4