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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100826c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 ebx, edx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov ecx, ebx
call fcn.10036e80
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10025f4f
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.10022bb0
mov edx, dword [esi + 0x64]
lea ecx, [ebp - 0x18]
call fcn.10032290
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.VirtualStorage:_deploying:__s
push eax
call fcn.1003a800
add esp, 0x1c
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
call fcn.100394f0
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 0x10025fb1
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.100236e0
add eax, 0x10
lea ecx, [ebp - 0x10]
mov edx, edi
mov dword [esi], eax
call fcn.1003a970
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.100236e0
lea edi, [eax + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10026002
test al, 0x10
je 0x10026002
mov esi, 1
jmp 0x10026004
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 0x1002601d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x100260ff
push ecx
mov ecx, esp
mov esi, 0x5c
push edi
call fcn.10022bb0
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.1003a970
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.1003bc10
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.1003a800
add esp, 0x14
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c]
call fcn.100394f0
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 0x10026091
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.1003a800
add esp, 0x10
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c]
call fcn.100394f0
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 0x100260d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edx, 1
call fcn.100270d0
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 0x100260ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push edi
call fcn.10022bb0
mov ecx, dword [ebp - 0x20]
call fcn.10034880
test eax, eax
je 0x1002611b
mov edi, 1
jmp 0x1002617c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.VirtualStorage:_download_failed:_LE_d
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
call fcn.100394f0
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 0x1002615f
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.100236e0
add eax, 0x10
mov dword [esi], eax
call fcn.1003c4e0
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 0x1002619c
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 0x100261bd
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