Function at 0x10008300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102394f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x102cc06c]
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.1004c3d3
test al, al
je 0x10008429
mov eax, dword [0x102db9b8]
test eax, eax
je 0x10008429
cmp dword [eax + 4], 4
jl 0x10008429
push str.1521
call fcn.1004bf5d
push str.1011
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
push str.1121
mov edi, eax
call fcn.1004bf5d
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, 0x102b5bd0
cmovne ecx, esi
lea esi, [ebx + 0x30]
push ecx
push esi
call fcn.1001cf70
test edi, edi
mov eax, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push esi
call fcn.1001cf70
add esp, 8
mov ecx, esi
push dword [edi + 4]
call fcn.10015e20
mov ecx, dword [ebp - 0x29c]
mov eax, 0x102b5bd0
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
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 0x10008ee8
cmp dword [eax + 0x28], 0
jbe 0x10008ee8
cmp dword [eax + 0x40], 0
jbe 0x10008ee8
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 0x10008ee8
lea eax, [ebp - 0x28]
push eax
call fcn.1000add0
mov ecx, eax
call fcn.1004e6e4
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
call fcn.10047dfd
add esp, 4
test eax, eax
jne 0x1000849e
push 0x102b5bc8
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 0x100084cd
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 0x1000850c
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.100a46c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x2a0]
jmp 0x10008524
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 0x10008562
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008558
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008fd7
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 0x1000864f
call fcn.1004c3d3
test al, al
je 0x10008648
mov eax, dword [0x102db9b8]
test eax, eax
je 0x10008648
cmp dword [eax + 4], 4
jl 0x10008648
push str.1522
call fcn.1004bf5d
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5bd0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
call fcn.1001d4e0
xor bl, bl
jmp 0x10008ea7
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.10049e10
add esp, 0x20
push eax
mov byte [ebp - 4], 6
call fcn.10054fca
mov byte [ebp - 4], 5
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100086cd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100086c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008fdc
push edx
push ecx
call fcn.100451dd
add esp, 8
cmp dword [ebp - 0x30], 0
ja 0x100087aa
call fcn.1004c3d3
test al, al
je 0x100087a3
mov eax, dword [0x102db9b8]
test eax, eax
je 0x100087a3
cmp dword [eax + 4], 4
jl 0x100087a3
push str.1523
call fcn.1004bf5d
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5bd0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
call fcn.1001d4e0
xor bl, bl
jmp 0x100088e6
mov eax, dword [edi + 0x10c]
lea ecx, [ebp - 0x2ac]
add eax, 0x48
push eax
call fcn.1000aee0
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 0x1000880d
nop dword [eax]
push esi
lea ecx, [ebp - 0x40]
call fcn.1001d310
test eax, eax
je 0x1000891d
inc ebx
add esi, 0x18
cmp ebx, dword [ebp - 0x29c]
jb 0x100087f0
call fcn.1004c3d3
test al, al
je 0x100088d9
mov eax, dword [0x102db9b8]
test eax, eax
je 0x100088d9
cmp dword [eax + 4], 4
jl 0x100088d9
push str.1523
call fcn.1004bf5d
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5bd0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
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 0x10008e95
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008e8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008fe1
jmp 0x10008e8b
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 0x10008c24
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 0x10008a24
call fcn.1004c3d3
test al, al
je 0x100088d9
mov eax, dword [0x102db9b8]
test eax, eax
je 0x100088d9
cmp dword [eax + 4], 4
jl 0x100088d9
push str.1524
call fcn.1004bf5d
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5bd0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
jmp 0x100088d4
mov eax, dword [edi + 0x10c]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10008a35
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.1004c3d3
test ebx, ebx
jne 0x10008b19
test al, al
je 0x100088d9
mov eax, dword [0x102db9b8]
test eax, eax
je 0x100088d9
cmp dword [eax + 4], 4
jl 0x100088d9
push str.1525
call fcn.1004bf5d
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5bd0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
add esp, 8
push ebx
call fcn.100218a0
lea ecx, [ebp - 0x178]
jmp 0x100088d4
test al, al
je 0x10008c08
mov eax, dword [0x102db9b8]
test eax, eax
je 0x10008c08
cmp dword [eax + 4], 4
jl 0x10008c08
push str.1526
call fcn.1004bf5d
push str.1121
mov edi, eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.10015e20
test edi, edi
mov eax, 0x102b5bd0
cmovne eax, edi
push eax
push esi
call fcn.1001cf70
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x102b5bd0
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
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 0x10008c19
mov eax, dword [eax]
push eax
call ebx
add esp, 4
jmp 0x10008da0
call fcn.1004c3d3
test al, al
je 0x10008d12
mov eax, dword [0x102db9b8]
test eax, eax
je 0x10008d12
cmp dword [eax + 4], 4
jl 0x10008d12
push str.1126
call fcn.1004bf5d
push str.1121
mov edi, eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x2a0]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.10015e20
test edi, edi
mov eax, 0x102b5bd0
cmovne eax, edi
push eax
push esi
call fcn.1001cf70
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x102b5bd0
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
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 0x10008d4b
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.1005716b
mov byte [ebp - 4], 8
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10008da0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008d96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008fe6
push edx
push ecx
call fcn.100451dd
add esp, 8
call fcn.1004c3d3
test al, al
je 0x10008e84
mov eax, dword [0x102db9b8]
test eax, eax
je 0x10008e84
cmp dword [eax + 4], 4
jl 0x10008e84
push str.1527
call fcn.1004bf5d
push str.1121
mov ebx, eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov esi, 0x102b5bd0
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 [0x102db9b8]
add esp, 0x10
push dword [ebp - 0x29c]
call fcn.100218a0
lea ecx, [ebp - 0x298]
call fcn.1001d4e0
mov bl, 1
jmp 0x100088db
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 0x10008ee1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008ed7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008feb
push edx
push ecx
call fcn.100451dd
add esp, 8
mov al, bl
jmp 0x10008fb9
call fcn.1004c3d3
test al, al
je 0x10008fb7
mov eax, dword [0x102db9b8]
test eax, eax
je 0x10008fb7
cmp dword [eax + 4], 4
jl 0x10008fb7
push str.1520
call fcn.1004bf5d
push str.1121
mov dword [ebp - 0x29c], eax
call fcn.1004bf5d
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, 0x102b5bd0
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.10015e20
push 0x102b5bcc
push edi
call fcn.1001cf70
add esp, 8
mov ecx, edi
push dword [esi + 4]
call fcn.10015e20
mov eax, dword [ebp - 0x29c]
mov ecx, 0x102b5bd0
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
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.100b1ddd
call fcn.100b1ddd
call fcn.100b1ddd
call fcn.100b1ddd
call fcn.100b1ddd
int3