Function at 0x43cd90
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54c
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.0042f5f0
mov ebx, eax
cmp ebx, 9
jne 0x43cdc5
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, edi
call fcn.0043c890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
jne 0x43ce52
push 0x103
lea ecx, [esp + 0x54]
push edi
push ecx
call fcn.004bd1c0
lea eax, [esp + 0x5c]
add esp, 0xc
mov byte [esp + 0x153], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cdf0
sub eax, edx
je 0x43ce09
cmp byte [esp + eax + 0x4f], 0x5c
lea eax, [esp + eax + 0x50]
je 0x43ce09
mov byte [eax], 0x5c
lea ecx, [esi + 9]
lea esp, [esp]
mov al, byte [ecx]
cmp al, 0x20
je 0x43ce1a
cmp al, 9
jne 0x43ce1d
inc ecx
jmp 0x43ce10
push ecx
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
mov eax, 0x4d69c8
jne 0x43ce37
mov eax, 0x4d9220
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4f13d8]
push eax
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4f0b10]
mov dword [esp + 0x10], ecx
call fcn.0041a480
cmp ebx, 8
ja case.0x43ce6a.4
jmp dword [ebx*4 + 0x43d314]
cmp byte [edi], 0
jne 0x43ce80
mov esi, 0x100
jmp 0x43cf47
push 0x4ddd50
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x43cea3
lea esi, [eax + 5]
jmp 0x43cf47
push 0x4ddd60
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x43cec6
lea esi, [eax + 2]
jmp 0x43cf47
push 0x4ddd74
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x43cee6
lea esi, [eax + 3]
jmp 0x43cf47
push 0x4ddd84
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x43cf06
lea esi, [eax + 4]
jmp 0x43cf47
push 0x4ddd94
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x43cf26
lea esi, [eax + 6]
jmp 0x43cf47
push 0x4ddda4
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne case.0x43ce6a.0
xor esi, esi
xor edi, edi
mov bl, 0x41
jmp 0x43cf50
lea ecx, [esp + 0x158]
push ecx
mov byte [esp + 0x15c], bl
mov word [esp + 0x15d], 0x5c3a
mov byte [esp + 0x15f], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, esi
je 0x43cf88
cmp esi, 0x100
jne 0x43cf8d
cmp eax, 1
je 0x43cf8d
mov byte [esp + edi + 0x30], bl
inc edi
inc bl
cmp bl, 0x5a
jbe 0x43cf50
mov eax, dword [esp + 0x10]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
push eax
mov byte [esp + edi + 0x44], 0
call fcn.004a5c20
cmp byte [esp + 0x30], 0
je case.0x43ce6a.0
jmp case.0x43ce6a.4
push 0x103
lea ecx, [esp + 0x54]
push edi
push ecx
call fcn.004bd1c0
lea eax, [esp + 0x5c]
add esp, 0xc
mov byte [esp + 0x153], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cfe0
sub eax, edx
je 0x43cff9
cmp byte [esp + eax + 0x4f], 0x5c
lea eax, [esp + eax + 0x50]
je 0x43cff9
mov byte [eax], 0x5c
push 0xff
lea edx, [esp + 0x45c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0xff
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je case.0x43ce6a.0
mov eax, ebx
sub eax, 2
je 0x43d076
dec eax
je 0x43d05e
sub eax, 2
jne case.0x43ce6a.4
mov edx, dword [esp + 0x14]
push 0x18
push eax
mov eax, dword [esp + 0x18]
push edx
call fcn.00401570
jmp case.0x43ce6a.4
mov ecx, dword [esp + 0x10]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x264]
push eax
push ecx
jmp 0x43d268
mov eax, dword [esp + 0x10]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x464]
push edx
push eax
jmp 0x43d268
push 0x103
lea ecx, [esp + 0x54]
push edi
push ecx
call fcn.004bd1c0
lea eax, [esp + 0x5c]
add esp, 0xc
mov byte [esp + 0x153], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d0b0
sub eax, edx
je 0x43d0c9
cmp byte [esp + eax + 0x4f], 0x5c
lea eax, [esp + eax + 0x50]
je 0x43d0c9
mov byte [eax], 0x5c
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.0x43ce6a.0
jmp dword [eax*4 + 0x43d338]
push 0x4ddda4
call fcn.0049be50
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x20]
push eax
jmp 0x43d268
push 0x4ddd60
call fcn.0049be50
mov ecx, dword [esp + 0x14]
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
push ecx
jmp 0x43d268
push 0x4ddd74
call fcn.0049be50
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
jmp 0x43d263
push 0x4ddd84
jmp 0x43d0e9
push 0x4dddb4
jmp 0x43d107
push 0x4dddc4
call fcn.0049be50
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
jmp 0x43d263
push 0x103
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004bd1c0
lea eax, [esp + 0x5c]
add esp, 0xc
mov byte [esp + 0x153], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d182
sub eax, edx
je 0x43d19b
cmp byte [esp + eax + 0x4f], 0x5c
lea eax, [esp + eax + 0x50]
je 0x43d19b
mov byte [eax], 0x5c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x43d1c2
xor eax, eax
jmp 0x43d1cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
ja case.0x43d1d4.1
movzx eax, byte [eax + 0x43d368]
jmp dword [eax*4 + 0x43d354]
push 0x4dddd4
jmp 0x43d107
push 0x4ddde4
call fcn.0049be50
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
jmp 0x43d263
push 0x4dddf4
jmp 0x43d0e9
push 0x4dde08
jmp 0x43d107
push 0x4ddda4
call fcn.0049be50
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
jmp 0x43d263
cmp byte [edi], 0
jne 0x43d28c
push 0
push 0x80
lea eax, [esp + 0x1e0]
push eax
push str._03m_89__d5__7
call fcn.0049be50
add esp, 4
push eax
call dword [sym.imp.WINMM.dll_mciSendStringA]
test eax, eax
jne case.0x43ce6a.0
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x1e4]
push ecx
mov edx, dword [esp + 0x20]
push edx
call fcn.004a5c20
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d69c8
push eax
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push str._84_hp_e5__l__93___v2_9__g1m2_08n_.__0_3
call fcn.0049be50
add esp, 4
push eax
mov esi, 0x100
lea edi, [esp + 0x360]
call fcn.004a2f10
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
add esp, 8
push 0
push 0
push 0
mov ecx, edi
push ecx
call esi
test eax, eax
jne case.0x43ce6a.0
push eax
push 0x80
lea edx, [esp + 0x1e0]
push edx
push str._03m_y___
call fcn.0049be50
add esp, 4
push eax
call esi
push 0
push 0
push 0
push str.3__4_u._a._8
mov edi, eax
call fcn.0049be50
add esp, 4
push eax
call esi
test edi, edi
je 0x43d255
mov eax, dword [ebp + 8]
push eax
call fcn.0042fa00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4