Function at 0x1025e61
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x10291eb
call fcn.01027cfa
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, 0x80000002
mov esi, 0x102c3b8
cmp eax, 2
je 0x1026591
cmp eax, 4
jle 0x1026601
cmp eax, 6
jle 0x1026591
cmp eax, 8
jle 0x10263dd
cmp eax, 0xa
jg 0x1026601
call fcn.010176ab
and dword [ebp + 8], 0
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x102c3b4
call fcn.01022bc9
push eax
push 0x10103cc
call fcn.01018811
push dword [0x102c0f4]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
xor edi, edi
inc edi
test eax, eax
je 0x1025f7e
cmp dword [ebp - 0x10], edi
jne 0x1025f77
push 0x1013e98
push esi
call fcn.01018f8f
push dword [0x102c0fc]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1025f38
cmp dword [ebp - 0x10], edi
je 0x1025f31
push 0x1013e20
jmp 0x1025f3d
push 0x1013da8
jmp 0x1025f3d
push 0x1013d28
push esi
call fcn.01018f8f
push dword [0x102c0f8]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1025f70
cmp dword [ebp - 0x10], edi
je 0x1025f69
push 0x1013cb8
jmp 0x1025f83
push 0x1013c48
jmp 0x1025f83
push 0x1013bd0
jmp 0x1025f83
push 0x1013b60
jmp 0x1025f83
push 0x1013b08
push esi
call fcn.01018f8f
push dword [0x102c0d0]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1025fb6
cmp dword [ebp - 0x10], edi
jne 0x1025faf
push 0x1013ab8
jmp 0x1025fbb
push 0x1013a60
jmp 0x1025fbb
push 0x1013a08
push esi
call fcn.01018f8f
push dword [0x102c0c8]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
mov edi, 0x1013a04
test eax, eax
je 0x1025fff
push edi
push 0
push dword [ebp - 0x10]
push 0x10139c8
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x102600a
push 0x1013978
push esi
call fcn.01018f8f
push dword [0x102c0d4]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1026043
push edi
push 0
push dword [ebp - 0x10]
push 0x1013938
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x102604e
push 0x10138e8
push esi
call fcn.01018f8f
push dword [0x102c0d8]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1026087
push edi
push 0
push dword [ebp - 0x10]
push 0x10138ac
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x1026092
push 0x1013860
push esi
call fcn.01018f8f
push dword [0x102c0cc]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x10260cb
push edi
push 0
push dword [ebp - 0x10]
push 0x1013820
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x10260d6
push 0x10137c8
push esi
call fcn.01018f8f
push dword [0x102c0dc]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x102610f
push edi
push 0
push dword [ebp - 0x10]
push 0x1013780
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x102611a
push 0x1013728
push esi
call fcn.01018f8f
push dword [0x102c0e0]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1026153
push edi
push 0
push dword [ebp - 0x10]
push 0x10136e0
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x102615e
push 0x1013680
push esi
call fcn.01018f8f
push dword [0x102c0e4]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1026197
push edi
push 0
push dword [ebp - 0x10]
push 0x1013638
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x10261a2
push 0x10135e0
push esi
call fcn.01018f8f
push dword [0x102c0e8]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x10261db
push edi
push 0
push dword [ebp - 0x10]
push 0x1013598
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x10261e6
push 0x1013538
push esi
call fcn.01018f8f
push dword [0x102c0ec]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x102621f
push edi
push 0
push dword [ebp - 0x10]
push 0x10134e0
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x102622a
push 0x1013470
push esi
call fcn.01018f8f
push dword [0x102c0f0]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1026263
push edi
push 0
push dword [ebp - 0x10]
push 0x1013420
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018fab
jmp 0x102626e
push 0x10133b8
push esi
call fcn.01018f8f
push dword [0x102c0f8]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x102629c
cmp dword [ebp - 0x10], 1
jne 0x1026295
push 0x1013348
jmp 0x10262a1
push 0x10132d8
jmp 0x10262a1
push 0x1013268
push esi
call fcn.01018f8f
push dword [0x102c0fc]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x10262d5
cmp dword [ebp - 0x10], 1
jne 0x10262ce
push 0x1013200
jmp 0x10262da
push 0x1013190
jmp 0x10262da
push 0x1013120
push esi
call fcn.01018f8f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0xc]
push eax
push 0x10110e8
call fcn.0101755f
push 0x10110a8
push 0
push dword [ebp - 0x10]
push 0x10130fc
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018f8f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x14]
push eax
push 0x1011230
call fcn.0101755f
mov edi, 0x1002440
push edi
push 0
push dword [ebp - 0x10]
push 0x10130d8
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018f8f
push dword [0x102c108]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x1026387
push edi
push 0
push dword [ebp - 0x10]
push 0x1013090
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
jmp 0x102638d
push 0x1013030
push esi
call fcn.01018f8f
push dword [0x102c10c]
lea eax, [ebp - 0x10]
push dword [0x102c0a8]
push ebx
push eax
call fcn.0102415d
test eax, eax
je 0x10263c6
push edi
push 0
push dword [ebp - 0x10]
push 0x1012fe8
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
jmp 0x10263cc
push 0x1012f90
push esi
call fcn.01018f8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0101a0fe
push 0x1012f10
push esi
call fcn.01018f8f
push 0x1012744
mov edi, 0x10126f0
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0102415d
test eax, eax
jne 0x1026420
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp eax, 2
je 0x1026418
cmp eax, 3
jne 0x1026601
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x1026586
cmp dword [ebp - 0x10], 0
je 0x1026586
push 0x1012f00
push esi
call fcn.01018f8f
push 0x1012774
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0102415d
test eax, eax
jne 0x1026461
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x1026601
push 0x1012ee0
xor eax, eax
lea edi, [ebp - 0x1c]
stosb byte es:[edi], al
push dword [ebp - 0x1c]
lea edi, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
stosb byte es:[edi], al
push dword [ebp - 0x20]
push 0x1012e78
push esi
call fcn.01018f8f
push eax
call fcn.01018db4
push eax
call fcn.01018fc7
push eax
call fcn.01018e02
push eax
call fcn.01018f8f
push 0x1012804
push 0x10126f0
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0102415d
test eax, eax
je 0x1026453
push 0x1012830
mov edi, 0x10126f0
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0102415d
test eax, eax
je 0x1026453
push 0x1012e00
push 0
push dword [ebp - 0x18]
push 0x1012dec
push 0
push dword [ebp - 0x10]
push 0x1012d88
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018f8f
push 0x10127e0
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0102415d
test eax, eax
jne 0x1026538
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp eax, 2
je 0x1026530
cmp eax, 3
jne 0x1026601
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
jne 0x1026574
push 0x10127a8
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0102415d
test eax, eax
je 0x1026453
push 0x1012d74
push 0
push dword [ebp - 0x18]
push 0x1012ce8
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
jmp 0x102658c
push 0x1012c58
push esi
call fcn.01018f8f
push 0x1012c00
jmp 0x102658b
push 0x1012bf4
push esi
call fcn.01018f8f
push 0x1012b90
push esi
call fcn.01018f8f
push 0x1012858
push 0x10126f0
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0102415d
test eax, eax
jne 0x10265da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp eax, 2
je 0x10265c7
cmp eax, 3
jne 0x1026601
and dword [ebp - 0x14], 0
or dword [ebp - 0x10], 0xffffffff
push 0x1012bf4
push esi
call fcn.01018f8f
cmp dword [ebp - 0x10], 0xffffffff
je 0x1026601
push 0x1012b7c
push 0
push dword [ebp - 0x10]
push 0x1012b4c
push esi
call fcn.01018f8f
push eax
call fcn.01018fc7
push eax
call fcn.01018f8f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 0x14], eax
sete al
call fcn.01027de6
ret 4