Function at 0x42a380
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
push 2
push 0x208
call fcn.00409ad0
add esp, 8
test eax, eax
je 0x42a674
mov ecx, eax
mov esi, 0x104
mov ebx, 0xa
mov dword [ebp - 0x38], 0
jmp 0x42a3cc
mov ecx, dword [ebp - 0x18]
dec ebx
mov esi, edi
je 0x42a49f
lea eax, [ebp - 0x38]
push eax
push esi
mov dword [ebp - 0x10], ecx
push ecx
push dword [ebp + 0xc]
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
jne 0x42a497
mov dword [ebp - 0x14], esi
call fcn.0044ed20
mov esi, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.0044ed20
mov edi, eax
test edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
je 0x42a415
lea eax, [ebp - 0x20]
push eax
call fcn.0044ecd0
add esp, 4
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x42a425
lea eax, [ebp - 0x3c]
push eax
call fcn.0044ecd0
add esp, 4
cmp edi, 0x800700ea
jne 0x42a5ca
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x42a470
cmp edi, 0x3fffffff
ja 0x42a664
lea esi, [edi + edi]
push 2
push esi
call fcn.00409ad0
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x42a65a
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42a482
jmp 0x42a3c0
mov dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42a3c0
add eax, eax
push 2
push eax
push dword [ebp - 0x10]
call main
add esp, 0xc
jmp 0x42a3c0
mov eax, dword [ebp - 0x10]
mov edi, esi
mov dword [ebp - 0x18], eax
test edi, edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0
je 0x42a5fa
mov esi, dword [ebp - 0x18]
mov eax, edi
mov dword [ebp - 0x2c], edi
jmp 0x42a50d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
sub esi, ebx
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], ecx
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [eax + ecx*4 + 8], edi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
sub eax, edi
je 0x42a5a7
cmp word [esi], 0
je 0x42a5a7
mov dword [ebp - 0x30], eax
add eax, eax
mov ecx, 1
mov ebx, 0xfffffffe
neg eax
nop dword [eax + eax]
cmp eax, ebx
je 0x42a616
add ebx, 0xfffffffe
cmp word [esi + ecx*2], 0
lea edi, [ecx + 1]
mov ecx, edi
jne 0x42a530
lea eax, [edi - 2]
cmp eax, 0x3ffffffd
ja 0x42a649
mov eax, dword [0x593ab0]
mov ecx, ebx
neg ecx
movzx eax, byte [eax]
push 2
mov dword [ebp - 0x10], ecx
push ecx
call fcn.00409a80
add esp, 8
test eax, eax
je 0x42a63f
push dword [ebp - 0x10]
push esi
mov dword [ebp - 0x28], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jne 0x42a4d0
lea eax, [ebp - 0x24]
push eax
call fcn.00423190
add esp, 4
jmp 0x42a4d0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x24]
test ecx, ecx
mov dword [esi + 8], eax
movsd qword [esi], xmm0
je 0x42a60c
add ecx, ecx
push 2
push ecx
push dword [ebp - 0x18]
jmp 0x42a5f0
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
test eax, eax
mov dword [esi], 0
mov dword [esi + 4], 4
mov dword [esi + 8], 0
je 0x42a60c
add eax, eax
push 2
push eax
push dword [ebp - 0x10]
call main
add esp, 0xc
jmp 0x42a60c
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
jne 0x42a62d
push 0x5723a4
call fcn.004df720
add esp, 4
jmp 0x42a672
push 0x5723a4
push eax
inc eax
push eax
call fcn.004df620
add esp, 0xc
jmp 0x42a672
mov edx, dword [ebp - 0x10]
mov eax, 2
jmp 0x42a64e
mov edx, dword [ebp - 0x28]
xor eax, eax
push edx
push eax
call fcn.004ce340
add esp, 8
jmp 0x42a672
mov eax, 2
mov dword [ebp - 0x18], esi
jmp 0x42a666
xor eax, eax
push dword [ebp - 0x18]
push eax
call fcn.004ce340
add esp, 8
ud2
push 0x208
push 2
call fcn.004ce340
mov edi, eax
push 2
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call main
add esp, 0xc
jmp 0x42a6c7
lea ecx, [ebp - 0x24]
call fcn.0042a130
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x42a6e7
add ecx, ecx
push 2
push ecx
push eax
call main
add esp, 0xc
push edi
call fcn.004f2f90
nop dword [eax]
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.004a89d0
add esp, 4
pop ebp
ret