Function at 0x4073ce
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x600
mov ecx, dword [0x42e580]
push ebx
push esi
push edi
push 1
xor ebx, ebx
pop eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [0x42ea84], ebx
mov dword [0x42b578], eax
cmp byte [ecx], bl
mov dword [ebp - 8], ebx
je 0x407961
push 0x7c
push ecx
call fcn.0041c440
pop ecx
cmp eax, ebx
pop ecx
je 0x40741b
inc dword [0x42ea84]
inc eax
push 0x7c
push eax
jmp 0x407404
call fcn.004073aa
mov ecx, dword [0x42ea84]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add ecx, eax
mov eax, dword [0x42e580]
mov dword [ebp - 0xc], eax
mov eax, dword [0x42b504]
cmp eax, ebx
mov dword [0x42ea84], ecx
mov esi, 0x401
je 0x40747e
mov edx, dword [0x42dfe0]
cmp edx, 3
jne 0x4074df
cmp dword [0x42dff0], ebx
je 0x407463
add ecx, ecx
movzx ecx, cx
shl ecx, 0x10
push ecx
push ebx
push esi
push eax
call edi
push ebx
push ebx
push 0x402
push dword [0x42b504]
call edi
mov eax, dword [0x42dfe0]
cmp eax, ebx
jne 0x4074f2
mov esi, 0x42eb00
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0041bb30
lea eax, [ebp - 0x128]
push 0x42b608
push eax
call fcn.00405453
push str.ic30
push esi
call fcn.00405453
push esi
call fcn.00405d65
push dword [0x42b5c0]
lea eax, [ebp - 0x128]
push eax
call fcn.004016c0
add esp, 0x24
test eax, eax
jne 0x4076c7
xor eax, eax
jmp 0x407961
cmp edx, 1
jne 0x407463
push 0x640000
jmp 0x40746a
cmp eax, 1
jne 0x407580
lea eax, [ebp - 0x128]
push 0x42e5a0
push eax
call fcn.0041bb30
lea eax, [ebp - 0x128]
push 0x42b608
push eax
call fcn.00405453
push str.ic30
push 0x42eb00
call fcn.00405453
push 0x42eb00
call fcn.00405d65
push dword [0x42b5c0]
lea eax, [ebp - 0x128]
push eax
call fcn.0040181f
add esp, 0x24
test eax, eax
je 0x4074d8
mov eax, dword [0x42b504]
cmp eax, ebx
je 0x4076c7
movzx ecx, word [0x42ea84]
shl ecx, 0x10
push ecx
push ebx
push esi
push eax
call edi
push ebx
push ebx
push 0x402
push dword [0x42b504]
call edi
jmp 0x4076c7
cmp eax, 3
jne 0x4076c7
cmp dword [0x42dff0], ebx
je 0x4076c7
mov al, byte [0x42e5a0]
push 0x427034
mov byte [ebp - 0x128], al
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x127], bl
call fcn.0041bb40
pop ecx
lea eax, [ebp - 0x128]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x4076c7
lea eax, [ebp - 0x128]
push eax
call fcn.00404c28
test eax, eax
jne 0x407608
cmp dword [0x42e4a8], ebx
jne 0x4074d8
push dword [0x42b5c0]
push 0x13
call fcn.0040fa42
pop ecx
cmp eax, 2
pop ecx
je 0x4074d8
jmp 0x4075d2
cmp dword [0x42dff0], ebx
jle 0x4076bf
cmp dword [ebp - 4], ebx
je 0x40767c
cmp dword [0x42e4a8], ebx
jne 0x4074d8
mov ecx, dword [ebp - 4]
mov eax, dword [0x427250]
inc ecx
mov esi, eax
push ecx
push eax
lea eax, [ebp - 0x600]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [0x42b5c0]
lea eax, [ebp - 0x600]
mov dword [0x427250], eax
lea eax, [ebp - 0x128]
push 0x11
mov dword [0x42b548], eax
call fcn.0040fa42
add esp, 0x14
cmp eax, 2
mov dword [0x427250], esi
je 0x4074d8
push 0x4275f0
push ebx
jmp 0x407687
push 0x4275f0
push dword [0x42eca8]
call fcn.0041c91b
pop ecx
cmp eax, ebx
pop ecx
je 0x4074d8
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0040665b
pop ecx
test eax, eax
pop ecx
je 0x4074d8
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [0x42dff0]
jl 0x407614
mov eax, dword [0x42b584]
mov dword [ebp - 8], eax
push 0x7c
push dword [ebp - 0xc]
call fcn.0041c440
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x40794d
mov esi, eax
lea eax, [ebp - 0x434]
sub esi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
push esi
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
push eax
call fcn.0041bd20
add esp, 0xc
mov byte [ebp + esi - 0x434], bl
cmp byte [ebp - 0x434], 0x3b
je 0x4078e1
lea eax, [ebp - 0x434]
push 0x427370
push eax
call fcn.0041c91b
lea eax, [ebp - 0x434]
push eax
call fcn.0041c080
lea esi, [ebp + eax - 0x433]
lea eax, [ebp - 0x538]
push 0x42eb00
push eax
call fcn.0041bb30
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x538]
push eax
call fcn.00405453
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
call fcn.00406886
add esp, 0x38
test eax, eax
je 0x4074d8
lea eax, [ebp - 0x434]
push eax
call fcn.00405be9
test eax, eax
pop ecx
je 0x407814
cmp dword [0x42b510], ebx
lea eax, [ebp - 0x22c]
push eax
jne 0x4077c7
call fcn.0041c080
inc eax
inc eax
push eax
mov dword [0x42b520], eax
call fcn.0041b1a2
pop ecx
mov dword [0x42b510], eax
pop ecx
mov byte [eax], bl
jmp 0x4077ef
call fcn.0041c080
mov ecx, dword [0x42b520]
lea eax, [ecx + eax + 2]
push eax
mov dword [0x42b520], eax
push dword [0x42b510]
call fcn.0041c18f
add esp, 0xc
mov dword [0x42b510], eax
lea eax, [ebp - 0x22c]
push eax
push dword [0x42b510]
call fcn.0041bb40
push 0x4275f0
push dword [0x42b510]
call fcn.0041bb40
add esp, 0x10
cmp dword [0x42ecc0], ebx
je 0x407831
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00405c4b
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x538]
push eax
call fcn.00423160
pop ecx
test eax, eax
pop ecx
je 0x407913
mov eax, dword [0x42e73c]
cmp eax, ebx
je 0x407865
lea ecx, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00404d12
cmp dword [0x42ab7c], ebx
jne 0x4074d8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push 1
pop esi
push esi
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x538]
push eax
call fcn.00406169
add esp, 0x1c
test eax, eax
je 0x4078d3
cmp dword [ebp - 0x10], esi
jne 0x4078c1
cmp dword [0x42e4a0], ebx
je 0x4078c1
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
mov dword [0x42b588], esi
cmp dword [ebp - 4], ebx
je 0x4078d3
lea eax, [ebp - 0x22c]
push eax
call fcn.00404737
pop ecx
cmp dword [0x42ab7c], ebx
jne 0x4074d8
jmp 0x407913
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
lea eax, [ebp - 0x433]
push eax
call fcn.00406886
add esp, 0x1c
test eax, eax
je 0x407913
lea eax, [ebp - 0x22c]
push eax
call fcn.00405d65
pop ecx
mov eax, dword [0x42b504]
inc dword [ebp - 8]
cmp eax, ebx
je 0x40792b
push ebx
push dword [ebp - 8]
push 0x402
push eax
call edi
mov eax, dword [ebp - 0x14]
lea esi, [eax + 1]
mov dword [ebp - 0xc], esi
call fcn.00404d12
cmp dword [0x42ab7c], ebx
jne 0x4074d8
push 0x7c
push esi
jmp 0x4076cc
push dword [ebp - 8]
call fcn.00407025
xor eax, eax
cmp dword [0x42ab7c], ebx
pop ecx
sete al
pop edi
pop esi
pop ebx
leave
ret