Function at 0x100a6e20
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
mov eax, dword [0x100fc008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
sub esp, 0x18
mov ecx, esp
call fcn.10083c70
lea ecx, [ebp - 0x468]
call fcn.10083fa0
mov ecx, esp
push 0x100fd9b0
call fcn.100ae9d0
lea ecx, [ebp - 0x450]
call fcn.10083b80
add esp, 0x18
push eax
push ecx
lea ecx, [ebp - 0x480]
call fcn.10085f50
add esp, 4
lea ecx, [ebp - 0x438]
mov edx, eax
call fcn.100af560
mov edx, dword [ebp - 0x46c]
add esp, 4
cmp edx, 0x10
jb 0x100a6ebd
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a6eb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73a5
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a6f12
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a6f08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73a5
push edx
push ecx
call fcn.100baf94
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x100fdfb0
call fcn.100ae9d0
lea ecx, [ebp - 0x498]
call fcn.10083b80
add esp, 0x18
lea ecx, [ebp - 0x468]
cmp dword [ebp - 0x454], 0x10
cmovae ecx, dword [ebp - 0x468]
push dword [ebp - 0x458]
push ecx
push ecx
mov ecx, eax
call fcn.100b3780
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x100fde00
movups xmmword [ebp - 0x480], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x470], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100ae9d0
lea ecx, [ebp - 0x4b0]
call fcn.10083b80
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x450]
call fcn.100af560
mov edx, dword [ebp - 0x46c]
add esp, 0x1c
cmp edx, 0x10
jb 0x100a6fe3
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a6fd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73aa
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a7038
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a702e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73aa
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
cmp edx, 0x10
jb 0x100a708d
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7083
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73aa
push edx
push ecx
call fcn.100baf94
add esp, 8
lea eax, [ebp - 0x408]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x480], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a70c3
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
lea ecx, [ebp - 0x480]
call fcn.100af160
lea eax, [ebp - 0x450]
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x420]
call fcn.100af660
mov edx, dword [ebp - 0x46c]
add esp, 4
cmp edx, 0x10
jb 0x100a7134
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a712a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73af
push edx
push ecx
call fcn.100baf94
add esp, 8
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100a7280
test al, 0x10
je 0x100a7280
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x100fde90
call fcn.100ae9d0
mov ecx, esi
call fcn.10083b80
add esp, 0x18
lea ecx, [ebp - 0x4b0]
call fcn.100854c0
mov edx, dword [ebp - 0x49c]
add esp, 0x18
cmp edx, 0x10
jb 0x100a71c6
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a71bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73b4
push edx
push ecx
call fcn.100baf94
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x100fdc68
call fcn.100ae9d0
mov ecx, esi
call fcn.10083b80
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100ae9d0
sub esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.100ae9d0
call fcn.10085920
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
push 0x100f7320
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c4b2d
add esp, 0x50
test eax, eax
je 0x100a7280
push eax
call fcn.100c4bbb
sub esp, 0x14
lea eax, [ebp - 0x450]
mov ecx, esp
push eax
call fcn.100ae9d0
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100ae9d0
call fcn.10085c50
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c4dc5
add esp, 0x34
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x100a72ba
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a72b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73b4
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
cmp edx, 0x10
jb 0x100a730f
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7305
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73b4
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x100a7345
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a733b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73b4
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x100a7396
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a738c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a73b4
push edx
push ecx
call fcn.100baf94
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100baa39
mov esp, ebp
pop ebp
ret
call fcn.100c79a0
call fcn.100c79a0
call fcn.100c79a0
call fcn.100c79a0
int3