Function at 0x1000a480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6aa6
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
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
mov dword [ebp - 0xdc], ebx
xor ecx, ecx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xd8], 0x80000001
call fcn.10033cf0
mov dword [ebp - 0xe0], eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.10025bf0
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.10033d80
push eax
mov eax, 0x100b6220
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.100068d0
add esp, 4
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 5
cmp dword [0x100c9918], ebx
jne 0x1000a56f
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x1000a564
mov esi, eax
call fcn.10035040
jmp 0x1000a566
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x100c9918], eax
push ebx
lea edx, [ebp - 0xd8]
push edx
mov edx, dword [ebp - 0xe0]
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x1000a5aa
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 0x1000a5cc
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 - 0x6c], esi
jb 0x1000a5e9
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], esi
jb 0x1000a60c
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 0x1000a638
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0xc0], esi
jb 0x1000a667
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x1000a9d9
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xe0], 0x80000002
call fcn.10033cf0
mov dword [ebp - 0xd8], eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.10025bf0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10033d80
push eax
mov eax, 0x100b6220
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.100068d0
add esp, 4
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [0x100c9918], ebx
jne 0x1000a70a
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x1000a6ff
mov esi, eax
call fcn.10035040
jmp 0x1000a701
xor eax, eax
mov byte [ebp - 4], 0xc
mov dword [0x100c9918], eax
push ebx
lea edx, [ebp - 0xe0]
push edx
mov edx, dword [ebp - 0xd8]
mov ecx, edi
lea esi, [ebp - 0xb8]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x1000a74e
mov eax, dword [ebp - 0xb8]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x88], esi
jb 0x1000a77f
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x6c], esi
jb 0x1000a7a5
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], esi
jb 0x1000a7c2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x1000a7df
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xc0], esi
jb 0x1000a805
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x1000a9d9
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xe0], 0x80000002
call fcn.10033cf0
mov dword [ebp - 0xd8], eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.10025bf0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.10033db0
push eax
mov eax, 0x100b6220
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x11
call fcn.100068d0
add esp, 4
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x9c]
mov byte [ebp - 4], 0x12
call fcn.10006920
mov edi, eax
mov byte [ebp - 4], 0x13
cmp dword [0x100c9918], ebx
jne 0x1000a8a8
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x14
cmp eax, ebx
je 0x1000a89d
mov esi, eax
call fcn.10035040
jmp 0x1000a89f
xor eax, eax
mov byte [ebp - 4], 0x13
mov dword [0x100c9918], eax
push ebx
lea edx, [ebp - 0xe0]
push edx
mov edx, dword [ebp - 0xd8]
mov ecx, edi
lea esi, [ebp - 0xb8]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x15
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x1000a8ec
mov eax, dword [ebp - 0xb8]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x88], esi
jb 0x1000a91d
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x6c], esi
jb 0x1000a943
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], esi
jb 0x1000a960
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x1000a97d
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xc0], esi
jb 0x1000a9a3
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x1000a9d9
mov esi, dword [ebp - 0xe4]
push ebx
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x100b61ec
mov ecx, esi
mov word [esi], dx
call fcn.10005fb0
cmp dword [ebp - 0x50], 8
jb 0x1000ab3c
mov eax, dword [ebp - 0x64]
push eax
jmp 0x1000ab34
push 0x100b6220
lea ecx, [ebp - 0x64]
push ecx
mov edi, 1
call fcn.10005250
lea edx, [ebp - 0x64]
push edx
mov ecx, eax
xor edx, edx
lea esi, [ebp - 0xd4]
call fcn.10004290
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x16
call fcn.100050d0
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0xc0], esi
jb 0x1000aa2b
mov eax, dword [ebp - 0xd4]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x1000aa7e
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1000aa3b
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x1000aa7e
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
mov edi, 7
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.10005150
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xdc], 2
jmp 0x1000aab5
push ebx
xor eax, eax
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005fb0
mov dword [ebp - 4], 0x18
lea eax, [ebp - 0x48]
mov dword [ebp - 0xdc], 4
mov edi, 7
mov esi, dword [ebp - 0xe4]
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 - 0xdc]
or eax, 1
test al, 4
je 0x1000ab08
and eax, 0xfffffffb
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0xdc], eax
jb 0x1000aafc
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
mov eax, dword [ebp - 0xdc]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
test al, 2
je 0x1000ab2a
cmp dword [ebp - 0x18], 8
jb 0x1000ab1e
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 0x1000ab3c
mov ecx, dword [ebp - 0x64]
push ecx
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