Function at 0x10067130
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087a50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x24], esi
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
push str.FileStreaming_Deploy
lea ebx, [ebp - 0x18]
call fcn.10022bb0
mov edx, ebx
lea ecx, [ebp - 0x1c]
call fcn.1003e870
add esp, 4
call fcn.10021470
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x1006719f
push 0x80004005
call fcn.10021340
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.Disk
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10022bb0
mov byte [ebp - 4], 2
test edi, edi
je 0x100671d4
push 7
push str.Section
lea ecx, [ebp - 0x10]
call fcn.10023530
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push dword [ebp - 0x10]
push str.FileStreaming_Deploy__s_:__s
push eax
call fcn.1003f740
push dword [0x100b2cfc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.FileStreaming_Deploy__s_:_in:__s__CarrierExeName_s
push eax
call fcn.1003a800
add esp, 0x24
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
call fcn.100394f0
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10067234
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
test dword [esi], 0x800
je 0x10067289
push ecx
mov ecx, esp
push str.FileStreaming_Deploy:DeployFromVirtualStorage
call fcn.10022bb0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.1003e870
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, esi
call fcn.10025f00
test eax, eax
je 0x10067277
mov ecx, dword [ebp + 8]
lea edx, [ebx + 1]
call fcn.100270d0
mov ebx, 1
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.1003ea90
add esp, 4
jmp 0x1006728b
xor ebx, ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.FileStreaming_Deploy:_out:__s__bRet_d_
push eax
call fcn.1003a800
add esp, 0x10
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100672cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x10067385
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.100236e0
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
add eax, 0x10
mov dword [esi], eax
mov edx, dword [edx + 0x64]
call fcn.10032290
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x24], ecx
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1006732b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x24], 0
je 0x10067385
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.Warning:_could_not_deploy__s__non_fatal__file_already_exists___LE_d
push eax
call fcn.1003a800
add esp, 0x10
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, edi
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10067378
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov edx, 1
call fcn.100270d0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.1003ea90
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100673b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100673d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x100673f6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret