Function at 0x10082f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4308
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1010c070]
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 0x10082f36
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10082f50
mov ecx, esi
call fcn.10083ef0
test eax, eax
jne 0x100831ca
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.10083810
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 0x10082fdc
mov eax, dword [ecx]
jmp 0x10082fde
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100058bd
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 0x10083012
mov eax, dword [ecx]
jmp 0x10083014
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.100058bd
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 0x10083048
mov eax, dword [ecx]
jmp 0x1008304a
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.100058bd
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 0x1008307b
mov eax, dword [ecx]
jmp 0x1008307d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.100058bd
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10083600
mov ecx, esi
call fcn.100839d0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100830e9
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x100830e0
test cl, 0x1f
je 0x100830bc
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100830c8
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x100830d4
call fcn.10090e61
cmp ecx, 0x23
jbe 0x100830de
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
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 0x10083145
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x1008313c
test cl, 0x1f
je 0x10083118
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10083124
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x10083130
call fcn.10090e61
cmp ecx, 0x23
jbe 0x1008313a
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
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 0x100831a1
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x10083198
test cl, 0x1f
je 0x10083174
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10083180
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x1008318c
call fcn.10090e61
cmp ecx, 0x23
jbe 0x10083196
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
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 0x100831ca
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.1008aeea
mov esp, ebp
pop ebp
ret