Function at 0x1001a210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c7d2
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100cc464]
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.100182d0
test al, al
je 0x1001a581
lea eax, [ebp - 0x58]
push eax
call fcn.10049990
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 0x1001a2b0
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x1001a2c8
call fcn.10008980
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x1001a5a0
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 0x1001a5aa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x1001a30f
push edx
lea ecx, [ebp - 0x44]
call fcn.1000b050
mov esi, dword [ebp - 0x44]
add edi, edi
push edi
push dword [ebp - 0x50]
push edi
push esi
call fcn.1000e340
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x1001a338
call fcn.100792d2
mov dword [eax], 0x16
call fcn.100791f9
jmp 0x1001a34c
movq xmm0, qword [str.log9]
movq qword [ecx], xmm0
mov eax, dword [0x100a581c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x54]
add eax, 6
cmp eax, dword [esi - 8]
jg 0x1001a5aa
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 0x1001a380
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000c570
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 0x1001a3be
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 0x1001a3da
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 0x1001a548
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.10048120
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.10017fc0
push 0
push 0x100a46c4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.1000c470
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x40]
call fcn.10049200
mov esi, dword [ebp - 0x4c]
mov edi, eax
cmp esi, edi
je 0x1001a4be
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1001a48c
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1001a482
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a5b4
mov eax, edx
push ecx
push eax
call fcn.10057df5
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 0x1001a4f5
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a4eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a5b4
push edx
push ecx
call fcn.10057df5
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 0x1001a53e
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a5b9
push edx
push ecx
call fcn.10057df5
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10045730
jmp 0x1001a54b
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001a581
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a5be
push edx
push ecx
call fcn.10057df5
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.10058174
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007510
push 0x80070057
call fcn.10007510
call fcn.10079209
call fcn.10079209
call fcn.10079209
int3