Function at 0x10028aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084862
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100ac1c4]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
test edi, edi
je 0x10028ec0
test esi, esi
je 0x10028ec0
xor eax, eax
cmp ax, word [esi]
je 0x10028ec0
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100503b0
add esp, 0xc
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
cmp dword [ebp + 0x18], 0
je 0x10028b48
push 0x20119
jmp 0x10028b4d
push 0x20219
push esi
push edi
call fcn.10017e40
test eax, eax
jne 0x10028e8e
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
lea ecx, [ebp - 0x22c]
call fcn.100292c0
test eax, eax
jne 0x10028e8e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10003cf0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x21c]
movzx eax, word [edi]
push eax
call fcn.1005b49f
add esp, 4
test eax, eax
je 0x10028bc8
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.1005b49f
add esp, 4
test eax, eax
jne 0x10028bb4
mov esi, dword [ebp - 0x21c]
mov ebx, 1
cmp edi, esi
je 0x10028c5d
mov edx, dword [esi - 0xc]
sub edi, esi
sar edi, 1
test edx, edx
js 0x10028ede
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x10028c0a
push edx
lea ecx, [ebp - 0x21c]
call fcn.1000f930
mov esi, dword [ebp - 0x21c]
mov ecx, dword [esi - 0xc]
lea edx, [esi + edi*2]
mov ebx, ecx
sub ebx, edi
lea eax, [ebx*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push esi
call fcn.10029940
add esp, 0x10
test ebx, ebx
js 0x10028ede
mov eax, dword [ebp - 0x21c]
cmp ebx, dword [eax - 8]
jg 0x10028ede
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + ebx*2], cx
lea ebx, [ecx + 1]
mov esi, dword [ebp - 0x21c]
movzx eax, word [esi]
xor edi, edi
test ax, ax
je 0x10028ce8
mov ecx, eax
nop dword [eax]
push ecx
call fcn.1005b49f
add esp, 4
test eax, eax
je 0x10028c88
test edi, edi
mov eax, esi
cmovne eax, edi
mov edi, eax
jmp 0x10028c8a
xor edi, edi
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x10028c70
test edi, edi
je 0x10028ce2
mov eax, dword [ebp - 0x21c]
sub edi, eax
sar edi, 1
js 0x10028ee8
mov ecx, dword [eax - 8]
sub ebx, dword [eax - 4]
sub ecx, edi
or ecx, ebx
jge 0x10028cca
push edi
lea ecx, [ebp - 0x21c]
call fcn.1000f930
mov eax, dword [ebp - 0x21c]
cmp edi, dword [eax - 8]
jg 0x10028ede
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + edi*2], cx
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jne 0x10028d04
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.100054b0
jmp 0x10028e90
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.100290e0
mov byte [ebp - 4], 2
mov ecx, 0x1008bfc8
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10028d49
test dx, dx
je 0x10028d45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10028d49
add eax, 4
add ecx, 4
test dx, dx
jne 0x10028d23
xor esi, esi
jmp 0x10028d4e
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.100054b0
test esi, esi
jne 0x10028d9d
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x21c]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10029560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
push eax
call fcn.10014200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.100054b0
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10029560
mov byte [ebp - 4], 4
mov ecx, 0x1008bfc8
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10028de6
test dx, dx
je 0x10028de2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10028de6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10028dc0
xor esi, esi
jmp 0x10028deb
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.100054b0
test esi, esi
jne 0x10028e3a
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x21c]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.100290e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push eax
call fcn.10014200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.100054b0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x10028e6f
cmp word [eax], 0
je 0x10028e6f
push eax
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.10027d00
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.10029510
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.100054b0
jmp 0x10028e90
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x10028eb2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov eax, esi
jmp 0x10028ec2
xor eax, eax
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.10047acb
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100079c0
push 0x80070057
call fcn.100079c0
int3