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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e708
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov ecx, ebx
call fcn.10042120
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x1002933f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push ecx
mov ecx, esp
push ebx
call fcn.10023fc0
mov edx, dword [esi + 0x64]
lea ecx, [ebp - 0x18]
call fcn.1003d3b0
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.VirtualStorage:_deploying:__s
push eax
call fcn.10044f30
add esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, str.Cerveau
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100293a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, 0x5c
movzx edi, ax
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x10]
mov edx, edi
mov dword [esi], eax
call fcn.100452e0
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10024750
lea edi, [eax + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100293f7
test al, 0x10
je 0x100293f7
mov esi, 1
jmp 0x100293f9
xor esi, esi
lea edx, [edi - 0x10]
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10029412
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x100294fe
push ecx
mov ecx, esp
mov esi, 0x5c
push edi
call fcn.10023fc0
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.100452e0
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.10046c10
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push edi
push str.VirtualStorage:_MatrixFile_DeployFromVirtualStorage__s_:_creating_dir__s__bRet_d_
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, str.Cerveau
mov edx, dword [ebp - 0x1c]
call fcn.10043b30
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002948b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edi
push str.VirtualStorage:_MatrixFile_DeployFromVirtualStorage__s_:_disconnecting_newly_created_dir:__s
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 5
mov ecx, str.Cerveau
mov edx, dword [ebp - 0x1c]
call fcn.10043b30
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100294d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edx, 1
call fcn.1002a640
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100294fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push edi
call fcn.10023fc0
mov ecx, dword [ebp - 0x20]
call fcn.10040d40
test eax, eax
je 0x1002951a
mov edi, 1
jmp 0x10029580
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str.VirtualStorage:_download_failed:_LE_d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, str.Cerveau
mov edx, dword [ebp - 0x1c]
call fcn.10043b30
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10029563
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
mov dword [esi], eax
call fcn.100475f0
add esp, 4
xor edi, edi
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100295a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100295c1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret