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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2a0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c0120
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
push ebx
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x4b00e8
sub esp, 0xc
mov al, byte [ebp - 0x2ac]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], esi
call fcn.00405590
jmp 0x4b0104
mov eax, esi
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x40]
add eax, esi
push eax
push ebx
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x40], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], 0
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x20], eax
push eax
push edi
call fcn.0042e9e0
add esp, 8
test al, al
je 0x4b02be
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
cmp esi, 7
jbe 0x4b0147
mov eax, dword [ebp - 0x40]
jmp 0x4b014a
lea eax, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4b0232
lea edi, [ecx - 1]
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], 0
cmp ecx, edi
cmovb edi, ecx
cmp edi, 7
jbe 0x4b01af
sub esp, 0xc
mov cl, byte [ebp - 0xa4]
mov byte [esp + 4], cl
lea ecx, [ebp - 0x2ac]
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00405590
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 0xc]
cmp esi, 8
jae 0x4b01d8
jmp 0x4b020b
lea ecx, [edi + edi]
mov dword [ebp - 0x29c], edi
lea edx, [ebp - 0x2ac]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [ebp + edi*2 - 0x2ac], 0
cmp esi, 8
jb 0x4b020b
mov eax, dword [ebp - 0x40]
lea ecx, [esi + esi + 2]
cmp ecx, 0x1000
jb 0x4b0201
mov ecx, eax
mov eax, dword [eax - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x4b06c2
add esi, esi
add esi, 0x25
mov ecx, esi
push ecx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [ebp - 0x29c]
movsd xmm2, qword [ebp - 0x2ac]
movsd xmm1, qword [ebp - 0x2a4]
movsd qword [ebp - 0x30], xmm0
movsd qword [ebp - 0x38], xmm1
movsd qword [ebp - 0x40], xmm2
push ebx
call fcn.005d3244
add esp, 4
mov ecx, dword [ebp - 0x70]
cmp eax, ecx
mov edx, ecx
cmovb edx, eax
test edx, edx
je 0x4b0272
cmp dword [ebp - 0x6c], 7
jbe 0x4b0255
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x20], esi
xor esi, esi
nop word [eax + eax]
mov edi, dword [ebp - 0x20]
movzx edi, word [edi + esi*2]
cmp di, word [ebx + esi*2]
jne 0x4b0278
inc esi
cmp edx, esi
jne 0x4b0260
mov bl, 1
cmp ecx, eax
je 0x4b02c0
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 7
jbe 0x4b028a
mov eax, dword [ebp - 0x40]
test ecx, ecx
jne 0x4b0291
jmp 0x4b02be
lea eax, [ebp - 0x40]
test ecx, ecx
je 0x4b02be
mov edx, eax
nop word cs:[eax + eax]
nop dword [eax]
cmp word [edx], 0x3a
je 0x4b02ae
add edx, 2
dec ecx
jne 0x4b02a0
jmp 0x4b02be
sub edx, eax
sar edx, 1
lea ecx, [edx + 1]
cmp ecx, 2
jae 0x4b034c
xor ebx, ebx
mov ecx, dword [ebp - 0x6c]
cmp ecx, 8
jb 0x4b02fb
mov eax, dword [ebp - 0x80]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b02f1
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b06aa
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4b0336
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b032c
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b06b6
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x2a0
pop esi
pop edi
pop ebx
pop ebp
ret
cmp edx, 2
jb 0x4b0374
cmp word [eax + edx*2 - 4], 0x5c
jne 0x4b02be
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 6
jmp 0x4b0391
test eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 6
je 0x4b04e3
mov eax, dword [eax + edx*2 - 2]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor ebx, ebx
cmp eax, 2
jb 0x4b02c0
cmp eax, 0x104
je 0x4b02c0
cmp eax, 4
lea eax, [ebp - 0x2ac]
jb 0x4b0401
lea eax, [ebp - 0x2ac]
push 4
push 0x65d1b0
push eax
call fcn.00627b89
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x2a4]
lea ecx, [ebp - 0x2ac]
cmove ecx, eax
mov eax, ecx
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x4b02be
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x24]
inc edx
xor ecx, ecx
cmp edx, 2
jb 0x4b0441
mov dword [ebp - 0x28], eax
call fcn.0040e440
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4b02be
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], 0
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x28], ecx
push ecx
push eax
call fcn.0042e9e0
add esp, 8
mov esi, dword [ebp - 0x20]
test al, al
je 0x4b054d
mov edi, dword [ebp - 0x94]
not esi
add esi, edi
add esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x70]
jne 0x4b054d
cmp dword [ebp - 0x90], 7
jbe 0x4b04c0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call fcn.005d3244
add esp, 4
cmp esi, edi
mov edx, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x50], edi
cmovb edx, esi
cmp dword [ebp - 0x6c], 7
jbe 0x4b0506
mov ecx, dword [ebp - 0x80]
jmp 0x4b0509
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.005d78db
mov dword [eax], 0x16
call fcn.006207d0
jmp 0x4b02be
lea ecx, [ebp - 0x80]
cmp eax, edx
mov edi, edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], eax
cmovb edi, eax
test edi, edi
je 0x4b0534
mov edx, dword [ebp - 0x28]
xor ebx, ebx
movzx esi, word [ecx + ebx*2]
cmp si, word [edx + ebx*2]
jne 0x4b054d
inc ebx
cmp edi, ebx
jne 0x4b0525
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x88]
jne 0x4b054d
cmp dword [ebp - 0x2c], 7
jbe 0x4b05bf
mov edi, dword [ebp - 0x40]
jmp 0x4b05c2
xor ebx, ebx
mov ecx, dword [ebp - 0x90]
cmp ecx, 8
jb 0x4b0590
mov eax, dword [ebp - 0xa4]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b0586
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b06ce
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 2
jb 0x4b02c0
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x20], ebx
call fcn.0040e440
push dword [ebp - 0x24]
call fcn.0040f9e0
mov ebx, dword [ebp - 0x20]
add esp, 4
jmp 0x4b02c0
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], 0
sub esi, eax
jb 0x4b06da
lea eax, [ecx + eax*2]
cmp esi, 7
jbe 0x4b061a
mov dword [ebp - 0x10], 7
sub esp, 0xc
mov cl, byte [ebp - 0x4c]
mov byte [esp + 4], cl
lea ecx, [ebp - 0x68]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], edi
call fcn.00405590
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
jmp 0x4b063c
lea ecx, [esi + esi]
mov dword [ebp - 0x58], esi
lea edx, [ebp - 0x68]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x68], 0
mov dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x54], 7
lea eax, [edi + eax*2]
jbe 0x4b0650
mov ecx, dword [ebp - 0x68]
jmp 0x4b0653
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x10], 8
push esi
push eax
push ecx
call fcn.005dcc34
add esp, 0xc
mov ecx, dword [ebp - 0x54]
test eax, eax
sete bl
cmp ecx, 8
jb 0x4b054f
mov eax, dword [ebp - 0x68]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b069b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b06e6
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x4b054f
mov dword [ebp - 0x10], 4
call fcn.006207e0
mov dword [ebp - 0x10], 5
call fcn.006207e0
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 7
call fcn.005e9a00
mov dword [ebp - 0x10], 1
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
mov ecx, dword [ebp - 0x54]
cmp ecx, 8
jb 0x4b075e
mov eax, dword [ebp - 0x68]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b0754
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b0777
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], 0
add esp, 0x1c
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
mov ecx, dword [ebp - 0x90]
cmp ecx, 8
jb 0x4b07d4
mov eax, dword [ebp - 0xa4]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b07ca
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b07f2
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 2
jb 0x4b07ed
call fcn.0040e440
push dword [ebp - 0x24]
call fcn.0040f9e0
add esp, 4
add esp, 0x1c
pop ebp
ret
call fcn.006207e0
nop word [eax + eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
mov ecx, dword [ebp - 0x6c]
cmp ecx, 8
jb 0x4b085e
mov eax, dword [ebp - 0x80]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b0854
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b089a
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4b0895
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b088b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b089a
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x1c
pop ebp
ret
call fcn.006207e0
nop
push ebp
sub esp, 0x1c
add ebp, 0xc
call fcn.0061de80
int3