Function at 0x423e00
Capabilities:
Get disk information

Disassembly:
sub esp, 0xb4
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0xb0], eax
push esi
mov esi, dword [esp + 0xbc]
mov eax, dword [esi + 0x50]
push 0x4000
push eax
call fcn.00521a00
add esp, 8
test eax, eax
je 0x423e4c
mov eax, 1
pop esi
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00523ce0
add esp, 0xb4
ret
mov ecx, dword [esi + 0x58]
push ebp
push edi
push str.DISK
push ecx
call sub.wrtLang.dll_GetMessageString
add esp, 8
mov dword [esp + 0x18], eax
mov ebp, 0x41
lea edi, [esi + 0x3cc]
push ebx
nop
cmp ebp, dword [esi + 0x3b0]
jne 0x423e7e
xor ebx, ebx
xor eax, eax
jmp switch.0x00423ea4
push ebp
lea edx, [esp + 0x24]
push str._c:_
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ebx, ebx
cmp eax, 6
ja case.default.0x423ea4
jmp dword [eax*4 + 0x424060]
mov dword [edi - 4], ebx
jmp 0x423edb
mov dword [edi - 4], ebx
mov dword [edi], ebx
jmp 0x423ee1
mov eax, 1
mov dword [edi - 4], eax
mov dword [edi + 4], eax
mov dword [edi], ebx
jmp case.default.0x423ea4
mov dword [edi - 4], 1
mov dword [edi + 4], ebx
mov dword [edi], ebx
jmp case.default.0x423ea4
mov dword [edi - 4], 1
mov dword [edi], 1
mov dword [edi + 4], ebx
mov ecx, dword [esi + 0x3a4]
imul ecx, ecx, 0x114
push ecx
call fcn.005228c0
add esp, 4
cmp eax, ebx
mov dword [edi + 8], eax
je 0x42405a
push ebp
lea edx, [esp + 0x24]
push str.FsDrivePB__c
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
mov ecx, dword [esi + 0x7c]
add esp, 0xc
push ebx
lea eax, [ebp + 0xeb]
push eax
push str.userData
push str.NfsbPm
push ecx
call fcn.00428c30
mov edx, dword [0x55193c]
add esp, 8
push eax
push edx
lea eax, [esp + 0x34]
push eax
call sub.HCLXT.dll_Ordinal_217
mov ecx, dword [esp + 0x34]
push ebp
push ecx
lea edx, [esp + 0x90]
push str._s__c:
push edx
mov dword [edi - 8], eax
call dword [sym.imp.MSVCR80.dll_sprintf]
mov ecx, dword [edi - 8]
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.00427d40
mov edx, dword [edi - 8]
push esi
push 0x42edf0
push str.valueChangedCallback
push edx
call sub.HCLXT.dll_Ordinal_29
xor eax, eax
add esp, 0x40
cmp dword [esi + 0x3a4], eax
jle 0x42402a
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x104], ebx
mov dword [eax + 0x108], 0x12c
mov dword [eax + 0x10c], ebp
mov ecx, dword [esi + 0x3ac]
mov ecx, dword [ecx + edx + 4]
mov dword [eax + 0x110], ecx
lea ecx, [esi + 0x195]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x423fe0
sub ecx, dword [esp + 0x18]
mov edx, ecx
mov ecx, dword [esi + 0x5cc]
add ecx, dword [esp + 0x10]
lea ecx, [ecx + edx - 1]
push ecx
push ebp
push str._c:_s
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add dword [esp + 0x24], 0x14
add dword [esp + 0x20], 0x114
add ebx, 1
add esp, 0x10
cmp ebx, dword [esi + 0x3a4]
jl 0x423fa2
add ebp, 1
lea edx, [ebp - 0x41]
add edi, 0x14
cmp edx, 0x1a
jl 0x423e70
mov eax, 1
mov ecx, dword [esp + 0xc0]
pop ebx
pop edi
pop ebp
pop esi
xor ecx, esp
call fcn.00523ce0
add esp, 0xb4
ret
xor eax, eax
jmp 0x424041