Function at 0x10003960
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102398b3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x102cd06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x210], esi
call fcn.1005116e
add esi, 0x28
mov dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x21c], esi
call fcn.1001d400
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push esi
call fcn.1001d400
lea eax, [ebp - 0xa8]
push eax
call fcn.10049e8c
add esp, 0x20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x94]
mov eax, edx
mov ecx, dword [ebp - 0x98]
sub eax, ecx
push 0xb
push str.DoCloudTask
cmp eax, 0xb
jb 0x10003a3e
cmp edx, 0x10
lea esi, [ebp - 0xa8]
lea eax, [ecx + 0xb]
cmovae esi, dword [ebp - 0xa8]
add esi, ecx
mov dword [ebp - 0x98], eax
push esi
call fcn.100a5060
add esp, 0xc
mov byte [esi + 0xb], 0
jmp 0x10003a58
mov byte [ebp - 0x200], 0
lea ecx, [ebp - 0xa8]
push dword [ebp - 0x200]
push 0xb
call fcn.100214a0
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x224]
cmovae eax, dword [ebp - 0xa8]
push eax
call fcn.1005119a
lea ecx, [ebp - 0x224]
call fcn.1000c7e0
test eax, eax
je 0x10003b68
call fcn.1004c44f
test al, al
je 0x10003b5c
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x10003b5c
cmp dword [eax + 4], 4
jl 0x10003b5c
push str.1120
call fcn.1004bfd9
sub esp, 8
mov esi, eax
push 0xdb
push str.CCloudTaskServer::IsTaskNotRunning
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.100216e0
mov dword [ebp - 0x200], eax
test esi, esi
mov byte [ebp - 4], 3
mov ecx, 0x102b5be0
lea edi, [eax + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.1001cf70
push 0x102b5420
push edi
call fcn.1001cf70
mov esi, dword [ebp - 0x210]
add esp, 0x10
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
push str.X__W_rY
push edi
call fcn.1001cf70
push 0x102b548c
push edi
call fcn.1001cf70
mov ecx, dword [0x102dc9b8]
add esp, 0x10
push dword [ebp - 0x200]
call fcn.100218a0
lea ecx, [ebp - 0x1f8]
call fcn.1001d4e0
mov byte [ebp - 0x1f9], 0
jmp 0x1000445a
lea eax, [ebp - 0x44]
push eax
call fcn.1000ad20
mov ecx, eax
call fcn.10051b57
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.100044e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 5
jb 0x10003bc5
cmp edx, 8
lea esi, [ebp - 0x44]
push 0xa
cmovae esi, dword [ebp - 0x44]
lea edi, [ecx + 5]
push str.image
mov dword [ebp - 0x34], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100a5060
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10003be3
push 5
push str.image
mov byte [ebp - 0x200], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x200]
push 5
call fcn.1001c7e0
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 1
jb 0x10003c1d
cmp edx, 8
lea esi, [ebp - 0x44]
push 2
cmovae esi, dword [ebp - 0x44]
lea edi, [ecx + 1]
push 0x102b5bd8
mov dword [ebp - 0x34], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100a5060
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10003c3b
push 1
push 0x102b5bd8
mov byte [ebp - 0x200], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x200]
push 1
call fcn.1001c7e0
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x5c]
push 0x102b5314
push dword [esi + 4]
push dword [esi]
push str._d_d_s.db
push eax
call fcn.10047b56
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov edx, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x200], edx
cmp edi, eax
ja 0x10003cb8
cmp dword [ebp - 0x30], 8
lea eax, [edi + edx]
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
lea eax, [edi + edi]
push eax
push ecx
lea eax, [esi + edx*2]
push eax
call fcn.100a5060
mov eax, dword [ebp - 0x200]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [ebp - 0x210]
jmp 0x10003cd0
push edi
push ecx
mov byte [ebp - 0x200], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x200]
push edi
call fcn.1001c7e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x10003d0e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003d04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044a1
push edx
push ecx
call fcn.100451dd
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004440
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.1001d400
lea eax, [ebp - 0x90]
push eax
call fcn.10049e8c
add esp, 0x20
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.1000aa10
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x10003d95
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003d8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044a6
push edx
push ecx
call fcn.100451dd
add esp, 8
push dword [esi]
lea eax, [ebp - 0xc0]
push 0x102b549c
push eax
call fcn.10047a8c
add esp, 0xc
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000a5c0
push ecx
push eax
lea ecx, [ebp - 0x208]
call fcn.100100d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
push 2
push 0x102b54a0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100211b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x208]
call fcn.1000a540
mov ecx, eax
call fcn.1000fb70
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10003e45
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003e3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044ab
push edx
push ecx
call fcn.100451dd
add esp, 8
push 6
push str.intert
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100211b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x208]
call fcn.1000a540
mov ecx, eax
call fcn.1000fb70
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x214], eax
cmp edx, 0x10
jb 0x10003ebe
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003eb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044b0
push edx
push ecx
call fcn.100451dd
add esp, 8
push 2
push 0x102b54ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100211b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x208]
call fcn.1000a540
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10003efc
mov eax, dword [esi]
push 0xa
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.100b2128
mov ecx, dword [ebp - 0x20c]
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x200], edi
cmp byte [ecx], 0
je 0x10003ff5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10003f35
mov eax, dword [esi]
push 8
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.100b2128
mov edi, eax
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 0x218], edx
cmp byte [eax], 0
je 0x10003ff5
cmp dword [esi + 0x14], 0x10
jb 0x10003f6c
mov esi, dword [esi]
push 0x10
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.100b2128
mov edi, eax
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 0x200], edi
cmp byte [eax], 0
je 0x10003ff5
push 0x14
push str.field_is_not_a_short
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.100211b0
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x10003ff5
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003feb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044b5
push edx
push ecx
call fcn.100451dd
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1000402d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044ba
push edx
push ecx
call fcn.100451dd
add esp, 8
push 3
push 0x102b54b0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100211b0
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2c]
push esp
push ecx
push eax
lea ecx, [ebp - 0x208]
call fcn.1000a540
add esp, 4
mov ecx, eax
call fcn.1000fd30
lea eax, [ebp - 0x74]
push eax
call fcn.10049263
add esp, 0x20
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100040b9
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100040af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044bf
push edx
push ecx
call fcn.100451dd
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x1c], 0
mov ecx, esp
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x21c]
call fcn.1001d400
lea eax, [ebp - 0x5c]
push eax
call fcn.10049089
add esp, 4
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.1001d400
lea eax, [ebp - 0x90]
push eax
call fcn.10049089
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x74]
cmp eax, esi
je 0x10004139
mov ecx, eax
call fcn.10021eb0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10004176
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000416c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044c4
push edx
push ecx
call fcn.100451dd
add esp, 8
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1001c730
test eax, eax
jne 0x100043d9
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x100043d9
push eax
push dword [ebp - 0x218]
push edi
call fcn.1005103c
add esp, 0xc
test eax, eax
jne 0x100043d9
call fcn.1004c44f
test al, al
je 0x1000429c
mov eax, dword [0x102dc9b8]
test eax, eax
je 0x1000429c
cmp dword [eax + 4], 4
jl 0x1000429c
push str.1120
call fcn.1004bfd9
sub esp, 8
mov esi, eax
push 0x100
push str.CCloudTaskServer::IsTaskNotRunning
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.100216e0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 0x11
mov ecx, 0x102b5be0
cmovne ecx, esi
lea esi, [edi + 0x30]
push ecx
push esi
call fcn.1001cf70
push 0x102b5420
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x210]
add esp, 0x10
mov ecx, esi
push dword [eax]
call fcn.10015e30
push 0x102b5bdc
push esi
call fcn.1001cf70
mov eax, dword [ebp - 0x210]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.10015e30
push 0x102b54b4
push esi
call fcn.1001cf70
push str._rNL
push esi
call fcn.1001cf70
push str._nN_k
push esi
call fcn.1001cf70
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x218]
push dword [ebp - 0x200]
call fcn.100109a0
mov ecx, dword [0x102dc9b8]
push edi
call fcn.100218a0
lea ecx, [ebp - 0x1f8]
call fcn.1001d4e0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x100042da
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100042d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044c9
push edx
push ecx
call fcn.100451dd
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x1000432c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004322
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044ce
push edx
push ecx
call fcn.100451dd
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x208]
mov ecx, eax
mov dword [ebp - 0x214], ecx
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x10004397
nop dword [eax]
push dword [esi + 8]
lea ecx, [ebp - 0x208]
call fcn.1000f0f0
mov esi, dword [esi]
lea ecx, [edi + 0x10]
call fcn.10010740
push 0x40
push edi
call fcn.100451dd
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x10004360
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x214]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x208]
push 0x40
mov dword [eax], ecx
mov eax, dword [ebp - 0x208]
mov dword [eax + 8], ecx
push dword [ebp - 0x208]
mov dword [ebp - 0x204], 0
call fcn.100451dd
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10003240
mov byte [ebp - 0x1f9], 0
jmp 0x10004447
lea ecx, [ebp - 0x5c]
call fcn.10021eb0
lea ecx, [ebp - 0x74]
call fcn.10021eb0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x208]
mov esi, dword [ebp - 0x208]
push dword [esi + 4]
call fcn.1000f0f0
mov eax, dword [ebp - 0x208]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x208]
mov dword [eax], esi
mov eax, dword [ebp - 0x208]
mov dword [eax + 8], esi
push dword [ebp - 0x208]
mov dword [ebp - 0x204], 0
call fcn.100451dd
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10003240
mov byte [ebp - 0x1f9], 1
lea ecx, [ebp - 0x23c]
call fcn.1000ac60
lea ecx, [ebp - 0x44]
call fcn.10021eb0
lea ecx, [ebp - 0xa8]
call fcn.10003240
lea ecx, [ebp - 0xd8]
call fcn.10021eb0
lea ecx, [ebp - 0x224]
call fcn.10051178
mov al, byte [ebp - 0x1f9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
call fcn.100b277d
int3