Function at 0x103235f
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x105d639
call fcn.0104dc9c
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
cmp dword [0x10668fc], ebx
je 0x1032409
push ebx
mov ecx, 0x1066980
call fcn.0103a0ec
cmp eax, ebx
jne 0x1032409
mov esi, 0x1066af4
push esi
lea ecx, [ebp - 0x1c]
call fcn.010442ec
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.010442ec
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.010442ec
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.010455d0
cmp eax, ebx
mov dword [ebp - 0x28], eax
jge 0x1032414
push 0x1002fa0
push 0x1002f80
push eax
call fcn.01048c52
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0102fb3e
mov eax, dword [ebp - 0x28]
call fcn.0104dd50
ret 8
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.01030b8e
push 0x1002f68
lea ecx, [ebp - 0x18]
call fcn.01030c38
push 0x1002f4c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.01030bdc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.01030ac4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.0102fb3e
push dword [0x10668e0]
lea eax, [ebp - 0x14]
push dword [0x10668dc]
push dword [ebp - 0x18]
push 0x1002f20
push eax
call fcn.01030c5e
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x14
push ebx
push ebx
push 3
push ebx
push 1
mov edi, 0x80000000
push edi
push dword [ebp - 0x1c]
call esi
push ebx
push ebx
push 3
push ebx
push 1
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
call esi
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], ebx
je 0x10325d0
cmp eax, ebx
je 0x10325dd
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.01042e59
push dword [ebp - 0x20]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.01042e59
cmp esi, ebx
jl 0x10325b9
cmp eax, ebx
jl 0x10325b9
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0104410b
cmp eax, ebx
jl 0x10325d0
push dword [ebp - 0x34]
mov edi, 0x1002428
push dword [ebp - 0x38]
mov esi, 0x4000000
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push edi
push 0x1002eec
push esi
call fcn.01048e9b
add esp, 0x1c
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.01042e0c
cmp eax, ebx
jle 0x10325b0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10325b0
movzx eax, word [ebp - 0x34]
movzx ecx, word [ebp - 0x38]
shl eax, 0x10
or eax, ecx
movzx ecx, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x3c]
shl eax, 0x10
or eax, ecx
push eax
mov ecx, 0x1066a20
call fcn.01048fd2
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.01031fbc
cmp eax, ebx
mov dword [ebp - 0x28], eax
jge 0x10325a8
push 0x1002eb0
push 0x1002e90
push eax
call fcn.01048c52
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0102fb22
lea ecx, [ebp - 0x24]
call fcn.0102fb22
jmp 0x10323e8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x1032593
push edi
push 0x1002e38
push esi
jmp 0x10325c8
push 0x1002428
push 0x1002de8
push 0x4000000
call fcn.01048e9b
add esp, 0xc
cmp dword [ebp - 0x20], ebx
je 0x10325dd
lea ecx, [ebp - 0x20]
call fcn.0102fb22
cmp dword [ebp - 0x24], ebx
je 0x10323e8
jmp 0x103259b