Function at 0x42a0f5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x22e]
mov word [ebp - 0x230], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x230]
lea edi, [ebp - 0x230]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp - 0x230], bx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], ebx
je 0x42a2f0
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
mov dword [ebp - 0x10], eax
jne 0x42a175
mov ax, word [edi]
cmp ax, 0x41
je 0x42a165
cmp ax, 0x42
jne 0x42a175
push edi
call fcn.00442e61
pop ecx
lea edi, [edi + eax*2 + 2]
jmp 0x42a2e7
mov eax, dword [0x4581d0]
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
call fcn.00442e61
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp eax, 3
pop ecx
je 0x42a1a5
cmp eax, 4
je 0x42a1a5
cmp eax, 2
je 0x42a1a5
cmp eax, 6
jne 0x42a2d0
movzx eax, word [edi]
push eax
lea eax, [ebp - 0xc]
push str._C:_
push eax
mov word [edi + 2], bx
call fcn.00408f2b
mov eax, dword [0x4581d0]
add esp, 0xc
mov dword [ebp - 0x1c], eax
movzx eax, word [edi]
push eax
lea eax, [ebp - 0x1c]
push str.._c:
push eax
call fcn.00408f2b
add esp, 0xc
push ebx
push ebx
push 0x146
push dword [0x4cae34]
call esi
push 0x4ca400
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
call fcn.004017bc
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004019f3
lea ecx, [ebp - 0x20]
call fcn.00401802
push ebx
lea ecx, [ebp - 8]
call fcn.00401b75
push eax
push dword [ebp - 0x10]
push 0x14a
push dword [0x4cae34]
call esi
push 0x4ca400
lea ecx, [ebp - 0x30]
call fcn.004017bc
push eax
lea eax, [ebp - 0xc]
push str.SoftwareOK_
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401a95
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004019f3
push eax
lea ecx, [ebp - 8]
call fcn.0040711b
lea ecx, [ebp - 0x2c]
call fcn.00401802
lea ecx, [ebp - 0x28]
call fcn.00401802
lea ecx, [ebp - 0x30]
call fcn.00401802
push ebx
lea ecx, [ebp - 8]
call fcn.00401b75
push eax
push dword [ebp - 0x10]
push 0x14a
push dword [0x4cae34]
call esi
push ebx
push ebx
push 0x146
push dword [0x4cae34]
call esi
cmp dword [ebp - 0x14], ebx
jne 0x42a2bd
cmp dword [0x4cae38], ebx
je 0x42a2bd
add eax, 0xfffffffe
push ebx
push eax
push 0x14e
push dword [0x4cae34]
call esi
inc dword [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 0x1c]
call fcn.00401802
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
lea edi, [edi + eax*2 + 2]
call fcn.00401802
lea ecx, [ebp - 0xc]
call fcn.00401802
cmp word [edi], bx
jne 0x42a147
push ebx
push ebx
push 0xf0
push 0x3f9
push dword [0x4cae3c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042a417
mov eax, dword [ebp - 4]
pop ecx
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x42a331
mov dword [ecx], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42a340
mov eax, dword [0x4581d0]
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.00401988
lea eax, [ebp - 0x18]
push eax
call fcn.0042a097
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040711b
lea ecx, [ebp - 0x18]
call fcn.00401802
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 1
jle 0x42a3a7
mov edi, 0x100
lea ecx, [ebp - 4]
push edi
call fcn.00401b75
push eax
call fcn.0042a3f4
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401bdd
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 1
jle 0x42a3a7
push edi
lea ecx, [ebp - 4]
call fcn.00401b75
push eax
call fcn.0042a3f4
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401bdd
mov eax, dword [ebp - 4]
cmp dword [eax - 8], ebx
je 0x42a3e7
push ebx
push ebx
push 0x146
push dword [0x4cae34]
call esi
push ebx
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00401b75
push eax
push edi
push 0x14a
push dword [0x4cae34]
call esi
push ebx
push edi
push 0x14e
push dword [0x4cae34]
call esi
lea ecx, [ebp - 4]
call fcn.00401802
pop edi
pop esi
pop ebx
leave
ret