Function at 0x1032d16
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x105ed59
call fcn.0104f320
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
cmp dword [0x10688f8], ebx
je 0x1032dc0
push ebx
mov ecx, 0x1068968
call fcn.0103a660
cmp eax, ebx
jne 0x1032dc0
mov esi, 0x1068adc
push esi
lea ecx, [ebp - 0x1c]
call fcn.010309e3
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.010309e3
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.010309e3
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.01046775
cmp eax, ebx
mov dword [ebp - 0x28], eax
jge 0x1032dcb
push 0x1002fb0
push 0x1002f90
push eax
call fcn.0104a504
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.010303ce
mov eax, dword [ebp - 0x28]
call fcn.0104f3d4
ret 8
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0103145e
push 0x1002f78
lea ecx, [ebp - 0x18]
call fcn.01031508
push 0x1002f5c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.010314ac
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.01031394
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.010303ce
push dword [0x10688dc]
lea eax, [ebp - 0x14]
push dword [0x10688d8]
push dword [ebp - 0x18]
push 0x1002f30
push eax
call fcn.0103152e
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 0x1032f87
cmp eax, ebx
je 0x1032f94
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.010443ca
push dword [ebp - 0x20]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.010443ca
cmp esi, ebx
jl 0x1032f70
cmp eax, ebx
jl 0x1032f70
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.010452b9
cmp eax, ebx
jl 0x1032f87
push dword [ebp - 0x34]
mov edi, 0x1002678
push dword [ebp - 0x38]
mov esi, 0x4000000
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push edi
push 0x1002efc
push esi
call fcn.0104a7da
add esp, 0x1c
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.0104437d
cmp eax, ebx
jle 0x1032f67
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1032f67
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, 0x1068a08
call fcn.0104a9ed
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.01032973
cmp eax, ebx
mov dword [ebp - 0x28], eax
jge 0x1032f5f
push 0x1002ec0
push 0x1002ea0
push eax
call fcn.0104a504
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.010303b2
lea ecx, [ebp - 0x24]
call fcn.010303b2
jmp 0x1032d9f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x1032f4a
push edi
push 0x1002e48
push esi
jmp 0x1032f7f
push 0x1002678
push 0x1002df8
push 0x4000000
call fcn.0104a7da
add esp, 0xc
cmp dword [ebp - 0x20], ebx
je 0x1032f94
lea ecx, [ebp - 0x20]
call fcn.010303b2
cmp dword [ebp - 0x24], ebx
je 0x1032d9f
jmp 0x1032f52