Function at 0x100280b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6847
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100c66d0]
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]
xor ebx, ebx
lea esi, [ebp - 0x128]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x148], ebx
call fcn.10033d80
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xd4]
mov dword [ebp - 0x150], 0x80000001
call fcn.10033cf0
mov dword [ebp - 0x14c], eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.1002a220
mov esi, eax
push 0x100b6220
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 2
call fcn.100069b0
add esp, 0xc
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 4
cmp dword [0x100c9918], ebx
jne 0x10028195
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x1002818a
mov esi, eax
call fcn.10035040
jmp 0x1002818c
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0x14c]
push ebx
lea eax, [ebp - 0x150]
push eax
mov ecx, edi
lea esi, [ebp - 0x64]
call fcn.100357d0
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x100281c3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
mov edi, 7
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], esi
jb 0x100281eb
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0xa4], esi
jb 0x10028217
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc0], esi
jb 0x10028247
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], dx
cmp dword [ebp - 0x54], ebx
jne 0x100283de
lea esi, [ebp - 0x144]
mov dword [ebp - 0x14c], 0x80000002
call fcn.10033cf0
mov dword [ebp - 0x150], eax
lea esi, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
call fcn.1002a220
mov esi, eax
push 0x100b6220
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0xc
call fcn.100069b0
add esp, 0xc
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 0xe
cmp dword [0x100c9918], ebx
jne 0x100282fd
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x100282f2
mov esi, eax
call fcn.10035040
jmp 0x100282f4
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x100c9918], eax
push ebx
lea edx, [ebp - 0x14c]
push edx
mov edx, dword [ebp - 0x150]
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x10028338
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x1002835a
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xdc], esi
jb 0x1002837d
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp dword [ebp - 0xf8], esi
jb 0x100283a9
mov eax, dword [ebp - 0x10c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], cx
cmp dword [ebp - 0x130], esi
jb 0x100283d9
mov edx, dword [ebp - 0x144]
push edx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x10028427
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x100283e9
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x10028427
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x64]
xor eax, eax
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10005150
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x148], 1
jmp 0x10028455
push ebx
xor edx, edx
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.10005fb0
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x48]
mov dword [ebp - 0x148], 2
mov esi, dword [ebp - 0x154]
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
push eax
mov ecx, esi
call fcn.100050d0
mov eax, dword [ebp - 0x148]
or eax, 4
test al, 2
je 0x100284a8
and eax, 0xfffffffd
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x148], eax
jb 0x1002849c
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
mov eax, dword [ebp - 0x148]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
test al, 1
je 0x100284ca
cmp dword [ebp - 0x18], 8
jb 0x100284be
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], 8
jb 0x100284dc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
cmp dword [ebp - 0x114], 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
jb 0x10028500
mov eax, dword [ebp - 0x128]
push eax
call fcn.1003d468
add esp, 4
mov eax, esi
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.1003c5b5
mov esp, ebp
pop ebp
ret