Function at 0x1000aeb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a19b
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0x1003b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc64], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push 0
push eax
mov dword [ebp - 0xc6c], 0
call fcn.10015870
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10015870
add esp, 0x18
call fcn.100116d0
test al, al
je 0x1000af4a
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.10011740
test al, al
je 0x1000af67
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.10011c80
test al, al
je 0x1000af89
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10015870
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10015870
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10015870
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10015870
add esp, 0x30
call fcn.10011900
test al, al
je 0x1000aff8
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc40]
push 0x1a
push eax
push 0
call fcn.1000b4b0
add esp, 0x10
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x1000b030
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.100159ca
add esp, 8
mov dword [ebp - 0xc60], eax
call fcn.10011510
test al, al
je 0x1000b082
pop esi
push edx
pop esp
pop ebx
pop esp
pop ebx
push ebp
push eax
push edx
pop edx
pop esi
pop ecx
pop ecx
pop edx
pop eax
push edi
pop ecx
push ecx
push ebx
push eax
push esp
push edi
push ebp
pop esp
pop esi
push ebp
call fcn.10011f20
test al, al
je 0x1000b0a8
push edx
push ecx
pop ecx
pop esp
push ecx
push ebx
push esp
pop esp
push esp
push edi
pop edx
push ebx
pop edi
push eax
pop edi
pop esp
pop eax
pop esi
push ecx
push ecx
pop esp
pop edi
pop ebp
push edx
pop esp
push ecx
push ebx
push ebp
pop edx
call fcn.100117b0
test al, al
je 0x1000b0c9
push ebp
push esp
push ebx
push edi
push ecx
pop ecx
pop ebp
pop edx
push ebp
push edi
push edx
pop edi
pop esp
push edx
pop ecx
pop eax
push ebp
pop esp
pop ebx
pop ebx
pop esi
pop esi
push eax
pop esi
mov eax, dword [ebp - 0xc60]
test eax, eax
jne 0x1000b125
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.1000a860
mov ebx, dword [ebp - 0xc64]
xor eax, eax
add esp, 8
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0xc58]
push eax
call fcn.100026c0
mov ecx, dword [ebp - 0xc44]
cmp ecx, 8
jb 0x1000b48c
inc ecx
push ecx
jmp 0x1000b47b
xor ecx, ecx
mov word [eax], cx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x1000b130
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000b151
mov eax, dword [str.Local]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx], eax
mov eax, dword [0x1002b8f4]
mov dword [ecx + 4], eax
mov eax, dword [0x1002b8f8]
mov dword [ecx + 8], eax
mov ax, word [0x1002b8fc]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
mov edi, 1
mov eax, 0
cmovne eax, edi
mov dword [ebp - 0xc68], eax
call fcn.10011c10
test al, al
je 0x1000b1ce
push edx
push esp
push edi
pop ecx
push esi
pop ebx
pop ebp
push edx
pop ecx
push edx
push eax
pop ecx
pop edx
push edx
pop ecx
push ebx
pop esi
pop ebx
push edx
pop edx
push esi
pop esi
pop eax
pop ebx
pop edx
push ebp
push esp
push eax
push edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call fcn.10011820
test al, al
je 0x1000b1fa
pop edx
pop edi
push esp
pop ebx
pop ecx
pop esp
push ecx
pop ebp
pop edx
push ecx
push ecx
push edi
push ebp
push ecx
push edi
push edx
pop esp
pop esp
push edi
pop ebx
push ecx
push ebp
push ebp
pop edi
pop ebx
pop eax
pop edi
push ecx
pop ebp
pop edi
mov edi, 1
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x62a], ax
test ax, ax
jne 0x1000b200
lea ecx, [ebp - 0x628]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000b221
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x1002b904]
mov dword [ecx + 4], eax
mov eax, dword [0x1002b908]
mov dword [ecx + 8], eax
mov eax, dword [0x1002b90c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1002b910]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
mov ebx, 0
cmovne ebx, edi
xor ecx, ecx
mov dword [ebp - 0xc60], ebx
nop
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa3a], ax
test ax, ax
jne 0x1000b270
lea ecx, [ebp - 0xa38]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000b291
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x1002b918]
mov dword [ecx + 4], eax
mov eax, dword [0x1002b91c]
mov dword [ecx + 8], eax
mov eax, dword [0x1002b920]
mov dword [ecx + 0xc], eax
mov ax, word [0x1002b924]
mov word [ecx + 0x10], ax
call fcn.10011c80
test al, al
je 0x1000b2e6
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
mov ebx, dword [ebp - 0xc60]
call fcn.10011f90
test al, al
je 0x1000b313
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa38]
push eax
call esi
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xc68]
test ecx, ecx
je 0x1000b3d7
test ebx, ebx
je 0x1000b3d7
test eax, eax
je 0x1000b3d7
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.10002dc0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x1000b386
lea eax, [ebp - 0x218]
push eax
call fcn.1000a700
add esp, 4
cmp word [ebp - 0x218], 0
jne 0x1000b3aa
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10002ba0
jmp 0x1000b447
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b3b3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10002ba0
jmp 0x1000b447
call fcn.10011820
test al, al
je 0x1000b3f0
push ecx
pop esp
pop edx
push edi
push ebx
push edx
pop ebx
push ebp
pop edi
push esp
push esi
push eax
pop eax
push esp
pop ebp
pop esi
call fcn.10012000
test al, al
je 0x1000b40a
pop eax
pop edi
pop ebp
push ebx
push ebp
push ebp
push eax
pop eax
pop edx
pop ebp
pop ecx
pop edi
push edx
pop ebx
pop ebp
push esi
pop edx
call fcn.10011890
test al, al
je 0x1000b432
pop edi
push edx
push eax
push esi
push ecx
push ebx
push ebp
push edx
push eax
push esp
push ebx
pop esp
push ebp
pop esi
push edx
push edi
push ecx
pop ebp
push esp
push ebp
push edx
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebp
pop ebp
pop esi
push ebx
push esp
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.1000a860
add esp, 8
mov ebx, dword [ebp - 0xc64]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0xc58]
push eax
call fcn.100026c0
mov eax, dword [ebp - 0xc44]
cmp eax, 8
jb 0x1000b48c
inc eax
push eax
push dword [ebp - 0xc58]
lea ecx, [ebp - 0xc58]
call fcn.10002ca0
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 - 0x10]
xor ecx, ebp
call fcn.10012ad9
mov esp, ebp
pop ebp
ret