Function at 0x43a860
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x254], edi
call fcn.0040a920
lea eax, [ebp - 0x24c]
push eax
call fcn.0043a33a
pop ecx
test al, al
je 0x43a8b8
mov bl, 1
push edi
push 1
lea ecx, [ebp - 0x24c]
call fcn.00402df0
mov al, bl
jmp 0x43ab0c
push edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x218], 7
call fcn.00403580
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.0043a39c
pop ecx
pop ecx
test al, al
jne 0x43a8f3
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.00402df0
xor bl, bl
jmp 0x43a8a3
mov eax, dword [ebp - 0x238]
dec eax
push eax
lea ecx, [ebp - 0x24c]
call fcn.00405330
cmp word [eax], 0x5c
jne 0x43a955
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 0x238]
dec eax
push eax
push edi
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00405c70
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00402c50
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x270]
call fcn.00402df0
jmp 0x43a958
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x234], 8
mov ecx, dword [ebp - 0x248]
jae 0x43a96d
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x43a982
lea eax, [ebp - 0x22c]
push ecx
push eax
call fcn.0045870c
pop ecx
pop ecx
test eax, eax
jne 0x43a9a1
push edi
push ebx
lea ecx, [ebp - 0x230]
call fcn.00402df0
jmp 0x43a8a1
push ebx
push edi
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x254], 0x3a
call fcn.00406490
mov esi, eax
cmp esi, edi
je 0x43aaf0
cmp esi, 0xffffffff
je 0x43aaf0
cmp esi, ebx
jbe 0x43a9f2
lea eax, [esi - 2]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00405330
cmp word [eax], 0x5c
je 0x43a9f2
push edi
push ebx
jmp 0x43a8e4
xor eax, eax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00405330
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x43aad8
cmp eax, edi
je 0x43aad8
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x43aa43
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x238]
sub eax, esi
lea eax, [eax + edi - 1]
cmp eax, dword [ebp - 0x21c]
jne 0x43aad8
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x43aa7c
lea eax, [ebp - 0x22c]
push edi
lea ecx, [ebp - 0x214]
push ecx
push eax
call fcn.00458555
add esp, 0xc
test eax, eax
jne 0x43aad8
inc esi
push esi
lea ecx, [ebp - 0x24c]
call fcn.00405330
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00405330
push eax
call fcn.0045870c
pop ecx
pop ecx
test eax, eax
jne 0x43aad8
push eax
push 1
lea ecx, [ebp - 0x230]
call fcn.00402df0
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.00402df0
mov al, 1
jmp 0x43ab0c
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402df0
xor bl, bl
xor edi, edi
jmp 0x43a8a3
push edi
push ebx
lea ecx, [ebp - 0x230]
call fcn.00402df0
push edi
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00402df0
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret