Function at 0x402b90
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push str.CTERA_ATTACH
mov dword [ebp - 0x4c], eax
call fcn.0040f3b5
add esp, 4
test eax, eax
je 0x402be0
mov byte [0x4288b0], 0
nop dword [eax + eax]
push str.CTERA_VSHADOW_EXE
call fcn.0040f3b5
add esp, 4
test eax, eax
je 0x402bf6
mov dword [str.vshadow], eax
push str.CTERA_VOL_MAP
call fcn.0040f3b5
add esp, 4
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x402c12
or eax, 0xffffffff
jmp 0x402e4f
push str.CTERA_VSHADOW_STANDALONE
mov dword [ebp - 0x40], 0
call fcn.0040f3b5
add esp, 4
test eax, eax
je 0x402c36
push eax
call fcn.0040a6be
add esp, 4
mov dword [ebp - 0x40], eax
push 0x60
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.0040313e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004026b0
test eax, eax
js 0x402e42
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov word [ebp - 0x3b], 0x3a
mov al, 0x41
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x29], al
xor esi, esi
mov byte [ebp - 0x3c], al
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x402ca6
bts edi, esi
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x38]
test edi, eax
lea eax, [ecx + 1]
cmovne eax, ecx
inc esi
mov ecx, eax
mov al, byte [ebp - 0x29]
inc al
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x29], al
cmp esi, 0x1a
jl 0x402c92
cmp ecx, dword [ebp - 0x30]
jb 0x402e42
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x402d64
xor ecx, ecx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x44], eax
cmp ecx, 0x1a
jge 0x402d01
mov eax, 1
shl eax, cl
test edi, eax
je 0x402d04
inc ecx
cmp ecx, 0x1a
jl 0x402cf0
or ecx, 0xffffffff
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x44]
add cl, 0x41
mov byte [ebp - 0x29], cl
lea ecx, [ebp - 0x34]
push eax
call fcn.00401ae0
mov cl, byte [ebp - 0x29]
mov byte [eax + 0x48], cl
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x38]
inc ecx
cmp byte [eax + 0xd], 0
je 0x402d49
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x402d45
cmp esi, dword [eax + 8]
jne 0x402d45
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x402d35
mov esi, eax
jmp 0x402d5f
mov esi, eax
mov edx, dword [esi]
cmp byte [edx + 0xd], 0
jne 0x402d5f
mov eax, dword [edx]
mov esi, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x402d53
cmp esi, dword [ebp - 0x34]
jne 0x402ce5
mov dl, 1
lea ecx, [ebp - 0x34]
call fcn.00401220
test eax, eax
js 0x402e38
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x34]
call fcn.004013d0
test eax, eax
js 0x402e38
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x402e1d
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 1
jle 0x402dd3
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 4]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402dc0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401ce0
lea ecx, [ebp - 0x28]
call fcn.00401830
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x402e2a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e6a
push ecx
push edx
call fcn.0040316e
add esp, 8
lea ecx, [ebp - 0x34]
xor dl, dl
call fcn.00401220
xor esi, esi
jmp 0x402e45
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor dl, dl
lea ecx, [ebp - 0x34]
call fcn.00401220
xor esi, esi
jmp 0x402e45
xor dl, dl
lea ecx, [ebp - 0x34]
call fcn.00401220
or esi, 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402e80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040300e
mov esp, ebp
pop ebp
ret
call fcn.00409ec3
int3