Function at 0x10015140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d7b1
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x100151a2
mov byte [ebp - 0x5d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10019f40
mov al, byte [ebp - 0x5d]
jmp 0x10015519
lea ecx, [ebp + 0x24]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100151dc
mov byte [ebp - 0x5e], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10019f40
mov al, byte [ebp - 0x5e]
jmp 0x10015519
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea eax, [ebp + 0x24]
push eax
call fcn.1001a060
lea ecx, [ebp - 0x44]
push ecx
call fcn.10027bb0
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.1001a7e0
movzx edx, al
test edx, edx
je 0x10015248
mov byte [ebp - 0x5f], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10019f40
mov al, byte [ebp - 0x5f]
jmp 0x10015519
push 1
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xb8], esp
push eax
mov ecx, dword [ebp - 0x68]
call fcn.1000ea50
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0x44]
push edx
call fcn.1001ae30
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 2
call fcn.100038f0
add esp, 0x38
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.1001adc0
lea ecx, [ebp - 0xd0]
call fcn.10003ed0
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
mov eax, dword [ebp - 0x68]
add eax, 0x5f8
push eax
call fcn.1001ae30
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x90], esp
lea edx, [ebp - 0x44]
push edx
call fcn.1001ae30
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.10003530
add esp, 0x38
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.1001a7e0
movzx ecx, al
test ecx, ecx
je 0x1001534d
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.10003ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10019f40
mov al, byte [ebp - 0x60]
jmp 0x10015519
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
lea ecx, [ebp - 0x2c]
call fcn.10003db0
push eax
lea ecx, [ebp - 0x14]
call fcn.10019f60
mov byte [ebp - 4], 6
push 0x101d9b04
push 0x101d9b0c
lea ecx, [ebp - 0x14]
call fcn.10019c80
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea edx, [ebp - 0x14]
push edx
call fcn.1001a060
lea eax, [ebp - 0xe8]
push eax
call fcn.10027a30
add esp, 8
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001adc0
lea ecx, [ebp - 0xe8]
call fcn.10003ed0
lea eax, [ebp - 0x2c]
push eax
push 0x101d9b10
lea ecx, [ebp - 0x100]
push ecx
call fcn.1001cfa0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001adc0
lea ecx, [ebp - 0x100]
call fcn.10003ed0
lea ecx, [ebp - 0x5c]
call fcn.10003fe0
mov byte [ebp - 4], 7
push 0xa
lea eax, [ebp - 0x5c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.1001ae30
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp + 0xc]
push eax
call fcn.1001ae30
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
mov edx, dword [ebp + 8]
push edx
call fcn.10003f60
mov byte [ebp - 4], 7
call fcn.100306d0
add esp, 0x50
push 0
push 0x101d9b1c
lea ecx, [ebp - 0x5c]
call fcn.1001aba0
cmp eax, 0xffffffff
je 0x100154c7
mov byte [ebp - 0x61], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.10003ed0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.10003ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10019f40
mov al, byte [ebp - 0x61]
jmp 0x10015519
mov byte [ebp - 0x62], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.10003ed0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.10003ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10003ed0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10003ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10019f40
mov al, byte [ebp - 0x62]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret 0x20