Function at 0x10008310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10239e91
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x102cd06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2a0], edi
call fcn.1004c44f
test al, al
je 0x10008439
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10008439
cmp dword [eax + 4], 4
jl 0x10008439
push str.1521
call fcn.1004bfd9
push str.1011
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push str.1121
mov edi, eax
call fcn.1004bfd9
push 0x2ee
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov dword [ebp - 4], 0
mov ecx, 0x102b5be0
cmovne ecx, esi
lea esi, [ebx + 0x30]
push ecx
push esi
call fcn.1001cf70
test edi, edi
mov eax, 0x102b5be0
cmovne eax, edi
push eax
push esi
call fcn.1001cf70
mov edi, dword [ebp - 0x2a0]
add esp, 0x10
mov ecx, esi
push dword [edi]
call fcn.10015e30
push 0x102b5bdc
push esi
call fcn.1001cf70
add esp, 8
mov ecx, esi
push dword [edi + 4]
call fcn.10015e30
mov ecx, dword [ebp - 0x29c]
mov eax, 0x102b5be0
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d4e0
mov eax, dword [edi + 0x10c]
cmp dword [eax + 0x10], 0
jbe 0x10008ef8
cmp dword [eax + 0x28], 0
jbe 0x10008ef8
cmp dword [eax + 0x40], 0
jbe 0x10008ef8
mov ecx, dword [eax + 0x4c]
sub ecx, dword [eax + 0x48]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10008ef8
lea eax, [ebp - 0x28]
push eax
call fcn.1000ade0
mov ecx, eax
call fcn.1004e7aa
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
call fcn.10047dfd
add esp, 4
test eax, eax
jne 0x100084ae
push 0x102b5bd8
lea ecx, [ebp - 0x28]
call fcn.1001c9c0
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [edi + 0x10c]
call fcn.1001ef10
lea eax, [ebp - 0x58]
push eax
call fcn.10049263
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x100084dd
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
sub eax, ebx
cmp ecx, eax
ja 0x1000851c
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea eax, [ecx + ecx]
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + ebx]
push eax
push edx
mov dword [ebp - 0x18], edi
lea eax, [esi + ebx*2]
push eax
call fcn.100a5060
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x2a0]
jmp 0x10008534
push ecx
push edx
mov byte [ebp - 0x29c], 0
push dword [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001c7e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10008572
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008568
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008fe7
push edx
push ecx
call fcn.100451dd
add esp, 8
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
jne 0x1000865f
call fcn.1004c44f
test al, al
je 0x10008658
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10008658
cmp dword [eax + 4], 4
jl 0x10008658
push str.1522
call fcn.1004bfd9
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push ecx
push 0x30b
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 4
mov ecx, 0x102b5be0
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5be0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
call fcn.1001d4e0
xor bl, bl
jmp 0x10008eb7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.1001d400
lea eax, [ebp - 0x58]
push eax
call fcn.10049e8c
add esp, 0x20
push eax
mov byte [ebp - 4], 6
call fcn.10055353
mov byte [ebp - 4], 5
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100086dd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100086d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008fec
push edx
push ecx
call fcn.100451dd
add esp, 8
cmp dword [ebp - 0x30], 0
ja 0x100087ba
call fcn.1004c44f
test al, al
je 0x100087b3
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x100087b3
cmp dword [eax + 4], 4
jl 0x100087b3
push str.1523
call fcn.1004bfd9
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push ecx
push 0x318
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 7
mov ecx, 0x102b5be0
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5be0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
call fcn.1001d4e0
xor bl, bl
jmp 0x100088f6
mov eax, dword [edi + 0x10c]
lea ecx, [ebp - 0x2ac]
add eax, 0x48
push eax
call fcn.1000aef0
mov byte [ebp - 4], 8
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x2a8]
xor ebx, ebx
mov esi, dword [ebp - 0x2ac]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x29c], eax
je 0x1000881d
nop dword [eax]
push esi
lea ecx, [ebp - 0x40]
call fcn.1001d310
test eax, eax
je 0x1000892d
inc ebx
add esi, 0x18
cmp ebx, dword [ebp - 0x29c]
jb 0x10008800
call fcn.1004c44f
test al, al
je 0x100088e9
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x100088e9
cmp dword [eax + 4], 4
jl 0x100088e9
push str.1523
call fcn.1004bfd9
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push ecx
push 0x32c
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x298]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 9
mov ecx, 0x102b5be0
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5be0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x298]
call fcn.1001d4e0
xor bl, bl
lea ecx, [ebp - 0x2ac]
call fcn.1001c5c0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10008ea5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008e9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ff1
jmp 0x10008e9b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str..dll
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x10008c34
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
test ecx, ecx
jne 0x10008a34
call fcn.1004c44f
test al, al
je 0x100088e9
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x100088e9
cmp dword [eax + 4], 4
jl 0x100088e9
push str.1524
call fcn.1004bfd9
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push ecx
push 0x33a
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 0xa
mov ecx, 0x102b5be0
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5be0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
jmp 0x100088e4
mov eax, dword [edi + 0x10c]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10008a45
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x29c], ebx
call fcn.1004c44f
test ebx, ebx
jne 0x10008b29
test al, al
je 0x100088e9
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x100088e9
cmp dword [eax + 4], 4
jl 0x100088e9
push str.1525
call fcn.1004bfd9
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push ecx
push 0x346
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 0xb
mov ecx, 0x102b5be0
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5be0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
jmp 0x100088e4
test al, al
je 0x10008c18
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10008c18
cmp dword [eax + 4], 4
jl 0x10008c18
push str.1526
call fcn.1004bfd9
push str.1121
mov edi, eax
call fcn.1004bfd9
push ecx
push 0x350
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 0xc
mov ecx, 0x102b5be0
cmovne ecx, esi
lea esi, [ebx + 0x30]
push ecx
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, esi
push dword [eax]
call fcn.10015e30
push 0x102b5bdc
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.10015e30
test edi, edi
mov eax, 0x102b5be0
cmovne eax, edi
push eax
push esi
call fcn.1001cf70
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x102b5be0
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 0x10
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 8
call fcn.1001d4e0
mov edi, dword [ebp - 0x2a0]
mov ebx, dword [ebp - 0x29c]
mov eax, dword [edi + 0x10c]
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x10008c29
mov eax, dword [eax]
push eax
call ebx
add esp, 4
jmp 0x10008db0
call fcn.1004c44f
test al, al
je 0x10008d22
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10008d22
cmp dword [eax + 4], 4
jl 0x10008d22
push str.1126
call fcn.1004bfd9
push str.1121
mov edi, eax
call fcn.1004bfd9
push ecx
push 0x35c
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 0xd
mov ecx, 0x102b5be0
cmovne ecx, esi
lea esi, [ebx + 0x30]
push ecx
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, esi
push dword [eax]
call fcn.10015e30
push 0x102b5bdc
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.10015e30
test edi, edi
mov eax, 0x102b5be0
cmovne eax, edi
push eax
push esi
call fcn.1001cf70
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x102b5be0
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 0x10
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 8
call fcn.1001d4e0
mov edi, dword [ebp - 0x2a0]
mov eax, dword [edi + 0x10c]
push 0
push 0
push 0
push 0x3a8
sub esp, 0x18
add eax, 0x30
mov ecx, esp
push eax
call fcn.1001ef10
lea eax, [ebp - 0x58]
push eax
call fcn.10049263
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 0xe
cmp dword [ecx + 0x14], 8
jb 0x10008d5b
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 1
call fcn.100574f4
mov byte [ebp - 4], 8
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10008db0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008da6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ff6
push edx
push ecx
call fcn.100451dd
add esp, 8
call fcn.1004c44f
test al, al
je 0x10008e94
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10008e94
cmp dword [eax + 4], 4
jl 0x10008e94
push str.1527
call fcn.1004bfd9
push str.1121
mov ebx, eax
call fcn.1004bfd9
push ecx
push 0x368
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x298]
mov esi, eax
call fcn.100216e0
mov dword [ebp - 0x29c], eax
test esi, esi
mov byte [ebp - 4], 0xf
mov ecx, 0x102b5be0
lea edi, [eax + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov esi, 0x102b5be0
test ebx, ebx
mov eax, esi
cmovne eax, ebx
push eax
push edi
call fcn.1001cf70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 0x10
push dword [ebp - 0x29c]
call fcn.100218a0
lea ecx, [ebp - 0x298]
call fcn.1001d4e0
mov bl, 1
jmp 0x100088eb
push edx
push ecx
call fcn.100451dd
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10008ef1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008ee7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ffb
push edx
push ecx
call fcn.100451dd
add esp, 8
mov al, bl
jmp 0x10008fc9
call fcn.1004c44f
test al, al
je 0x10008fc7
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10008fc7
cmp dword [eax + 4], 4
jl 0x10008fc7
push str.1520
call fcn.1004bfd9
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bfd9
push ecx
push 0x2fb
push str.CCloudTaskClient::DoRunBuiltInDll
push ecx
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100216e0
mov ebx, eax
test esi, esi
mov dword [ebp - 4], 1
mov ecx, 0x102b5be0
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x2a0]
add esp, 8
mov ecx, edi
push dword [esi]
call fcn.10015e30
push 0x102b5bdc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e30
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5be0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
call fcn.1001d4e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret 0x10
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
int3