Function at 0x435646
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
mov edx, 0x28
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x43564d
lea eax, [esp + 0x10]
push 0x6f4f80
push eax
call fcn.0052aa3d
call fcn.005873a0
mov edx, dword [esp + 0xac]
lea ecx, [esp]
call fcn.004fc000
mov dword [section..data], 0xe00839
mov dword [section..data], 0xe0083e
mov dword [esp + 4], 0xfffff9b6
mov dword [section..data], 0xe00843
mov dword [section..data], 0xe00845
push edx
call fcn.00587290
pop edx
push eax
push edx
call fcn.00587290
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.005752e0
mov edx, 0x6e043a
push edx
call fcn.00587330
lea eax, [esp + 4]
push eax
call fcn.005872c0
mov dword [section..data], 0xe00847
push edx
call fcn.00587290
pop edx
push eax
push 3
push edx
call fcn.00587290
pop edx
push eax
mov edx, str.DriveLetter__
push edx
call fcn.00587330
mov edx, dword [esp + 0xc]
push edx
call fcn.00587330
mov edx, 0x6bef86
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.0049e102
call fcn.004fc320
mov dword [section..data], 0xe00849
push dword [esp]
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
cmp ebx, 5
je 0x4357e4
mov dword [section..data], 0xe0084a
push edx
call fcn.00587290
pop edx
push eax
push 3
push edx
call fcn.00587290
pop edx
push eax
mov edx, str.Drive
push edx
call fcn.00587330
mov edx, dword [esp + 0xc]
push edx
call fcn.00587330
mov edx, str._is_not_a_CD_DVD_drive
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.0049e102
call fcn.004fc320
mov dword [section..data], 0xe0084b
mov dword [esp + 4], 0xfffff9b6
mov dword [section..data], 0xe0084c
jmp 0x435a72
mov dword [section..data], 0xe0084d
mov dword [section..data], 0xe00851
push dword [esp]
call fcn.004431e4
mov dword [esp + 0xc], eax
mov dword [section..data], 0xe00852
mov ebx, dword [esp + 0xc]
cmp ebx, 1
jge 0x4358bc
mov dword [section..data], 0xe00853
push edx
call fcn.00587290
pop edx
push eax
push 0
push edx
call fcn.00587290
pop edx
push eax
mov edx, str.Couldnt_open_drive__
push edx
call fcn.00587330
mov edx, dword [esp + 0xc]
push edx
call fcn.00587330
mov edx, str._____
push edx
call fcn.00587330
push edx
call fcn.00587290
pop edx
push eax
push dword [esp + 0x1c]
call fcn.00441868
pop eax
mov edx, 0x6bef86
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.0049e102
call fcn.004fc320
mov dword [section..data], 0xe00854
mov dword [esp + 4], 0xfffff9b6
mov dword [section..data], 0xe00855
jmp 0x435a72
mov dword [section..data], 0xe00856
mov dword [section..data], 0xe00858
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call fcn.00437525
mov dword [esp + 8], eax
mov dword [section..data], 0xe00859
mov ebx, dword [esp + 8]
cmp ebx, 1
jge 0x43599b
mov dword [section..data], 0xe0085a
push edx
call fcn.00587290
pop edx
push eax
push 0
push edx
call fcn.00587290
pop edx
push eax
mov edx, str.Couldnt_get_details_of_drive__
push edx
call fcn.00587330
mov edx, dword [esp + 0xc]
push edx
call fcn.00587330
mov edx, str._____
push edx
call fcn.00587330
push edx
call fcn.00587290
pop edx
push eax
push dword [esp + 0x18]
call fcn.0043a7ff
pop eax
mov edx, 0x6bef86
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.DRMMC_IsBusEncryptionCapablev2
push eax
mov eax, str.drive_mmc
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.0049e102
call fcn.004fc320
mov dword [section..data], 0xe0085b
push dword [esp + 8]
pop eax
mov dword [esp + 4], eax
mov dword [section..data], 0xe0085c
jmp 0x435a72
mov dword [section..data], 0xe0085d
mov dword [section..data], 0xe0085f
push dword [esp + 0xc]
call fcn.00441cfc
mov dword [section..data], 0xe00861
lea ebp, [esp + 0x10]
cmp dword [ebp + 0x38], 0
je 0x435a1c
mov dword [section..data], 0xe00862
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.0049e102
mov dword [section..data], 0xe00863
mov dword [esp + 4], 2
mov dword [section..data], 0xe00864
jmp 0x435a72
mov dword [section..data], 0xe00865
mov dword [section..data], 0xe00866
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.0049e102
mov dword [section..data], 0xe00867
mov dword [esp + 4], 3
mov dword [section..data], 0xe00868
mov dword [section..data], 0xe0086a
mov dword [section..data], 0xe0086c
mov eax, dword [esp + 4]
jmp 0x435a8e
push dword [esp]
call fcn.00587410
lea edx, [esp + 0x10]
push 0x6f4f80
push edx
call fcn.0052ac2b
add esp, 0xa0
pop ebx
pop ebp
ret 4