Function at 0x1001f6e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a51a8
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.10063450
mov eax, dword [0x100ed294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfbc], ecx
lea ecx, [ebp - 0x568]
call fcn.1001c7f0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xfdc]
call fcn.100087d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x568]
push ecx
lea edx, [ebp - 0xfdc]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001f210
mov byte [ebp - 0xfc1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfdc]
call fcn.10009e40
movzx eax, byte [ebp - 0xfc1]
test eax, eax
je 0x1001f7ff
lea ecx, [ebp - 0x504]
mov dword [ebp - 0xfc8], ecx
mov edx, dword [ebp - 0xfc8]
add edx, 2
mov dword [ebp - 0x1020], edx
mov eax, dword [ebp - 0xfc8]
mov cx, word [eax]
mov word [ebp - 0xfca], cx
add dword [ebp - 0xfc8], 2
cmp word [ebp - 0xfca], 0
jne 0x1001f796
mov edx, dword [ebp - 0xfc8]
sub edx, dword [ebp - 0x1020]
sar edx, 1
mov dword [ebp - 0x101c], edx
jne 0x1001f7d4
xor eax, eax
jmp 0x1001fcff
cmp dword [ebp + 0xc], 0
je 0x1001f7f5
lea eax, [ebp - 0x568]
push eax
call fcn.10006b10
add esp, 4
mov ecx, 0xa5
mov esi, eax
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x1001fcff
call fcn.10056330
mov dword [ebp - 0xfe0], eax
push 1
mov ecx, dword [ebp - 0xfe0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xfe0]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x1024], al
cmp byte [ebp - 0x1024], 1
je 0x1001f833
jmp 0x1001f8e7
push 0x100afcf0
lea ecx, [ebp - 0x28]
call fcn.10008d80
mov dword [ebp - 4], 1
push 0x100afd5c
lea ecx, [ebp - 0x40]
call fcn.10008d80
mov byte [ebp - 4], 2
call fcn.10056330
mov dword [ebp - 0xfe4], eax
lea ecx, [ebp + 8]
push ecx
push 0x100afd60
push 0x3e
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.10009410
mov dword [ebp - 0x1004], eax
mov ecx, dword [ebp - 0x1004]
mov dword [ebp - 0x1008], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1008]
call fcn.10015590
mov ecx, eax
call fcn.100155b0
push eax
mov edx, dword [ebp - 0xfe4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xfe4]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10d8]
call fcn.1000a370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1000a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a090
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001f94e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xfe8]
call fcn.100087d0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xfb8]
call fcn.1001c7f0
push eax
call fcn.10006b10
add esp, 4
push eax
lea edx, [ebp - 0xfe8]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001ff60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe8]
call fcn.10009e40
xor eax, eax
jmp 0x1001fcff
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xfc0]
call fcn.100087d0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xfc0]
call fcn.1000cb40
cmp eax, 1
jge 0x1001f9ee
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xfec]
call fcn.100087d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd24]
call fcn.1001c7f0
push eax
call fcn.10006b10
add esp, 4
push eax
lea edx, [ebp - 0xfec]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001ff60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfec]
call fcn.10009e40
mov dword [ebp - 0x100c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10009e40
mov eax, dword [ebp - 0x100c]
jmp 0x1001fcff
push 0
lea ecx, [ebp - 0xfc0]
call fcn.1001cf10
movzx eax, ax
push eax
call fcn.10073547
add esp, 4
mov word [ebp - 0xfd0], ax
lea ecx, [ebp - 0xfd0]
push ecx
lea edx, [ebp - 0x1000]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x24
call fcn.10023130
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x24
call fcn.100228e0
push eax
lea ecx, [ebp - 0x1000]
call fcn.1001ced0
movzx ecx, al
test ecx, ecx
je 0x1001fc7d
lea ecx, [ebp - 0x1000]
call fcn.1001cff0
add eax, 4
mov dword [ebp - 0xfd4], eax
lea edx, [ebp - 0xfc0]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0xfbc]
push ecx
lea ecx, [ebp - 0x1040]
call fcn.1001bec0
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x102c]
push ecx
mov ecx, dword [ebp - 0xfd4]
call fcn.10022950
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0xfd4]
call fcn.100221f0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xffc]
push edx
call fcn.1001baf0
add esp, 0x18
lea eax, [ebp - 0x1034]
push eax
mov ecx, dword [ebp - 0xfd4]
call fcn.10022950
push eax
lea ecx, [ebp - 0xffc]
call fcn.1001ced0
movzx ecx, al
test ecx, ecx
je 0x1001fc08
lea ecx, [ebp - 0xffc]
call fcn.1001d050
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x18
call fcn.1001cfd0
mov dword [ebp - 0xfd8], eax
lea ecx, [ebp - 0x2d4]
call fcn.1001c7f0
mov ecx, dword [ebp - 0xfd8]
call fcn.1000ad70
push eax
push 0x14
lea eax, [ebp - 0x270]
push eax
call fcn.1000eac0
mov ecx, dword [ebp - 0xfd8]
add ecx, 0x40
call fcn.1000ad70
push eax
push 0x32
lea ecx, [ebp - 0x2d4]
push ecx
call fcn.1000eac0
mov ecx, dword [ebp - 0xfd8]
add ecx, 0x44
call fcn.1000ad70
push eax
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.1000eac0
cmp dword [ebp + 0xc], 0
je 0x1001fb98
mov ecx, 0xa5
lea esi, [ebp - 0x2d4]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xff8]
call fcn.100087d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2d4]
push ecx
call fcn.10006b10
add esp, 4
push eax
lea edx, [ebp - 0xff8]
push edx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001ff60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xff8]
call fcn.10009e40
mov dword [ebp - 0x1010], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10009e40
mov eax, dword [ebp - 0x1010]
jmp 0x1001fcff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xff4]
call fcn.100087d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa90]
call fcn.1001c7f0
push eax
call fcn.10006b10
add esp, 4
push eax
lea ecx, [ebp - 0xff4]
push ecx
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001ff60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xff4]
call fcn.10009e40
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10009e40
mov eax, dword [ebp - 0x1014]
jmp 0x1001fcff
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xff0]
call fcn.100087d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7fc]
call fcn.1001c7f0
push eax
call fcn.10006b10
add esp, 4
push eax
lea eax, [ebp - 0xff0]
push eax
mov ecx, dword [ebp - 0xfbc]
add ecx, 0x2c
call fcn.1001ff60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xff0]
call fcn.10009e40
mov dword [ebp - 0x1018], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc0]
call fcn.10009e40
mov eax, dword [ebp - 0x1018]
jmp 0x1001fcff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100633f2
mov esp, ebp
pop ebp
ret 8