Function at 0x1002b010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ace99
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x78], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x80], ebx
je 0x1002b090
cmp dword [edi + 0x14], 8
jb 0x1002b05a
mov eax, dword [edi]
jmp 0x1002b05c
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1002b090
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.1000f660
jmp 0x1002b33a
cmp byte [edi + 0x108], 0
je 0x1002b1bf
cmp dword [edi + 0x100], 0
je 0x1002b1bf
call fcn.10033480
test eax, eax
je 0x1002b13b
lea ecx, [ebp - 0x74]
call fcn.10029310
mov esi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10028900
mov byte [ebp - 4], 2
lea ecx, [edi + 0xf0]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100267f0
add esp, 0xc
mov byte [ebp - 4], 3
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10026b30
add esp, 0xc
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.10004bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.100103e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.100103e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.100103e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.100103e0
jmp 0x1002b31c
lea ecx, [ebp - 0x44]
call fcn.10029570
mov esi, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.10028b10
mov byte [ebp - 4], 6
lea ecx, [edi + 0xf0]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100267f0
add esp, 0xc
mov byte [ebp - 4], 7
push esi
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10026b30
add esp, 0xc
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.10004bb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.100103e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.100103e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.100103e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100103e0
jmp 0x1002b31c
push str.Local_AppData
lea ecx, [ebp - 0x44]
call fcn.1000fb40
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x7c], SysStringLen
call fcn.10027ee0
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.1002be60
mov esi, eax
mov byte [ebp - 4], 0xb
cmp edi, esi
je 0x1002b22e
cmp dword [edi + 0x14], 8
jb 0x1002b213
push dword [edi]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov ecx, edi
mov word [edi], ax
call fcn.1000fcf0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x48], 8
jb 0x1002b243
push dword [ebp - 0x5c]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
jb 0x1002b26c
push dword [ebp - 0x2c]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x30], 8
jb 0x1002b294
push dword [ebp - 0x44]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp dword [edi + 0x10], eax
jne 0x1002b31c
push 0x100b6a5c
lea eax, [ebp - 0x2c]
push eax
call fcn.1002c970
mov esi, eax
mov dword [ebp - 4], 0xc
cmp edi, esi
je 0x1002b2f3
cmp dword [edi + 0x14], 8
jb 0x1002b2d8
push dword [edi]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov ecx, edi
mov word [edi], ax
call fcn.1000fcf0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x1002b308
push dword [ebp - 0x2c]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.1000f660
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4