Function at 0x4295a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4299af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x502cdc]
mov eax, dword [eax]
call fcn.004a6e14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
call fcn.00474e18
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 1
jmp 0x429914
cmp dword [ebp - 0xc], 3
je 0x429614
cmp dword [ebp - 0xc], 4
jne 0x429623
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a8], 0
jmp 0x42993a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x174], 0
je 0x429647
push 1
mov ecx, 0x2b11
mov dl, 1
mov eax, dword [sym.DnPatch.exe__Zipmstr_EZipMaster_]
call sym.DnPatch.exe__Zipmstr_EZipMaster__bctr_qqrxixo
call fcn.004743e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a0], 0
jge 0x429672
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4299c8
mov edx, 0x2b19
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_LoadZipStr_qqri17System_AnsiString
or dword [ebp - 0x14], 0x10
jmp 0x42981e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d], 0
je 0x4297d2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x17c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f4], 0
je 0x4296b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x17c]
jge 0x4296b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1a4], eax
cmp dword [ebp - 0x18], 0
jle 0x429741
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
add eax, 4
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1f0]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fild dword [ebp - 0x18]
fdivp st(1)
call fcn.00472fd4
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a4]
cdq
cmp edx, dword [esp + 4]
jne 0x42970f
cmp eax, dword [esp]
pop edx
pop eax
jae 0x429741
jmp 0x429713
pop edx
pop eax
jge 0x429741
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
add eax, 4
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1f0]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fild dword [ebp - 0x18]
fdivp st(1)
call fcn.00472fd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x1a4], eax
cmp dword [ebp - 0x18], 0
jle 0x429798
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4299f0
mov edx, 0x2b1a
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_LoadZipStr_qqri17System_AnsiString
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a0]
inc edx
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a4]
inc edx
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x38]
mov ecx, 1
call fcn.004636fc
jmp 0x42981e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x429a20
mov edx, 0x2b26
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_LoadZipStr_qqri17System_AnsiString
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a0]
inc edx
mov dword [ebp - 0x44], edx
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x44]
xor ecx, ecx
call fcn.004636fc
jmp 0x42981e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4299f0
mov edx, 0x2b1a
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_LoadZipStr_qqri17System_AnsiString
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a0]
inc edx
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1a4]
inc edx
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x38]
mov ecx, 1
call fcn.004636fc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x429a48
mov edx, 0x2b1b
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_LoadZipStr_qqri17System_AnsiString
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x44]
xor ecx, ecx
pop eax
call fcn.004636fc
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00474c28
mov eax, dword [ebp - 4]
cmp word [eax + 0x2b2], 0
je 0x4298d6
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a4]
inc eax
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
call fcn.00474e78
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1a0]
inc ecx
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x2b4]
call dword [ebx + 0x2b0]
cmp byte [ebp - 0x1d], 0
je 0x4298cd
mov dword [ebp - 0x10], 3
jmp 0x42990a
mov dword [ebp - 0x10], 1
jmp 0x42990a
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x502cdc]
mov eax, dword [eax]
call fcn.004a6ae8
mov eax, dword [ebp - 0x58]
call fcn.00474e18
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00474e18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a8], 0
cmp dword [ebp - 0x10], 1
jne 0x42992a
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_IsDiskPresent_qqrv
test al, al
je 0x429608
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1a8], 0
jne 0x429608
cmp dword [ebp - 0x10], 1
je 0x429958
push 0
mov ecx, 0x2aff
mov dl, 1
mov eax, dword [sym.DnPatch.exe__Zipmstr_EZipMaster_]
call sym.DnPatch.exe__Zipmstr_EZipMaster__bctr_qqrxixo
call fcn.004743e4
cmp dword [ebp - 0x10], 0
jne 0x429976
push 1
mov ecx, 0x2afe
mov dl, 1
mov eax, dword [sym.DnPatch.exe__Zipmstr_EZipMaster_]
call sym.DnPatch.exe__Zipmstr_EZipMaster__bctr_qqrxixo
call fcn.004743e4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4299b6
lea eax, [ebp - 0x58]
mov edx, 5
call fcn.0047498c
lea eax, [ebp - 0x3c]
call fcn.00474968
lea eax, [ebp - 0x28]
call fcn.00474968
lea eax, [ebp - 0x1c]
call fcn.00474968
ret