Function at 0x100249c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017bd16
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x101df028]
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 ebx, ecx
mov dword [ebp - 0xe0], ebx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd8], eax
lea edi, [ebx + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xdc], edi
cmp edi, eax
je 0x10024a22
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10020060
add ebx, 0x64
mov dword [ebp - 0xe8], ebx
cmp ebx, edi
je 0x10024a3b
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.10020060
lea eax, [ebp - 0x28]
push str.82010501713242510128132036216363
push eax
call fcn.1003d70f
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str.91447345036756321167665368104529
push eax
call fcn.1003d70f
push esi
push eax
push ebx
mov byte [ebp - 4], 2
call fcn.100404b3
mov eax, dword [ebp - 0x5c]
add esp, 0x1c
cmp eax, 8
jb 0x10024a81
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1001ff10
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 0x10024aad
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1001ff10
call fcn.1003c93a
test al, al
je 0x10024ad3
push edx
push esp
push edi
pop ecx
push esi
pop ebx
pop ebp
push edx
pop ecx
push edx
push eax
pop ecx
pop edx
push edx
pop ecx
push ebx
pop esi
pop ebx
push edx
pop edx
push esi
pop esi
pop eax
pop ebx
pop edx
push ebp
push esp
push eax
push edi
call fcn.1003c6cd
test al, al
je 0x10024b00
pop edx
pop edi
push esp
pop ebx
pop ecx
pop esp
push ecx
pop ebp
pop edx
push ecx
push ecx
push edi
push ebp
push ecx
push edi
push edx
pop esp
pop esp
push edi
pop ebx
push ecx
push ebp
push ebp
pop edi
pop ebx
pop eax
pop edi
push ecx
pop ebp
pop edi
mov edi, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0xbc], 7
push eax
push 0x101d73f8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.1001fe10
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x101d73f8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.1001fe10
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x10024b6c
mov edi, dword [edi]
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.1003ea78
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.1003e964
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x10024be5
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x10024bc2
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.1001ff10
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.100219f0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x10024bfe
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1001ff10
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10040ef8
push 0
call fcn.10059d4c
mov dword [ebp - 0xe4], 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 byte [ebp - 4], 9
mov dword [ebp - 0xec], eax
call fcn.1003c97f
test al, al
je 0x10024c6d
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
call fcn.1003cb62
test al, al
je 0x10024c94
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x10024cd4
mov eax, dword [ecx]
jmp 0x10024cd6
mov eax, ecx
mov ebx, dword [ebp - 0xdc]
xor edx, edx
push 0xffffffffffffffff
push edx
push ebx
mov word [eax], dx
call fcn.10020060
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0xe0]
mov ecx, esi
push edi
call fcn.10025660
test al, al
je 0x10024ea5
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xec], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.10059c79
add eax, dword [esi]
add esp, 4
cmp eax, dword [ebp - 0xe4]
jl 0x10024d59
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
je 0x10024e7d
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10020060
jmp 0x10024e7d
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.10040ef8
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x10024d72
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003cf8a
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10021800
lea ecx, [ebp - 0x28]
call fcn.1001fc70
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10024870
cmp dword [ebp - 0x48], 0
jne 0x10024df9
lea edi, [esi + 0x64]
push edi
push ebx
call fcn.10024700
add esp, 8
test al, al
je 0x10024df6
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.10040ef8
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x10024dcc
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003cf8a
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10021800
lea ecx, [ebp - 0x28]
call fcn.1001fc70
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10024870
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100246c0
add esp, 8
test al, al
je 0x10024ea5
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
je 0x10024e30
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10020060
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xf0], esp
push eax
call fcn.10021880
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xe8], esp
mov ecx, esp
push eax
call fcn.10021880
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push ebx
call fcn.10021880
push edi
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10025d70
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10025cf0
mov ecx, eax
call fcn.1002eeb0
mov esi, 1
jmp 0x10025199
cmp dword [ebp + 0x28], 0
jne 0x10024ec0
mov ecx, dword [ebp - 0xd8]
push 0x101d73f8
call fcn.1001fdc0
jmp 0x10025197
mov ebx, dword [ebp - 0xd8]
cmp dword [ebx + 0x10], 0
jne 0x10024f76
test edi, edi
je 0x10024f1a
add esi, 0x1c
cmp dword [esi + 0x14], 8
jb 0x10024edf
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1003eef2
add esp, 8
mov ecx, ebx
push eax
call fcn.10021800
lea ecx, [ebp - 0x28]
call fcn.1001fc70
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003eca6
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x10024f5e
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x10024f25
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1003eef2
add esp, 8
mov ecx, ebx
push eax
call fcn.10021800
lea ecx, [ebp - 0x28]
call fcn.1001fc70
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003eca6
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.10021b90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.1001fc70
call fcn.1003c6cd
test al, al
je 0x10024f8f
push ecx
pop esp
pop edx
push edi
push ebx
push edx
pop ebx
push ebp
pop edi
push esp
push esi
push eax
pop eax
push esp
pop ebp
pop esi
call fcn.1003cba7
test al, al
je 0x10024fa9
pop eax
pop edi
pop ebp
push ebx
push ebp
push ebp
push eax
pop eax
pop edx
pop ebp
pop ecx
pop edi
push edx
pop ebx
pop ebp
push esi
pop edx
call fcn.1003c712
test al, al
je 0x10024fd1
pop edi
push edx
push eax
push esi
push ecx
push ebx
push ebp
push edx
push eax
push esp
push ebx
pop esp
push ebp
pop esi
push edx
push edi
push ecx
pop ebp
push esp
push ebp
push edx
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebp
pop ebp
pop esi
push ebx
push esp
mov ebx, dword [ebp - 0xd8]
cmp dword [ebx + 0x14], 8
jb 0x10024fe1
mov eax, dword [ebx]
jmp 0x10024fe3
mov eax, ebx
push eax
call fcn.1003d7c4
mov esi, dword [ebp - 0xdc]
push esi
push dword [ebp - 0xe8]
call fcn.100246c0
mov edi, dword [ebp - 0xe0]
add esp, 0xc
mov ecx, edi
push ebx
test al, al
jne 0x10025024
push 0
call fcn.10025270
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x10025034
push ebx
mov ecx, edi
push 1
call fcn.10025270
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [ebx + 0x14], 8
jb 0x1002503e
mov eax, dword [ebx]
jmp 0x10025040
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10025179
cmp byte [ebp - 0xd1], 0
je 0x10025179
cmp dword [ebp - 0xec], 0
lea eax, [ebp - 0x40]
jne 0x1002506c
push 2
jmp 0x1002506e
push 3
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10025cf0
mov ecx, eax
call fcn.1002eeb0
cmp dword [ebp - 0x48], 0
jne 0x10025131
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.10040ef8
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x100250aa
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003cf8a
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10021800
lea ecx, [ebp - 0x28]
call fcn.1001fc70
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10024870
cmp dword [ebp - 0x48], 0
jne 0x10025131
lea eax, [edi + 0x64]
push eax
push esi
call fcn.10024700
add esp, 8
test al, al
je 0x10025131
lea eax, [edi + 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10040ef8
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x10025107
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003cf8a
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10021800
lea ecx, [ebp - 0x28]
call fcn.1001fc70
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10024870
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.10021880
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe8], esp
mov ecx, esp
push eax
call fcn.10021880
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push esi
call fcn.10021880
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.10025d70
jmp 0x10025197
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10025cf0
mov ecx, eax
call fcn.1002eeb0
xor esi, esi
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x100251ae
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1001ff10
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 0x100251e0
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.1001ff10
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 0x10025212
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100262c0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.1001fc70
lea ecx, [ebp - 0xb8]
call fcn.1001fc70
lea ecx, [ebp - 0xd0]
call fcn.1001fc70
lea ecx, [ebp + 0xc]
call fcn.1001fc70
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.10032035
mov esp, ebp
pop ebp
ret 0x24