Function at 0x402bb3
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x402bba
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov edx, 0x40f028
lea ecx, [esp + 0x18]
call fcn.00404068
push dword [0x411ac4]
call fcn.0040b5ca
push edx
push eax
pop ebx
pop edi
cmp edi, 0
jg 0x402c04
jl 0x402c00
cmp ebx, 0
ja 0x402c04
xor eax, eax
jmp 0x402c09
mov eax, 1
or eax, eax
je 0x402c44
push dword [0x411cec]
mov eax, str.BackupFile
push eax
mov eax, str.Setting
push eax
push dword [0x411ac4]
call fcn.004025fb
lea eax, [esp + 0x1c]
push eax
call fcn.0040cd90
push 2
push dword [0x411ac4]
call fcn.0040b746
mov dword [esp + 0x14], 2
jmp 0x402c4e
mov eax, 0x19
cmp eax, dword [esp + 0x14]
jl 0x402edc
push dword [0x411cec]
push dword [0x411cec]
mov ebx, dword [esp + 0x1c]
add ebx, 0x41
push ebx
call fcn.0040ace0
lea eax, [esp + 4]
push eax
call fcn.0040cd90
push dword [esp]
mov edx, 0x40f276
pop ecx
call fcn.00404130
je 0x402c95
jmp 0x402ed2
push dword [0x411cec]
mov edx, dword [esp + 4]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, 0x4101a4
push edx
call fcn.0040cd30
mov edx, dword [0x4107ac]
add dword [esp], edx
call sub.KERNEL32.dll_GetDriveTypeW
pop dword [0x411cec]
mov ebx, eax
cmp ebx, 3
jne 0x402ed2
push dword [0x411cec]
mov edx, dword [esp + 4]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, str.:WindowsSystem32
push edx
call fcn.0040cd30
mov edx, dword [0x4107ac]
add dword [esp], edx
call fcn.0040b5ca
pop dword [0x411cec]
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xfffffffe
jne 0x402d18
cmp edi, 0xffffffff
je 0x402d1c
xor eax, eax
jmp 0x402d21
mov eax, 1
or eax, eax
je 0x402d83
mov edx, dword [esp]
push dword [0x411cec]
push edx
call fcn.0040cd30
lea eax, [0x411acc]
push eax
call fcn.0040cd90
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
mov edx, dword [esp + 8]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, 0x40f082
push edx
call fcn.0040cd30
mov edx, dword [esp + 4]
push edx
call fcn.0040cd30
mov edx, 0x40f0a6
push edx
call fcn.0040cd30
lea eax, [esp + 0xc]
push eax
call fcn.0040cd90
push dword [0x411cec]
mov edx, dword [esp + 4]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, str.:Backup
push edx
call fcn.0040cd30
mov edx, dword [0x4107ac]
add dword [esp], edx
call fcn.0040b5ca
pop dword [0x411cec]
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xfffffffe
jne 0x402dc6
cmp edi, 0xffffffff
je 0x402dca
xor eax, eax
jmp 0x402dcf
mov eax, 1
or eax, eax
je 0x402e31
mov edx, dword [esp]
push dword [0x411cec]
push edx
call fcn.0040cd30
lea eax, [0x411ad8]
push eax
call fcn.0040cd90
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x10]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, 0x40f082
push edx
call fcn.0040cd30
mov edx, dword [esp + 4]
push edx
call fcn.0040cd30
mov edx, 0x40f0a6
push edx
call fcn.0040cd30
lea eax, [esp + 0x14]
push eax
call fcn.0040cd90
push dword [esp + 0x18]
mov edx, 0x40f028
pop ecx
call fcn.00404130
jne 0x402ed2
push dword [0x411cec]
mov edx, dword [esp + 4]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, 0x40f0a6
push edx
call fcn.0040cd30
mov edx, dword [esp + 0x20]
push edx
call fcn.0040cd30
mov edx, dword [0x4107ac]
add dword [esp], edx
call fcn.0040b5ca
pop dword [0x411cec]
push edx
push eax
pop ebx
pop edi
cmp edi, 0
jg 0x402e99
jl 0x402e95
cmp ebx, 0
ja 0x402e99
xor eax, eax
jmp 0x402e9e
mov eax, 1
or eax, eax
je 0x402ed2
mov edx, dword [esp]
push dword [0x411cec]
push edx
call fcn.0040cd30
mov edx, 0x40f0a6
push edx
call fcn.0040cd30
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040cd30
lea eax, [0x411ae4]
push eax
call fcn.0040cd90
inc dword [esp + 0x14]
jno 0x402c4e
mov ebx, dword [esp + 4]
and ebx, ebx
jne 0x402f14
push 0xfffd
push 1
mov eax, 0x40f900
push eax
mov eax, 0x40fd20
push eax
mov eax, 0x410528
push eax
push 0
call fcn.00402448
push 0
jmp 0x4011cc
mov ebx, dword [esp + 4]
cmp ebx, 1
jle 0x402fb2
push dword [0x411cec]
push 0xfffd
push 1
push dword [0x411cec]
mov edx, 0x40f054
push edx
call fcn.0040cd30
mov edx, dword [esp + 0x18]
push edx
call fcn.0040cd30
mov edx, 0x40f646
push edx
call fcn.0040cd30
push dword [0x411cec]
push dword [0x411cec]
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.0040ad00
pop eax
mov edx, 0x40fcc4
push edx
call fcn.0040cd30
add dword [0x411cec], 2
mov eax, 0x40fd20
push eax
mov eax, 0x410528
push eax
push 0
mov edx, dword [0x4107ac]
add dword [esp + 0xc], edx
call fcn.00402448
pop dword [0x411cec]
push 0
jmp 0x4011cc
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x402fea
push 0xfffd
push 1
mov eax, 0x40f1bc
push eax
mov eax, 0x40f7bc
push eax
mov eax, 0x410528
push eax
push 0
call fcn.00402448
push 0
jmp 0x4011cc
mov ebx, dword [esp + 0xc]
cmp ebx, 1
jle 0x403088
push dword [0x411cec]
push 0xfffd
push 1
push dword [0x411cec]
mov edx, str.Backup
push edx
call fcn.0040cd30
mov edx, dword [esp + 0x20]
push edx
call fcn.0040cd30
mov edx, 0x40f646
push edx
call fcn.0040cd30
push dword [0x411cec]
push dword [0x411cec]
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
call fcn.0040ad00
pop eax
mov edx, 0x40f0aa
push edx
call fcn.0040cd30
add dword [0x411cec], 2
mov eax, 0x40f7bc
push eax
mov eax, 0x410528
push eax
push 0
mov edx, dword [0x4107ac]
add dword [esp + 0xc], edx
call fcn.00402448
pop dword [0x411cec]
push 0
jmp 0x4011cc
xor eax, eax
push dword [esp + 0x10]
call fcn.0040ce10
push dword [esp + 0x18]
call fcn.0040ce10
push dword [esp]
call fcn.0040ce10
push dword [esp + 8]
call fcn.0040ce10
add esp, 0x1c
pop edi
pop ebx
ret