Function at 0x10028bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10172a56
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101d5024]
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 esi, ecx
mov dword [ebp - 0xdc], esi
mov edi, dword [ebp + 0x24]
lea ebx, [esi + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp ebx, eax
je 0x10028c16
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.10025950
lea eax, [esi + 0x64]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0x10028c2f
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.10025950
lea eax, [ebp - 0x28]
push str.33149861036558401157004170431616
push eax
call fcn.100389fe
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str.92592559036756381167660468490824
push eax
call fcn.100389fe
push esi
push eax
push dword [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.1003a1b6
mov eax, dword [ebp - 0x5c]
add esp, 0x1c
cmp eax, 8
jb 0x10028c7a
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10025830
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x10028ca6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10025830
xor eax, eax
mov dword [ebp - 0xbc], 7
push eax
push 0x101cdff8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.10025730
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x101cdff8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.10025730
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 4
jb 0x10028d14
mov eax, dword [ebx]
jmp 0x10028d16
mov eax, ebx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1003926b
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10039201
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x10028d8f
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x10028d6c
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.10025830
xor eax, eax
mov dword [ebp - 0x74], 7
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.100272f0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x10028da8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10025830
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1003a6ff
push 0
call fcn.10050afc
mov dword [ebp - 0xe0], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x10028e2f
mov eax, dword [ecx]
jmp 0x10028e31
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push ebx
mov word [eax], dx
call fcn.10025950
push dword [ebp + 8]
mov esi, dword [ebp - 0xdc]
mov ecx, esi
call fcn.10029650
test al, al
je 0x10028ff0
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd8], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.10050a29
add eax, dword [esi]
add esp, 4
cmp eax, dword [ebp - 0xe0]
jl 0x10028ea7
lea eax, [ebp - 0xb8]
cmp edi, eax
je 0x10028fc8
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10025950
jmp 0x10028fc8
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.1003a6ff
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x10028ec0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10038398
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10027100
lea ecx, [ebp - 0x28]
call fcn.10025590
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10028a70
cmp dword [ebp - 0x48], 0
jne 0x10028f47
lea eax, [esi + 0x64]
push eax
push ebx
call fcn.10028900
add esp, 8
test al, al
je 0x10028f47
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1003a6ff
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x10028f1d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10038398
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10027100
lea ecx, [ebp - 0x28]
call fcn.10025590
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10028a70
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100288c0
add esp, 8
test al, al
je 0x10028ff0
lea eax, [ebp - 0xb8]
cmp edi, eax
je 0x10028f78
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10025950
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xe4], esp
push eax
call fcn.10027180
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xe0], esp
mov ecx, esp
push eax
call fcn.10027180
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push ebx
call fcn.10027180
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 9
call fcn.10029b80
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10029b00
mov ecx, eax
call fcn.10030e60
mov esi, 1
jmp 0x1002926e
cmp dword [ebp + 0x28], 0
jne 0x10029007
push 0x101cdff8
mov ecx, edi
call fcn.100256e0
jmp 0x1002926c
cmp dword [edi + 0x10], 0
jne 0x100290ba
mov eax, dword [ebp + 8]
test eax, eax
je 0x1002905e
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x10029023
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10039478
add esp, 8
mov ecx, edi
push eax
call fcn.10027100
lea ecx, [ebp - 0x28]
call fcn.10025590
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10039346
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x100290a2
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10029069
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10039478
add esp, 8
mov ecx, edi
push eax
call fcn.10027100
lea ecx, [ebp - 0x28]
call fcn.10025590
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10039346
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10027490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.10025590
cmp dword [edi + 0x14], 8
jb 0x100290c4
mov eax, dword [edi]
jmp 0x100290c6
mov eax, edi
push eax
call fcn.10038abf
lea eax, [esi + 0x64]
push ebx
push eax
call fcn.100288c0
add esp, 0xc
mov ecx, esi
push edi
test al, al
jne 0x100290f9
push 0
call fcn.10029350
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x10029109
push edi
mov ecx, esi
push 1
call fcn.10029350
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [edi + 0x14], 8
jb 0x10029113
mov eax, dword [edi]
jmp 0x10029115
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002924e
cmp byte [ebp - 0xd1], 0
je 0x1002924e
cmp dword [ebp - 0xd8], 0
lea eax, [ebp - 0x40]
jne 0x10029141
push 2
jmp 0x10029143
push 3
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10029b00
mov ecx, eax
call fcn.10030e60
cmp dword [ebp - 0x48], 0
jne 0x10029206
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.1003a6ff
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x1002917f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10038398
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10027100
lea ecx, [ebp - 0x28]
call fcn.10025590
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10028a70
cmp dword [ebp - 0x48], 0
jne 0x10029206
lea eax, [esi + 0x64]
push eax
push ebx
call fcn.10028900
add esp, 8
test al, al
je 0x10029206
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1003a6ff
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x100291dc
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10038398
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10027100
lea ecx, [ebp - 0x28]
call fcn.10025590
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10028a70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push edi
call fcn.10027180
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe0], esp
mov ecx, esp
push eax
call fcn.10027180
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push ebx
call fcn.10027180
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10029b80
jmp 0x1002926c
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10029b00
mov ecx, eax
call fcn.10030e60
xor esi, esi
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x10029283
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10025830
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x100292b5
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.10025830
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
cmp eax, 0x10
jb 0x100292e7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10029f40
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.10025590
lea ecx, [ebp - 0xb8]
call fcn.10025590
lea ecx, [ebp - 0xd0]
call fcn.10025590
lea ecx, [ebp + 0xc]
call fcn.10025590
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.1003357f
mov esp, ebp
pop ebp
ret 0x24