Function at 0x100171e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4fb2
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100d76a4]
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 - 0x5c], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
call fcn.10014aa0
test al, al
je 0x10017551
lea eax, [ebp - 0x58]
push eax
call fcn.10056fc0
add esp, 4
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10017280
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x10017298
call fcn.10009240
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10017570
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x48], 3
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x54], edi
lea edx, [edi + 6]
test edx, edx
js 0x1001757a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x100172df
push edx
lea ecx, [ebp - 0x44]
call fcn.1000b800
mov esi, dword [ebp - 0x44]
add edi, edi
push edi
push dword [ebp - 0x50]
push edi
push esi
call fcn.1000f250
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x10017308
call fcn.10081c42
mov dword [eax], 0x16
call fcn.10081b69
jmp 0x1001731c
movq xmm0, qword [str.log9]
movq qword [ecx], xmm0
mov eax, dword [0x100ae8fc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x54]
add eax, 6
cmp eax, dword [esi - 8]
jg 0x1001757a
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ecx, esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017350
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000d240
mov dword [ebp - 0x48], 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001738e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100173aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017518
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.1004fc80
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.10014650
push 0
push 0x100ad7c0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.1000d140
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x40]
call fcn.10050d80
mov esi, dword [ebp - 0x4c]
mov edi, eax
cmp esi, edi
je 0x1001748e
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1001745c
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10017452
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017584
mov eax, edx
push ecx
push eax
call fcn.10060985
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x100174c5
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100174bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017584
push edx
push ecx
call fcn.10060985
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x1001750e
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017504
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017589
push edx
push ecx
call fcn.10060985
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10048730
jmp 0x1001751b
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10017551
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017547
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001758e
push edx
push ecx
call fcn.10060985
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.10060d04
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007c80
push 0x80070057
call fcn.10007c80
call fcn.10081b79
call fcn.10081b79
call fcn.10081b79
int3