Function at 0x10082770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3958
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 0x100827a6
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100827c0
mov ecx, esi
call fcn.10083760
test eax, eax
jne 0x10082a3a
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.10083080
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 0x1008284c
mov eax, dword [ecx]
jmp 0x1008284e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100058d2
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 0x10082882
mov eax, dword [ecx]
jmp 0x10082884
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.100058d2
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 0x100828b8
mov eax, dword [ecx]
jmp 0x100828ba
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.100058d2
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 0x100828eb
mov eax, dword [ecx]
jmp 0x100828ed
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.100058d2
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10082e70
mov ecx, esi
call fcn.10083240
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10082959
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x10082950
test cl, 0x1f
je 0x1008292c
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10082938
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x10082944
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1008294e
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
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 0x100829b5
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x100829ac
test cl, 0x1f
je 0x10082988
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10082994
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x100829a0
call fcn.100906d1
cmp ecx, 0x23
jbe 0x100829aa
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
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 0x10082a11
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x10082a08
test cl, 0x1f
je 0x100829e4
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100829f0
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x100829fc
call fcn.100906d1
cmp ecx, 0x23
jbe 0x10082a06
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
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 0x10082a3a
push 1
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10001f08
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.1008a777
mov esp, ebp
pop ebp
ret