Function at 0x10082c70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f913
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
xor bl, bl
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10008c80
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x80]
push eax
lea ecx, [ebp - 0x58]
call fcn.10008c80
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
cmp word [edx], ax
jne 0x10082d17
xor ecx, ecx
jmp 0x10082d2f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082d20
sub ecx, esi
sar ecx, 1
push ecx
push 0
push edx
lea ecx, [ebp + 8]
call fcn.10008750
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
cmp eax, 0xffffffff
je 0x10082dfa
cmp dword [ebp + 0x64], 8
lea ecx, [ebp + 0x50]
cmovae ecx, dword [ebp + 0x50]
lea edx, [ebp - 0x28]
call fcn.10082b70
test al, al
je 0x10082d9a
push 1
push 0x100a21f4
lea ecx, [ebp - 0x28]
call fcn.10011f70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10011780
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10082d9a
mov bl, 1
jmp 0x10082dec
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
lea edx, [ebp - 0x28]
call fcn.10082b70
test al, al
je 0x10082dea
push 1
push 0x100a21f4
lea ecx, [ebp - 0x28]
call fcn.10011f70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10011780
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10082dea
mov bl, 1
jmp 0x10082dec
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x10082dfa
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x10082e1c
push dword [ebp - 0x58]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x10082e3e
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.10067000
cmp dword [ebp + 0x7c], 8
jb 0x10082e68
push dword [ebp + 0x68]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x94], 8
mov dword [ebp + 0x7c], 7
mov dword [ebp + 0x78], 0
mov word [ebp + 0x68], ax
jb 0x10082e90
push dword [ebp + 0x80]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret