Function at 0x1009ffb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019062b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x98], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xac], ecx
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
cmp esi, eax
je 0x100a001c
mov edi, eax
nop dword [eax]
mov ecx, esi
call fcn.10065010
add esi, 0x38
cmp esi, edi
jne 0x100a0000
mov ecx, dword [ebp - 0xac]
mov edi, dword [ebp - 0x98]
mov esi, dword [ecx]
xorps xmm0, xmm0
mov dword [ecx + 4], esi
mov byte [ebp - 0x9d], 0
movlpd qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.100a5694
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x9d]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
push 0x10094c10
push 0x101f37ac
call fcn.100a3fb6
add esp, 0x10
test eax, eax
je 0x100a06fa
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
call fcn.100a56ce
mov ecx, dword [0x101f37a8]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.100562b0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x9c], eax
cmp esi, eax
je 0x100a00ca
mov edi, eax
nop dword [eax]
mov ecx, esi
call fcn.10064550
add esi, 0x11c
cmp esi, edi
jne 0x100a00b0
mov edi, dword [ebp - 0x98]
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x9c]
mov dword [edi + 0x18], esi
push eax
mov ecx, edi
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x98], 0
call fcn.1009da70
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1009f330
mov dword [edi + 4], eax
mov ecx, edi
lea eax, [ebp - 0x98]
push eax
call fcn.1009ea20
mov dword [edi + 8], eax
mov eax, 0xe6c2b449
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100a014f
xor al, al
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.10126919
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100a0cd0
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
cmp edx, eax
mov dword [ebp - 4], 5
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], edx
je 0x100a03f1
cmp dword [edx + 0x40], 0
mov esi, 0x48
jne 0x100a01ac
cmp dword [edx + 0x58], 0
mov eax, 0x18
cmovne eax, esi
jmp 0x100a01b1
mov eax, 0x30
cmp dword [eax + edx + 0x14], 8
lea edi, [eax + edx]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], eax
jb 0x100a01d1
mov edi, dword [edi]
cmp eax, 8
jae 0x100a01e6
movups xmm0, xmmword [edi]
mov dword [ebp - 0x40], 7
movups xmmword [ebp - 0x54], xmm0
jmp 0x100a0226
mov esi, eax
lea ecx, [ebp - 0x54]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10044af0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.1014d330
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov esi, ecx
mov edi, dword [ecx + 4]
mov byte [ebp - 4], 6
cmp byte [edi + 0xd], 0
jne 0x100a0283
lea eax, [ebp - 0x54]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.1009c8c0
test al, al
je 0x100a0260
mov edi, dword [edi + 8]
jmp 0x100a0264
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100a0247
cmp esi, dword [ebp - 0x18]
je 0x100a0283
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x18]
call fcn.1009c8c0
test al, al
je 0x100a02bc
lea eax, [ebp - 0x54]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x9d]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0x101a3c52
call fcn.10099150
push eax
add eax, 0x10
lea ecx, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x58]
push eax
call fcn.10099e50
mov esi, dword [ebp - 0x58]
add esi, 0x28
lea ecx, [ebp - 0x30]
push esi
call fcn.1009c1c0
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x98]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x28], eax
je 0x100a02ea
mov ecx, eax
call fcn.1009c290
add dword [ebp - 0x2c], 0x11c
jmp 0x100a02f3
push eax
lea ecx, [ebp - 0x30]
call fcn.10099570
mov eax, dword [ebp - 0x18]
mov esi, eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x100a033d
lea eax, [ebp - 0x54]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.1009c8c0
test al, al
je 0x100a031a
mov edi, dword [edi + 8]
jmp 0x100a031e
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100a0301
cmp esi, dword [ebp - 0x18]
je 0x100a033d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x18]
call fcn.1009c8c0
test al, al
je 0x100a0376
lea eax, [ebp - 0x54]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0xa5]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0x101a3c52
call fcn.10099150
push eax
add eax, 0x10
lea ecx, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.10099e50
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x30]
cmp ecx, eax
je 0x100a0391
push dword [ebp - 0xa4]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.10098ef0
lea ecx, [ebp - 0x30]
call fcn.1008abf0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x100a03d7
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a03cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a0717
push edx
push ecx
call fcn.1012659a
add esp, 8
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x18]
add edx, 0x11c
cmp edx, dword [ebp - 0xa4]
jmp 0x100a0187
push dword [ebp - 0xa4]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov eax, dword [ecx]
push ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.1009ba50
mov edi, dword [ebp - 0x38]
mov eax, 0x38e38e39
mov esi, dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp - 0xa4]
sub ecx, esi
mov byte [ebp - 4], 8
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.1009bc10
mov esi, dword [ebp - 0x3c]
add esp, 0x10
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa4], eax
cmp esi, eax
je 0x100a0676
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
cmp eax, esi
je 0x100a04c6
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100a04b7
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x94]
push eax
call fcn.10044c60
mov eax, dword [esi + 0x1c]
xorps xmm1, xmm1
mov edi, dword [esi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1c], eax
sub ecx, edi
mov eax, 0xe6c2b449
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x64], eax
cmp edi, dword [ebp - 0x1c]
je 0x100a058e
lea esi, [edi + 0x60]
nop dword [eax + eax]
mov eax, dword [esi + 0x18]
cmp eax, 0x32000
jle 0x100a0514
movss xmm0, dword [0x101a3d1c]
jmp 0x100a052d
cmp eax, 0x19000
jle 0x100a0525
movss xmm0, dword [0x101a3d18]
jmp 0x100a052d
movss xmm0, dword [0x101a3d14]
cmp dword [esi + 0x14], 8
addss xmm0, xmm1
mov eax, esi
movss dword [ebp - 0x98], xmm0
jb 0x100a0543
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a0571
cmp dword [ebp - 0x6c], 0
jne 0x100a0571
lea eax, [ebp - 0x7c]
cmp eax, esi
je 0x100a0571
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100a0565
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x7c]
push eax
call fcn.10044c60
movss xmm1, dword [ebp - 0x98]
add edi, 0x11c
add esi, 0x11c
cmp edi, dword [ebp - 0x1c]
jne 0x100a0500
mov edi, dword [ebp - 0xac]
lea eax, [ebp - 0x94]
movss dword [ebp - 0x60], xmm1
push eax
mov esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x100a05d8
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.10042000
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x18]
call fcn.10042000
movss xmm0, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x30], eax
movss dword [esi + 0x34], xmm0
add dword [edi + 4], 0x38
jmp 0x100a05e0
push esi
mov ecx, edi
call fcn.10099740
mov edx, dword [ebp - 0x68]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x100a061e
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a0614
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a0717
push edx
push ecx
call fcn.1012659a
add esp, 8
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x100a065b
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a0651
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a0717
push edx
push ecx
call fcn.1012659a
add esp, 8
mov esi, dword [ebp - 0x9c]
add esi, 0x24
mov dword [ebp - 0x9c], esi
cmp esi, dword [ebp - 0xa4]
jne 0x100a0471
lea ecx, [ebp - 0x3c]
call fcn.100a0f10
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xa4], ecx
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x100a06d1
nop dword [eax + eax]
push dword [esi + 8]
lea ecx, [ebp - 0x18]
call fcn.100a0e70
mov esi, dword [esi]
lea ecx, [edi + 0x10]
call fcn.1009c820
push 0x34
push edi
call fcn.1012659a
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x100a06a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
push 0x34
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.1012659a
add esp, 8
mov al, 1
jmp 0x100a0132
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
call fcn.100a56ef
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x100a071c
call fcn.100a3fce
call fcn.101513dc
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1004e0d0
call fcn.100558b0
int3