Function at 0x10002a60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ae2c
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x102159fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xd8], eax
mov edi, dword [ebp + 0x24]
lea esi, [eax + 0x4c]
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
cmp esi, ecx
je 0x10002ac4
cmp dword [ebp + 0x20], 8
mov eax, ecx
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.10001270
mov eax, dword [ebp - 0xd8]
add eax, 0x64
mov dword [ebp - 0xdc], eax
cmp eax, esi
je 0x10002ae6
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10002adb
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10001270
lea eax, [ebp - 0xb8]
push str.08257523075825350634622061083636
push eax
call fcn.1014d7b9
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push str.72604021055831532158555461380032
push eax
call fcn.1014d7b9
push esi
push eax
push dword [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.1014f5d1
mov edx, dword [ebp - 0x8c]
add esp, 0x1c
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10002b66
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002b5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003412
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x10002bc6
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002bbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003417
push edx
push ecx
call fcn.1014b814
add esp, 8
xor eax, eax
mov dword [ebp - 0xc0], 0
push eax
push 0x1018f440
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.10001270
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x1018f440
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10001270
mov esi, dword [ebp - 0xd8]
add esi, 0x4c
mov byte [ebp - 4], 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10002c31
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1014e3ac
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1014e327
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xe0], eax
add esp, 0x10
cmp ecx, eax
je 0x10002ca5
call fcn.10001e10
mov eax, dword [ebp - 0xe0]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x10002ce5
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002cdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000341c
push edx
push ecx
call fcn.1014b814
add esp, 8
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1014fc81
push 0
call fcn.1016847f
mov dword [ebp - 0xe4], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.10002700
push dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
call fcn.10003810
test al, al
je 0x10002f58
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe0], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.101683ac
mov ecx, dword [ebp - 0xd8]
add esp, 4
add eax, dword [ecx]
cmp eax, dword [ebp - 0xe4]
jl 0x10002dc7
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x10002f30
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10001270
jmp 0x10002f30
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.1014fc81
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x10002de0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1014cfb7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xe4], eax
add esp, 8
cmp ecx, eax
je 0x10002e2c
call fcn.10001e10
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x48], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xb8]
call fcn.10001e10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.10002840
cmp dword [ebp - 0x48], 0
jne 0x10002eaa
push dword [ebp - 0xdc]
push esi
call fcn.10002670
add esp, 8
test al, al
jne 0x10002eaa
push dword [ebp - 0xdc]
lea eax, [ebp - 0xb8]
push eax
call fcn.1014fc81
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x10002e7d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014cfb7
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10002a20
lea ecx, [ebp - 0x70]
call fcn.10001e10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.10002840
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10002670
add esp, 8
test al, al
je 0x10002f58
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x10002edf
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10001270
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0xe8], esp
push eax
call fcn.10002700
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xe4], esp
mov ecx, esp
push eax
call fcn.10002700
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push esi
call fcn.10002700
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
push eax
mov byte [ebp - 4], 8
call fcn.10003dc0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10003d40
mov ecx, eax
call fcn.1000bce0
mov esi, 1
jmp 0x100031fe
cmp dword [ebp + 0x28], 0
jne 0x10002f71
push 0
push 0x1018f440
mov ecx, edi
call fcn.10001270
jmp 0x100031fc
cmp dword [edi + 0x10], 0
jne 0x10003032
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0xd8]
je 0x10002fcd
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x10002f92
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014e5b2
add esp, 8
mov ecx, edi
push eax
call fcn.10002a20
lea ecx, [ebp - 0x70]
call fcn.10001e10
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014e494
add esp, 8
mov byte [ebp - 4], 0xd
jmp 0x10003011
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x10002fd8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014e5b2
add esp, 8
mov ecx, edi
push eax
call fcn.10002a20
lea ecx, [ebp - 0x70]
call fcn.10001e10
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014e494
add esp, 8
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1000301b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.10004210
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.10001e10
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1000303c
mov eax, dword [edi]
push eax
call fcn.1014d928
push esi
push dword [ebp - 0xdc]
call fcn.10002670
mov ecx, dword [ebp - 0xd8]
add esp, 0xc
push edi
test al, al
jne 0x10003077
push 0
call fcn.10003450
test eax, eax
setne byte [ebp - 0xd1]
test eax, eax
jne 0x10003087
mov ecx, dword [ebp - 0xd8]
push edi
push 1
call fcn.10003450
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10003091
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100031de
cmp byte [ebp - 0xd1], 0
je 0x100031de
cmp dword [ebp - 0xe0], 0
lea eax, [ebp - 0x40]
jne 0x100030bd
push 2
jmp 0x100030bf
push 3
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10003d40
mov ecx, eax
call fcn.1000bce0
cmp dword [ebp - 0x48], 0
jne 0x10003192
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.1014fc81
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x100030fe
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014cfb7
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10002a20
lea ecx, [ebp - 0x70]
call fcn.10001e10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.10002840
cmp dword [ebp - 0x48], 0
jne 0x10003192
push dword [ebp - 0xdc]
push esi
call fcn.10002670
add esp, 8
test al, al
jne 0x10003192
push dword [ebp - 0xdc]
lea eax, [ebp - 0xb8]
push eax
call fcn.1014fc81
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x10003165
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1014cfb7
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10002a20
lea ecx, [ebp - 0x70]
call fcn.10001e10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.10002840
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe8], esp
push edi
call fcn.10002700
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe4], esp
mov ecx, esp
push eax
call fcn.10002700
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
push esi
call fcn.10002700
push dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.10003dc0
jmp 0x100031fc
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.10003d40
mov ecx, eax
call fcn.1000bce0
xor esi, esi
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10003238
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000322e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003421
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x10003278
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000326e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003426
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100032ac
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100032a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000342b
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 8
jb 0x100032fb
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100032f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003430
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x1000334c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003342
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003435
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100033a0
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003396
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000343a
push edx
push ecx
call fcn.1014b814
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp edx, 8
jb 0x100033f3
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100033e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000343f
push edx
push ecx
call fcn.1014b814
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014bb85
mov esp, ebp
pop ebp
ret 0x24
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
call fcn.101675c9
int3