Function at 0x10008450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eab8e
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1012931c]
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, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x188], edi
call fcn.10005780
mov ecx, eax
call fcn.1003eb66
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 4], 0
call fcn.100482a6
push 5
push str.scach
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10006070
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x100f5cc0
push dword [edi + 4]
cmovae eax, dword [ebp - 0x40]
push dword [edi]
push eax
lea eax, [ebp - 0x28]
push 0x100f5cc8
push eax
call fcn.100350d8
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10008516
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10008550
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008546
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008997
push edx
push ecx
call fcn.10081441
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000892c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.100492e2
push dword [edi]
lea eax, [ebp - 0x28]
push 0x100f5ce4
push eax
call fcn.100350d8
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x19c]
push 0x100f5cec
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.10048409
mov ecx, eax
call fcn.100484cc
mov ecx, eax
call fcn.10048beb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x19c]
cmovae ecx, dword [ebp - 0x28]
push 0x100f5cfc
push eax
push ecx
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10048409
mov ecx, eax
call fcn.100484cc
mov ecx, eax
call fcn.10048beb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x19c]
cmovae ecx, dword [ebp - 0x28]
push 0x100f5d04
push eax
push ecx
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10048409
mov ecx, eax
call fcn.100484cc
mov ecx, eax
call fcn.10048c52
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x1c4]
cmovae ecx, dword [ebp - 0x28]
push 0x100f5d0c
push eax
push ecx
lea eax, [ebp - 0x198]
mov dword [ebp - 0x180], edx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10048409
mov ecx, eax
call fcn.100484cc
mov ecx, eax
call fcn.10048c20
mov edx, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100086b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10003260
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.10001d80
lea eax, [ebp - 0x70]
push eax
call fcn.100365da
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x1000871b
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x48], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x70]
call fcn.10001ee0
sub esp, 0x18
lea esi, [edi + 0x28]
mov ecx, esp
push esi
call fcn.10001d80
lea eax, [ebp - 0x70]
push eax
call fcn.100365da
mov edi, eax
add esp, 0x1c
cmp esi, edi
je 0x1000876d
mov ecx, esi
call fcn.10001ee0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x70]
call fcn.10001ee0
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x178]
cmp dword [eax + 4], ecx
jne 0x1000891c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10008794
mov eax, dword [esi]
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
mov esi, dword [esi + 0x10]
cmovae edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
cmp esi, ecx
mov edx, ecx
cmovb edx, esi
test edx, edx
je 0x100087ca
sub edi, eax
mov cx, word [edi + eax]
cmp cx, word [eax]
jne 0x1000891c
add eax, 2
sub edx, 1
jne 0x100087b2
mov ecx, dword [ebp - 0x48]
cmp ecx, esi
jb 0x1000891c
ja 0x1000891c
push 0
call fcn.100b60a4
mov esi, eax
add esp, 4
sub esi, dword [ebp - 0x184]
sbb edx, dword [ebp - 0x180]
mov eax, edx
cdq
xor eax, edx
xor esi, edx
sub esi, edx
sbb eax, edx
mov ecx, eax
imul eax, dword [ebp - 0x17c], 0xe10
cdq
cmp ecx, edx
jg 0x1000891c
jl 0x1000881a
cmp esi, eax
jae 0x1000891c
call fcn.10045da9
test al, al
je 0x10008903
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x10008903
cmp dword [eax + 4], 4
jl 0x10008903
push str.1095
call fcn.10045bd3
push str.1120
mov dword [ebp - 0x17c], eax
call fcn.10045bd3
add esp, 8
mov dword [ebp - 0x178], eax
lea ecx, [ebp - 0x170]
push 0
push 0
push 0x100f5674
push 0x2c
push str.CCloudTaskDll::CanRunDll
push 4
call fcn.10006e20
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x178]
push ecx
mov ecx, eax
call fcn.100061f0
mov ecx, eax
call fcn.100061f0
mov edi, eax
push str.g0R_
lea esi, [edi + 0x28]
push esi
call fcn.10006220
push str._nN_k
push esi
call fcn.10006220
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x180]
push dword [ebp - 0x184]
call fcn.10007dc0
push 0x100f5d5c
push esi
call fcn.10006220
mov eax, dword [ebp - 0x188]
add esp, 8
mov ecx, esi
push dword [eax]
call fcn.10007c10
mov ecx, dword [0x1012ebd0]
push edi
call fcn.10007f70
lea ecx, [ebp - 0x170]
call fcn.10007910
lea ecx, [ebp - 0x58]
call fcn.10001ee0
lea ecx, [ebp - 0x28]
call fcn.10001ee0
mov byte [ebp - 0x171], 0
jmp 0x10008933
lea ecx, [ebp - 0x58]
call fcn.10001ee0
lea ecx, [ebp - 0x28]
call fcn.10001ee0
mov byte [ebp - 0x171], 1
lea ecx, [ebp - 0x1b8]
call fcn.10048387
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10008974
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000896a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000899c
push edx
push ecx
call fcn.10081441
add esp, 8
mov al, byte [ebp - 0x171]
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.10081454
mov esp, ebp
pop ebp
ret 4
call fcn.100ad050
call fcn.100ad050
int3