Function at 0x43ec54
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x244]
push edi
mov edi, dword [ebp + 8]
push esi
call fcn.00421800
lea eax, [ebp - 0x244]
push eax
call fcn.0043e860
pop ecx
mov bl, al
lea ecx, [ebp - 0x244]
xor eax, eax
push eax
push 1
call fcn.00418cb0
test bl, bl
je 0x43eca6
mov al, 1
jmp 0x43ef00
xor eax, eax
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
xor ebx, ebx
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x24c], ebx
push eax
push edi
call fcn.0043e6b9
pop ecx
pop ecx
test al, al
je 0x43eeee
push esi
lea ecx, [ebp - 0x22c]
call fcn.00421800
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x22c]
push 8
pop edi
cmp dword [ebp - 0x218], edi
cmovae eax, dword [ebp - 0x22c]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x43ed58
xor eax, eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
lea eax, [ecx - 1]
push eax
push ebx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], ebx
push eax
lea ecx, [ebp - 0x244]
call fcn.00419190
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041fd50
push ebx
push 1
lea ecx, [ebp - 0x244]
call fcn.00418cb0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0043e66e
pop ecx
pop ecx
test al, al
jne 0x43eedc
lea eax, [ebp - 0x22c]
push eax
push eax
call fcn.0043e7d5
mov bl, al
lea eax, [ebp - 0x22c]
push eax
call fcn.0043ef11
add esp, 0xc
test al, al
jne 0x43ee01
test bl, bl
je 0x43edfa
xor eax, eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
xor ebx, ebx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x234], ebx
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0043e73f
pop ecx
pop ecx
test al, al
je 0x43ede6
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0043e66e
pop ecx
pop ecx
mov bl, al
push 0
push 1
lea ecx, [ebp - 0x244]
call fcn.00418cb0
jmp 0x43eede
xor bl, bl
jmp 0x43eede
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x218], edi
mov esi, 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
mov dword [ebp - 0xa], ebx
mov word [ebp - 6], bx
push esi
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x43eede
cmp eax, esi
je 0x43eede
lea esi, [ebp - 0x214]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x43ee59
mov eax, dword [ebp - 0x21c]
sub esi, ecx
sar esi, 1
add eax, 0xfffffffe
add eax, esi
cmp eax, dword [ebp - 0x24c]
jne 0x43eede
cmp dword [ebp - 0x248], edi
lea ecx, [ebp - 0x214]
push esi
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push ecx
push eax
call fcn.00459a21
add esp, 0xc
test eax, eax
jne 0x43eede
cmp dword [ebp - 0x218], edi
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x248], edi
cmovae ecx, dword [ebp - 0x25c]
add eax, 4
push eax
lea eax, [ecx + esi*2]
push eax
call fcn.004598ac
pop ecx
pop ecx
test eax, eax
jne 0x43eede
mov bl, 1
xor eax, eax
lea ecx, [ebp - 0x22c]
push eax
push 1
call fcn.00418cb0
xor eax, eax
lea ecx, [ebp - 0x25c]
push eax
push 1
call fcn.00418cb0
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret