Function at 0x1000a670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025cbd2
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x102fb070]
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 esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x3b8], esi
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
call fcn.100cd120
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a700
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.10006680
cmp dword [esi + 0xa4], 0
jbe 0x1000a8b2
lea eax, [ebp - 0x230]
push eax
call fcn.10007d80
mov ecx, eax
call fcn.100611d1
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [esi + 0x94]
mov ecx, esp
push eax
call fcn.10004c70
lea eax, [ebp - 0x290]
push eax
call fcn.1005c0fc
add esp, 0x20
mov byte [ebp - 4], 2
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x1000a779
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x220]
sub eax, ebx
cmp ecx, eax
ja 0x1000a7ca
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
lea eax, [ecx + ecx]
cmovae esi, dword [ebp - 0x230]
lea edi, [ebx + ecx]
push eax
push edx
mov dword [ebp - 0x220], edi
lea eax, [esi + ebx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x3b8]
jmp 0x1000a7e5
push ecx
push edx
mov byte [ebp - 0x3b4], 0
push dword [ebp - 0x3b4]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10008770
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x1000a829
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a81f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab5c
push edx
push ecx
call fcn.10053aa5
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000a86e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x260]
push eax
call fcn.10006680
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1000a8b2
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a8a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab61
push edx
push ecx
call fcn.10053aa5
add esp, 8
push 0x3a8
sub esp, 0x18
lea eax, [esi + 0xf4]
mov ecx, esp
push eax
call fcn.10004c70
lea eax, [ebp - 0x278]
push eax
call fcn.1005c0fc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
cmovae eax, dword [ebp - 0x278]
push eax
push str.91474361
push str.84101210
lea eax, [ebp - 0x248]
push str._s__s_s
push eax
call fcn.1005aa51
add esp, 0x34
mov byte [ebp - 4], 4
call fcn.10063dd9
test al, al
je 0x1000aa0e
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1000aa0e
cmp dword [eax + 4], 4
jl 0x1000aa0e
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push str.1120
cmovae eax, dword [ebp - 0x248]
mov dword [ebp - 0x3b4], eax
call fcn.1006397d
add esp, 4
lea ecx, [ebp - 0x3b0]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0x126
push str.CCloudTaskServer::StartDllProcess
push 4
call fcn.10025da0
mov ebx, eax
mov edi, 0x102de530
mov byte [ebp - 4], 5
test esi, esi
mov ecx, edi
cmovne ecx, esi
lea esi, [ebx + 0x30]
push ecx
push esi
call fcn.10021c60
push 0x102ddef0
push esi
call fcn.10021c60
mov eax, dword [ebp - 0x3b8]
add esp, 0x10
mov ecx, esi
push dword [eax]
call fcn.1001b390
push 0x102de52c
push esi
call fcn.10021c60
mov eax, dword [ebp - 0x3b8]
add esp, 8
mov ecx, esi
push dword [eax + 4]
call fcn.1001b390
push 0x102ddf08
push esi
call fcn.10021c60
mov eax, dword [ebp - 0x3b4]
test eax, eax
cmovne edi, eax
push edi
push esi
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 0x10
push ebx
call fcn.10025f50
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 4
call fcn.100221e0
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
push 0
cmovae ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x248]
push 0
push ecx
push eax
call fcn.100694e6
mov edx, dword [ebp - 0x234]
add esp, 0x14
cmp edx, 8
jb 0x1000aa86
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aa7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab66
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp edx, 8
jb 0x1000aae3
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aad9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab6b
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
cmp edx, 8
jb 0x1000ab3c
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ab32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab70
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret 4
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
int3