Function at 0x4391a8
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
mov edx, 0x28
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4391af
lea eax, [esp + 0x10]
push 0x6b4604
push eax
call fcn.0053055e
call fcn.0057b2e0
mov edx, dword [esp + 0xac]
lea ecx, [esp]
call fcn.0050d0f0
mov dword [section..data], 0xe00843
mov dword [section..data], 0xe00848
mov dword [esp + 4], 0xfffff9b6
mov dword [section..data], 0xe0084d
mov dword [section..data], 0xe0084f
push edx
call fcn.0057b460
pop edx
push eax
push edx
call fcn.0057b460
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.005698f0
mov edx, 0x69f8f8
push edx
call fcn.0057b230
lea eax, [esp + 4]
push eax
call fcn.0057b350
mov dword [section..data], 0xe00851
push edx
call fcn.0057b460
pop edx
push eax
push 3
push edx
call fcn.0057b460
pop edx
push eax
mov edx, str.DriveLetter__
push edx
call fcn.0057b230
mov edx, dword [esp + 0xc]
push edx
call fcn.0057b230
mov edx, 0x67df2c
push edx
call fcn.0057b230
call fcn.0057b490
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.0050d222
add dword [esp + 8], edx
call fcn.004ae98d
call fcn.0050d240
mov dword [section..data], 0xe00853
push dword [esp]
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
cmp ebx, 5
je 0x439346
mov dword [section..data], 0xe00854
push edx
call fcn.0057b460
pop edx
push eax
push 3
push edx
call fcn.0057b460
pop edx
push eax
mov edx, str.Drive
push edx
call fcn.0057b230
mov edx, dword [esp + 0xc]
push edx
call fcn.0057b230
mov edx, str._is_not_a_CD_DVD_drive
push edx
call fcn.0057b230
call fcn.0057b490
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.0050d222
add dword [esp + 8], edx
call fcn.004ae98d
call fcn.0050d240
mov dword [section..data], 0xe00855
mov dword [esp + 4], 0xfffff9b6
mov dword [section..data], 0xe00856
jmp 0x4395d4
mov dword [section..data], 0xe00857
mov dword [section..data], 0xe0085b
push dword [esp]
call fcn.00447202
mov dword [esp + 0xc], eax
mov dword [section..data], 0xe0085c
mov ebx, dword [esp + 0xc]
cmp ebx, 1
jge 0x43941e
mov dword [section..data], 0xe0085d
push edx
call fcn.0057b460
pop edx
push eax
push 0
push edx
call fcn.0057b460
pop edx
push eax
mov edx, str.Couldnt_open_drive__
push edx
call fcn.0057b230
mov edx, dword [esp + 0xc]
push edx
call fcn.0057b230
mov edx, str._____
push edx
call fcn.0057b230
push edx
call fcn.0057b460
pop edx
push eax
push dword [esp + 0x1c]
call fcn.0044551f
pop eax
mov edx, 0x67df2c
push edx
call fcn.0057b230
call fcn.0057b490
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.0050d222
add dword [esp + 8], edx
call fcn.004ae98d
call fcn.0050d240
mov dword [section..data], 0xe0085e
mov dword [esp + 4], 0xfffff9b6
mov dword [section..data], 0xe0085f
jmp 0x4395d4
mov dword [section..data], 0xe00860
mov dword [section..data], 0xe00862
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call fcn.0043b1dc
mov dword [esp + 8], eax
mov dword [section..data], 0xe00863
mov ebx, dword [esp + 8]
cmp ebx, 1
jge 0x4394fd
mov dword [section..data], 0xe00864
push edx
call fcn.0057b460
pop edx
push eax
push 0
push edx
call fcn.0057b460
pop edx
push eax
mov edx, str.Couldnt_get_details_of_drive__
push edx
call fcn.0057b230
mov edx, dword [esp + 0xc]
push edx
call fcn.0057b230
mov edx, str._____
push edx
call fcn.0057b230
push edx
call fcn.0057b460
pop edx
push eax
push dword [esp + 0x18]
call fcn.0043e4b6
pop eax
mov edx, 0x67df2c
push edx
call fcn.0057b230
call fcn.0057b490
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.0050d222
add dword [esp + 8], edx
call fcn.004ae98d
call fcn.0050d240
mov dword [section..data], 0xe00865
push dword [esp + 8]
pop eax
mov dword [esp + 4], eax
mov dword [section..data], 0xe00866
jmp 0x4395d4
mov dword [section..data], 0xe00867
mov dword [section..data], 0xe00869
push dword [esp + 0xc]
call fcn.004459b3
mov dword [section..data], 0xe0086b
lea ebp, [esp + 0x10]
cmp dword [ebp + 0x38], 0
je 0x43957e
mov dword [section..data], 0xe0086c
push 3
mov eax, str.Drive_is_BusEncryptionCapable__BEC_
push eax
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.004ae98d
mov dword [section..data], 0xe0086d
mov dword [esp + 4], 2
mov dword [section..data], 0xe0086e
jmp 0x4395d4
mov dword [section..data], 0xe0086f
mov dword [section..data], 0xe00870
push 3
mov eax, str.Drive_is_NOT_BusEncryptionCapable__BEC_
push eax
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.004ae98d
mov dword [section..data], 0xe00871
mov dword [esp + 4], 3
mov dword [section..data], 0xe00872
mov dword [section..data], 0xe00874
mov dword [section..data], 0xe00876
mov eax, dword [esp + 4]
jmp 0x4395f0
push dword [esp]
call fcn.0057b3c0
lea edx, [esp + 0x10]
push 0x6b4604
push edx
call fcn.005306d3
add esp, 0xa0
pop ebx
pop ebp
ret 4