Function at 0x4f32b8
Capabilities:
Get disk information

Disassembly:
enter 0x3a4, 1
pushal
mov dword [ebp - 0x11], eax
mov eax, dword [ebp - 0x11]
mov dword [ebp - 0x3a7], ebx
mov dword [ebp - 8], 0
mov byte [ebp - 0x2d9], 0
mov byte [ebp - 0xa3], 0
mov ax, 0
mov byte [ebp - 0x2ee], 0
lea eax, [ebp - 0x318]
mov ebx, 0x1a
mov ecx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov edx, 0x1a
call fcn.0042f6ca
mov ax, 0
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x1bd]
mov eax, edx
mov ebx, 0x565fb8
mov ecx, 0
call fcn.00432b7c
mov dword [ebp - 0x1cd], edx
mov dword [ebp - 0x1c9], 0x565fb8
mov dword [ebp - 0x1c5], 0
mov dword [ebp - 0x1c1], 0xff
mov eax, 0x107
call fcn.004b3d54
mov dword [ebp - 0x1d1], eax
mov eax, dword [ebp - 0x1d1]
mov ebx, 0x565f90
mov ecx, 0
call fcn.00432b7c
mov eax, dword [ebp - 0x1d1]
mov dword [ebp - 0x2e9], eax
mov dword [ebp - 0x2e5], 0x565f90
mov dword [ebp - 0x2e1], 0
mov dword [ebp - 0x2dd], 0x107
lea edx, [ebp - 0xba]
mov eax, edx
mov ebx, 0x565f44
mov ecx, 0
call fcn.00432b7c
mov dword [ebp - 0x2fe], edx
mov dword [ebp - 0x2fa], 0x565f44
mov dword [ebp - 0x2f6], 0
mov dword [ebp - 0x2f2], 0x17
mov dword [ebp - 0x1d5], 0
mov eax, 0x139
call fcn.004b3d54
mov dword [ebp - 0xbe], eax
mov eax, dword [ebp - 0xbe]
mov ebx, 0x565e10
mov ecx, 0
call fcn.00432b7c
push 0
lea eax, [ebp - 0x2fe]
mov dword [ebp - 0x39b], eax
push eax
lea eax, [ebp - 0x2e9]
mov dword [ebp - 0x3a3], eax
push eax
lea eax, [ebp - 0xa3]
mov dword [ebp - 0x39f], eax
push eax
push 0x565d30
push 0x565d40
lea eax, [ebp - 0xc]
push eax
call fcn.0053b404
add esp, 0x1c
jmp 0x4f3c99
mov eax, 0
call fcn.0043572c
mov dword [ebp - 0x1d9], 1
cmp dword [ebp - 0x1d9], 0x1a
jg 0x4f34e7
mov eax, dword [ebp - 0x1d9]
lea eax, [ebp + eax - 0x319]
mov ebx, 1
call fcn.00434fc0
mov eax, 0x565d54
mov ebx, 2
call fcn.00434fc0
call fcn.00434674
lea ecx, [ebp - 0x2ee]
mov eax, ecx
mov ebx, 5
call fcn.0043508c
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
cmp ax, 2
jb 0x4f34dc
mov ebx, dword [ebp - 0x1d9]
mov bl, byte [ebp + ebx - 0x319]
mov byte [ebp - 0xba], bl
mov word [ebp - 0xa5], ax
movzx eax, ax
dec eax
mov dword [ebp - 0xb9], eax
mov eax, dword [ebp - 0x39b]
call fcn.00435490
inc dword [ebp - 0x1d9]
jmp 0x4f3457
call fcn.0053cfcc
cmp eax, 2
jne 0x4f34fb
mov eax, 0
call fcn.0053b688
mov eax, dword [ebp - 0xc]
call fcn.0053b3ec
mov edx, dword [ebp - 0x3a7]
cmp edx, 0
jle 0x4f3536
mov eax, 0x7c03
call fcn.00434cc8
mov eax, edx
add eax, 0x1e
call fcn.00434cc8
mov eax, 0
mov ebx, 0
mov ecx, dword [ebp - 0xc]
call fcn.0053c134
jmp 0x4f359e
cmp edx, 0
jge 0x4f359e
mov eax, 0x7c03
call fcn.00434cc8
mov eax, 0x7c05
call fcn.00434cc8
mov eax, 0
mov ebx, 0
mov ecx, dword [ebp - 0xc]
call fcn.0053be8c
call fcn.00434890
mov eax, edx
test eax, eax
jg 0x4f356e
neg eax
call fcn.0042ee3a
call fcn.0042f01c
mov eax, 5
call fcn.0042ee3a
call fcn.0042f014
call fcn.0042fcb0
mov eax, 0
mov ebx, 0
mov ecx, dword [ebp - 0xc]
call fcn.0053c134
mov dword [ebp - 8], 1
mov eax, 0x7cfd
call fcn.00434cc8
mov eax, 0xb
call fcn.00434cc8
mov eax, 5
mov ebx, 0
mov ecx, 0
call fcn.0053c134
mov eax, 0x7cfd
call fcn.00434cc8
mov eax, 0xa
call fcn.00434cc8
mov eax, 2
mov ebx, 0
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, 0x565d58
mov ebx, 0xc
call fcn.00434fc0
mov eax, 5
mov ebx, 1
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, 0x565d64
mov ebx, 0xb
call fcn.00434fc0
mov eax, 5
mov ebx, 2
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, 0x565d70
mov ebx, 0xd
call fcn.00434fc0
mov eax, 5
mov ebx, 3
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, 0x565d80
mov ebx, 9
call fcn.00434fc0
mov eax, 5
mov ebx, 4
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, 0x565d8c
mov ebx, 0xa
call fcn.00434fc0
mov eax, 5
mov ebx, 5
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, str.SMOPEN.ICO
mov ebx, 0xb
call fcn.00434fc0
mov eax, 2
mov ebx, 1
mov ecx, 0
call fcn.0053c134
mov eax, 0x7d07
call fcn.00434cc8
mov eax, str.SMCLOSE.ICO_
mov ebx, 0xc
call fcn.00434fc0
mov eax, 2
mov ebx, 2
mov ecx, 0
call fcn.0053c134
mov cx, 0
mov eax, dword [ebp - 0x11]
call fcn.00432d98
cmp eax, 0
pushfd
lea edx, [ebp - 0x11]
popfd
je 0x4f37f9
mov eax, 0
mov ebx, 0
call fcn.00434fc0
mov al, 1
call fcn.00421b2c
lea esi, [ebp - 0x397]
mov eax, esi
mov ebx, 0x7e
call fcn.00434d3c
mov eax, dword [ebp - 0x11]
call fcn.0043331c
call fcn.00421ae8
cmp dword [0x542b34], 0
jne 0x4f37c4
mov eax, 0
mov ebx, 0
call fcn.00434fc0
mov al, 1
call fcn.00421b2c
call fcn.0043333c
mov ebx, eax
mov eax, edx
call fcn.00432cb0
mov eax, ebx
call fcn.00432e34
mov cx, 1
jmp 0x4f37e8
inc dword [ebp - 0x1d9]
jmp 0x4f3848
mov eax, 0x565db0
mov ebx, 0
call fcn.00434fc0
call fcn.0043333c
mov ebx, eax
mov eax, edx
call fcn.00432cb0
mov eax, ebx
call fcn.00432e34
mov eax, esi
mov ebx, 0x7e
call fcn.00434fc0
call fcn.00421ae8
cmp cx, 0
je 0x4f3919
mov eax, dword [ebp - 0x11]
call fcn.0043331c
mov eax, 1
mov ebx, 1
call fcn.0043387c
call fcn.00433c98
lea eax, [ebp - 0x319]
mov ebx, 1
call fcn.00434d3c
mov ecx, dword [ebp - 0x39b]
mov eax, ecx
call fcn.00435264
mov esi, eax
mov dword [ebp - 0x1d9], 1
cmp dword [ebp - 0x1d9], esi
jg 0x4f386f
mov eax, ecx
mov ebx, dword [ebp - 0x1d9]
call fcn.004353a8
mov al, byte [ebp - 0x319]
cmp byte [ebp - 0xba], al
jne 0x4f37b9
mov eax, 5
mov ebx, dword [ebp - 0x1d9]
mov ecx, 0
call fcn.0053b7c8
mov eax, dword [ebp - 0x11]
call fcn.0043331c
call fcn.0042f50f
mov eax, 0xffffffff
mov ebx, 1
call fcn.0043387c
mov eax, 0x565db0
mov ebx, 1
call fcn.00434fc0
call fcn.00434088
cmp eax, 0
je 0x4f38ef
mov eax, dword [ebp - 0x11]
call fcn.0043331c
call fcn.0042f50f
mov eax, 0x565db4
mov ebx, 1
call fcn.00434fc0
call fcn.00434674
call fcn.0043333c
mov ebx, eax
mov eax, edx
call fcn.00432cb0
mov eax, ebx
call fcn.00432e34
mov eax, dword [ebp - 0x11]
call fcn.0043331c
call fcn.00433c98
mov eax, dword [ebp - 0x39f]
mov ebx, 0x7e
call fcn.0043508c
jmp 0x4f399a
inc dword [ebp - 0x1d9]
jmp 0x4f3932
mov ecx, dword [ebp - 0x39b]
mov eax, ecx
call fcn.00435264
mov edx, eax
mov dword [ebp - 0x1d9], 1
cmp dword [ebp - 0x1d9], edx
jg 0x4f3951
mov eax, ecx
mov ebx, dword [ebp - 0x1d9]
call fcn.004353a8
cmp word [ebp - 0xa5], 3
jne 0x4f3911
mov eax, 5
mov ebx, dword [ebp - 0x1d9]
mov ecx, 0
call fcn.0053b7c8
lea eax, [ebp - 0xba]
mov ebx, 1
call fcn.00434fc0
mov eax, 0x565db8
mov ebx, 2
call fcn.00434fc0
call fcn.00434674
mov eax, dword [ebp - 0x39f]
mov ebx, 0x7e
call fcn.0043508c
call fcn.004f30a4
call fcn.0053b27c
mov esi, 0
call fcn.0053d1c4
cmp eax, 0x203
jne 0x4f3a04
call fcn.004f2eec
mov eax, 0x7c8f
call fcn.00434cc8
mov eax, 1
call fcn.00434cc8
mov eax, 2
mov ebx, 0
mov ecx, 0
call fcn.0053c134
mov eax, 2
mov ebx, 0
mov ecx, 0
call fcn.0053b7c8
jmp 0x4f3a42
add dword [ebp - 0x1d9], 0xffffffff
jmp 0x4f3ac7
cmp eax, 0x206
je 0x4f3a42
cmp eax, 0x1a
jne 0x4f3a42
mov eax, 0x96
mov ebx, 0x10
call fcn.00428bb8
call fcn.004f2ee4
mov ebx, 0
call fcn.0053b8e8
call fcn.004f2ee4
mov ebx, 0
mov ecx, 0
call fcn.0053b7c8
call fcn.0053d354
cmp eax, 2
jne 0x4f3b56
call fcn.0053d1c4
cmp eax, 0xf
jne 0x4f3c83
mov eax, 2
call fcn.0053d1e4
mov ebx, eax
mov eax, dword [ebp - 0x3a3]
call fcn.004353a8
mov eax, 2
call fcn.0053d1e4
cmp eax, 1
jne 0x4f3afe
mov eax, dword [ebp - 0x1d1]
lea eax, [eax]
mov ebx, 0xff
call fcn.00434fc0
call fcn.0042f50f
call fcn.00434834
cmp eax, 3
jle 0x4f3b4c
mov ebx, dword [ebp - 0x39f]
mov eax, ebx
call fcn.00435120
call fcn.0042f50f
call fcn.00434834
dec eax
mov dword [ebp - 0x1d9], eax
cmp dword [ebp - 0x1d9], 1
jl 0x4f3ae4
mov eax, dword [ebp - 0x1d9]
cmp byte [ebp + eax - 0xa4], 0x5c
jne 0x4f39f8
mov eax, ebx
lea ecx, [ebp - 0xa3]
mov edx, dword [ebp - 0x1d9]
mov ebx, 0x7e
call fcn.0042f698
jmp 0x4f3b4c
mov ecx, dword [ebp - 0x39f]
mov eax, ecx
call fcn.00435120
call fcn.0042f50f
mov eax, dword [ebp - 0x1d1]
lea eax, [eax]
mov ebx, 0xff
call fcn.00434fc0
call fcn.0042f50f
call fcn.00434674
mov eax, 0x565e08
mov ebx, 1
call fcn.00434fc0
call fcn.00434674
mov eax, ecx
mov ebx, 0x7e
call fcn.0043508c
call fcn.004f30a4
jmp 0x4f3c83
cmp eax, 5
jne 0x4f3bd7
call fcn.0053d1c4
cmp eax, 1
jne 0x4f3c83
mov eax, 5
call fcn.0053d1e4
mov ebx, eax
mov eax, dword [ebp - 0x39b]
call fcn.004353a8
lea eax, [ebp - 0xba]
mov ebx, 1
call fcn.00434fc0
mov eax, 0x565e0c
mov ebx, 2
call fcn.00434fc0
call fcn.00434674
mov eax, dword [ebp - 0x39f]
mov ebx, 0x7e
call fcn.0043508c
call fcn.004f2eec
call fcn.004f30a4
mov eax, 2
mov ebx, 0
mov ecx, 0
call fcn.0053b7c8
jmp 0x4f3c83
cmp eax, 6
jne 0x4f3c09
call fcn.0053d1c4
cmp eax, 1
jne 0x4f3c83
mov byte [ebp - 0xd], 1
mov eax, 0x201
mov ebx, 0
mov ecx, 0
mov edx, 0
call fcn.0053af80
jmp 0x4f3c83
cmp eax, 7
jne 0x4f3c33
call fcn.0053d1c4
cmp eax, 1
jne 0x4f3c83
mov eax, 0x201
mov ebx, 0
mov ecx, 0
mov edx, 0
call fcn.0053af80
jmp 0x4f3c83
cmp eax, 4
jne 0x4f3c83
call fcn.0053d1c4
cmp eax, 1
jne 0x4f3c83
mov eax, 0x7c8f
call fcn.00434cc8
mov eax, 1
call fcn.00434cc8
mov eax, 2
mov ebx, 0
mov ecx, 0
call fcn.0053c134
mov eax, 0xf
mov ebx, 2
mov ecx, 0
mov edx, 0
call fcn.0053af80
mov eax, esi
call fcn.0053dceb
cmp al, 0
je 0x4f39a4
call fcn.004f2e64
jmp 0x4f3cb4
mov dword [ebp - 0x1d9], 0
lea eax, [ebp - 0x25]
call fcn.004f62bb
cmp eax, 0
je 0x4f3443
mov eax, 0
call fcn.0053dcf2
mov eax, dword [ebp - 0xc]
call fcn.0053b2e4
mov eax, dword [ebp - 0xbe]
call fcn.004b3428
mov eax, dword [ebp - 0x39b]
call fcn.004354b8
mov eax, dword [ebp - 0x3a3]
call fcn.004354b8
mov eax, dword [ebp - 0x1d1]
call fcn.004b3428
lea eax, [ebp - 0x1cd]
call fcn.004354b8
lea esp, [ebp - 0x3c8]
popal
leave
ret