Function at 0x100829f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x10082a26
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10082a40
mov ecx, esi
call fcn.100839e0
test eax, eax
jne 0x10082cba
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10083300
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10082acc
mov eax, dword [ecx]
jmp 0x10082ace
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.1000586c
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x78], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10082b02
mov eax, dword [ecx]
jmp 0x10082b04
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.1000586c
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10082b38
mov eax, dword [ecx]
jmp 0x10082b3a
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.1000586c
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10082b6b
mov eax, dword [ecx]
jmp 0x10082b6d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1000586c
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.100830f0
mov ecx, esi
call fcn.100834c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10082bd9
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x10082bd0
test cl, 0x1f
je 0x10082bac
call fcn.10090951
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10082bb8
call fcn.10090951
sub ecx, eax
cmp ecx, 4
jae 0x10082bc4
call fcn.10090951
cmp ecx, 0x23
jbe 0x10082bce
call fcn.10090951
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x10082c35
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x10082c2c
test cl, 0x1f
je 0x10082c08
call fcn.10090951
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10082c14
call fcn.10090951
sub ecx, eax
cmp ecx, 4
jae 0x10082c20
call fcn.10090951
cmp ecx, 0x23
jbe 0x10082c2a
call fcn.10090951
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x10082c91
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x10082c88
test cl, 0x1f
je 0x10082c64
call fcn.10090951
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10082c70
call fcn.10090951
sub ecx, eax
cmp ecx, 4
jae 0x10082c7c
call fcn.10090951
cmp ecx, 0x23
jbe 0x10082c86
call fcn.10090951
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x10082cba
push 1
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10001ef8
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret