Function at 0x1000f1a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025d135
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x102fb070]
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, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x834], eax
mov byte [ebp - 0x821], 1
call fcn.10063dd9
test al, al
je 0x1000f2f0
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000f2f0
cmp dword [eax + 4], 4
jl 0x1000f2f0
push str.1114
call fcn.1006397d
push str.1011
mov dword [ebp - 0x830], eax
call fcn.1006397d
push str.1121
mov edi, eax
call fcn.1006397d
add esp, 0xc
lea ecx, [ebp - 0x160]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x37a
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov dword [ebp - 0x828], eax
test esi, esi
mov dword [ebp - 4], 0
mov ecx, 0x102de530
cmovne ecx, esi
lea esi, [eax + 0x30]
push ecx
push esi
call fcn.10021c60
test edi, edi
mov eax, 0x102de530
cmovne eax, edi
push eax
push esi
call fcn.10021c60
mov edi, dword [ebp - 0x82c]
add esp, 0x10
mov ecx, esi
push dword [edi]
call fcn.1001b390
push 0x102de52c
push esi
call fcn.10021c60
add esp, 8
mov ecx, esi
push dword [edi + 4]
call fcn.1001b390
mov ecx, dword [ebp - 0x830]
mov eax, 0x102de530
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 8
push dword [ebp - 0x828]
call fcn.10025f50
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call fcn.100221e0
mov esi, edi
lea eax, [ebp - 0x28]
push eax
call fcn.10010ce0
mov ecx, eax
call fcn.10066127
mov dword [ebp - 4], 1
lea edx, [esi + 0x10]
cmp dword [esi + 0x24], 8
jb 0x1000f313
mov edx, dword [esi + 0x10]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x20]
sub eax, edi
mov dword [ebp - 0x828], edi
cmp ecx, eax
ja 0x1000f35d
add edi, ecx
lea eax, [ecx + ecx]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x828]
push edx
mov dword [ebp - 0x18], edi
lea eax, [esi + eax*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x82c]
jmp 0x1000f375
push ecx
push edx
mov byte [ebp - 0x828], 0
push dword [ebp - 0x828]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008770
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 0x1000f9de
cmp dword [esi + 0xbc], 0
lea edi, [esi + 0xac]
mov dword [ebp - 0x830], edi
je 0x1000f9de
cmp dword [esi + 0x48], 0
je 0x1000f569
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x828], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x83c], esp
push 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x102de1ac
mov word [ecx], ax
call fcn.10006680
mov byte [ebp - 4], 2
mov esi, dword [0x1030bc24]
test esi, esi
jne 0x1000f46a
push 0x1030bc28
mov dword [ebp - 0x840], 0x1030bc28
call fcn.1003d112
add esp, 4
test eax, eax
je 0x1000f417
push eax
call fcn.1003d385
add esp, 4
mov byte [ebp - 4], 3
mov esi, dword [0x1030bc24]
test esi, esi
jne 0x1000f448
push 8
call fcn.10053ab3
add esp, 4
mov dword [ebp - 0x838], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10065940
mov esi, eax
mov dword [0x1030bc24], esi
push 0x1030bc28
mov byte [ebp - 4], 5
call fcn.1003d187
add esp, 4
test eax, eax
je 0x1000f466
push eax
call fcn.1003d385
add esp, 4
mov byte [ebp - 4], 2
push dword [ebp - 0x828]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10065b96
call fcn.1005be49
add esp, 0x18
test eax, eax
jne 0x1000f563
call fcn.10063dd9
test al, al
je 0x1000f53d
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000f53d
cmp dword [eax + 4], 4
jl 0x1000f53d
push 0x102de1b0
call fcn.1006397d
push str.1121
mov dword [ebp - 0x828], eax
call fcn.1006397d
add esp, 8
lea ecx, [ebp - 0x280]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x38f
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 6
mov ecx, 0x102de530
cmovne ecx, esi
lea esi, [edi + 0x30]
push ecx
push esi
call fcn.10021c60
mov ecx, dword [ebp - 0x828]
mov eax, 0x102de530
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 0x10
push edi
call fcn.10025f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.100221e0
mov al, byte [ebp - 0x821]
mov ecx, dword [ebp - 0x834]
test ecx, ecx
je 0x1000fa99
test al, al
mov eax, dword [ecx]
je 0x1000fa97
call dword [eax + 4]
jmp 0x1000fa99
mov esi, dword [ebp - 0x82c]
mov byte [ebp - 0x822], 1
call fcn.1006ec3c
cmp eax, 3
jl 0x1000f7a3
add esi, 0x4c
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x1000f58b
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
push 6
push str.normal
push eax
push ecx
mov dword [ebp - 0x82c], eax
call fcn.10021f80
add esp, 0x10
test eax, eax
jne 0x1000f5b5
mov byte [ebp - 0x822], 1
jmp 0x1000f7a3
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000f5bf
mov eax, dword [esi]
push 4
push str.high
push dword [ebp - 0x82c]
push eax
call fcn.10021f80
add esp, 0x10
test eax, eax
jne 0x1000f6a3
mov byte [ebp - 0x822], 1
call fcn.1006e695
test eax, eax
jne 0x1000f7a3
call fcn.10063dd9
test al, al
je 0x1000f53d
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000f53d
cmp dword [eax + 4], 4
jl 0x1000f53d
push 0x102de1f4
call fcn.1006397d
push str.1121
mov dword [ebp - 0x828], eax
call fcn.1006397d
add esp, 8
lea ecx, [ebp - 0x3a0]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x3b7
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 0xa
mov ecx, 0x102de530
cmovne ecx, esi
lea esi, [edi + 0x30]
push ecx
push esi
call fcn.10021c60
mov ecx, dword [ebp - 0x828]
mov eax, 0x102de530
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 0x10
push edi
call fcn.10025f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a0]
jmp 0x1000f538
cmp dword [esi + 0x14], 0x10
jb 0x1000f6ab
mov esi, dword [esi]
push 0xa
push str.forcedhigh
push dword [ebp - 0x82c]
push esi
call fcn.10021f80
add esp, 0x10
mov byte [ebp - 0x822], 1
test eax, eax
jne 0x1000f7a3
mov byte [ebp - 0x822], al
call fcn.10063dd9
test al, al
je 0x1000f7a3
mov eax, dword [0x1030bab4]
mov byte [ebp - 0x822], 0
test eax, eax
je 0x1000f7a3
cmp dword [eax + 4], 4
mov byte [ebp - 0x822], 0
jl 0x1000f7a3
push str.1116
call fcn.1006397d
push str.1121
mov dword [ebp - 0x828], eax
call fcn.1006397d
add esp, 8
lea ecx, [ebp - 0x4c0]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x3a3
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 7
mov ecx, 0x102de530
cmovne ecx, esi
lea esi, [edi + 0x30]
push ecx
push esi
call fcn.10021c60
mov ecx, dword [ebp - 0x828]
mov eax, 0x102de530
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 0x10
push edi
call fcn.10025f50
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 1
call fcn.100221e0
mov edi, dword [ebp - 0x830]
mov byte [ebp - 0x822], 0
call fcn.10063dd9
test al, al
je 0x1000f8a0
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000f8a0
cmp dword [eax + 4], 4
jl 0x1000f8a0
push str.1117
call fcn.1006397d
push str.1121
mov edi, eax
call fcn.1006397d
add esp, 8
lea ecx, [ebp - 0x5e0]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x3aa
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov dword [ebp - 0x82c], eax
test esi, esi
mov byte [ebp - 4], 8
mov ecx, 0x102de530
cmovne ecx, esi
add eax, 0x30
push ecx
push eax
call fcn.10021c60
mov esi, 0x102de530
test edi, edi
mov eax, esi
cmovne eax, edi
mov edi, dword [ebp - 0x82c]
push eax
lea eax, [edi + 0x30]
push eax
call fcn.10021c60
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, esi
lea esi, [edi + 0x30]
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10021c60
push 0x102de1f0
push esi
call fcn.100212e0
mov edi, dword [ebp - 0x830]
add esp, 0x20
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x1000f876
mov eax, dword [edi]
push eax
push esi
call fcn.100212e0
mov ecx, dword [0x1030bab4]
add esp, 8
push dword [ebp - 0x82c]
call fcn.10025f50
lea ecx, [ebp - 0x5e0]
mov byte [ebp - 4], 1
call fcn.100221e0
push 0
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x830], eax
jb 0x1000f8cb
mov edi, dword [edi]
cmp eax, 0x10
jae 0x1000f8e2
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
jmp 0x1000f960
or eax, 0xf
mov ecx, SysReAllocString
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x828], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x1000f927
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.10053ab3
add esp, 4
test eax, eax
je 0x1000fba5
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1000f93a
test ecx, ecx
je 0x1000f938
push ecx
call fcn.10053ab3
add esp, 4
mov ecx, eax
jmp 0x1000f93a
xor ecx, ecx
mov eax, dword [ebp - 0x830]
inc eax
mov dword [esi], ecx
push eax
push edi
push ecx
call fcn.100cd2f0
mov eax, dword [ebp - 0x830]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x828]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1005c0fc
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 9
cmp dword [ecx + 0x14], 8
jb 0x1000f97a
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, byte [ebp - 0x822]
push eax
call fcn.1006ea91
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000f53d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f9cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fba5
push edx
push ecx
call fcn.10053aa5
add esp, 8
jmp 0x1000f53d
call fcn.10063dd9
test al, al
je 0x1000fa90
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000fa90
cmp dword [eax + 4], 4
jl 0x1000fa90
push str.1115
call fcn.1006397d
push str.1121
mov dword [ebp - 0x828], eax
call fcn.1006397d
add esp, 8
lea ecx, [ebp - 0x700]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x3be
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 0xb
mov ecx, 0x102de530
cmovne ecx, esi
lea esi, [edi + 0x30]
push ecx
push esi
call fcn.10021c60
mov ecx, dword [ebp - 0x828]
mov eax, 0x102de530
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 0x10
push edi
call fcn.10025f50
lea ecx, [ebp - 0x700]
mov byte [ebp - 4], 1
call fcn.100221e0
xor al, al
jmp 0x1000f543
call dword [eax]
call fcn.10063dd9
test al, al
je 0x1000fb50
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000fb50
cmp dword [eax + 4], 4
jl 0x1000fb50
push str.1012
call fcn.1006397d
push str.1121
mov dword [ebp - 0x834], eax
call fcn.1006397d
add esp, 8
lea ecx, [ebp - 0x820]
mov edi, eax
push 0
push 0
push 0x102ddbc0
push 0x3c8
push str.CCloudTaskClient::DoRunLocalExe
push 4
call fcn.10025da0
mov dword [ebp - 0x828], eax
test edi, edi
mov byte [ebp - 4], 0xc
mov ecx, 0x102de530
lea esi, [eax + 0x30]
cmovne ecx, edi
push ecx
push esi
call fcn.10021c60
mov eax, dword [ebp - 0x834]
mov ecx, 0x102de530
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 0x10
push dword [ebp - 0x828]
call fcn.10025f50
lea ecx, [ebp - 0x820]
call fcn.100221e0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000fb86
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fb7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fbaa
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov al, 1
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.10053a94
mov esp, ebp
pop ebp
ret 0x10
call fcn.100d7e3e
call fcn.100d7e3e
int3