Function at 0x41c630
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470552
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x48e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x98], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00417940
mov dword [esi], eax
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xac], 1
mov dword [ebp - 0x94], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, eax
test edx, edx
je 0x41c6d2
test dl, 1
lea eax, [esi + 1]
mov ecx, edx
cmove eax, esi
shr edx, 1
mov esi, eax
cmp ecx, 2
jae 0x41c6b8
mov dword [ebp - 0x94], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434d73
add esp, 4
mov dword [ebp - 0xa8], eax
push eax
push esi
call edi
cmp dword [ebp - 0x94], 0
mov eax, dword [ebp - 0xa8]
mov esi, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], 0
jle 0x41ca76
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
mov dword [ebp - 0x2c], str.DRIVE_UNKNOWN
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x28], str.DRIVE_NO_ROOT_DIR
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x24], str.DRIVE_REMOVABLE
push eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x20], str.DRIVE_FIXED
push eax
push esi
mov dword [ebp - 0x1c], str.DRIVE_REMOTE
mov dword [ebp - 0x18], str.DRIVE_CDROM
mov dword [ebp - 0x14], str.DRIVE_RAMDISK
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, esi
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c797
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040a7a0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041df20
add esp, 8
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x41c805
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c7fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41caa4
push edx
push ecx
call fcn.00434483
add esp, 8
movsd xmm1, qword [0x4756c0]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x7c], xmm0
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0xb8]
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
addsd xmm0, qword [eax*8 + 0x4756e0]
mov eax, dword [ebp - 0xb4]
shl eax, 2
mulsd xmm0, xmm1
mulsd xmm0, xmm1
mulsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4756e0]
addsd xmm0, xmm1
mulsd xmm0, qword [0x4756d0]
call fcn.00434fa0
movsd xmm1, qword [0x4756c0]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x88], edx
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4756e0]
mov eax, dword [ebp - 0xbc]
shl eax, 2
mulsd xmm0, xmm1
mulsd xmm0, xmm1
mulsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4756e0]
addsd xmm0, xmm1
mulsd xmm0, qword [0x4756d0]
call fcn.00434fa0
mov dword [ebp - 0x80], edx
mov edx, dword [ebp + edi*4 - 0x2c]
mov ecx, edx
mov dword [ebp - 0x84], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c902
sub ecx, esi
mov eax, 0x20
cmp ecx, 0x20
cmovb ecx, eax
lea eax, [ebp - 0x7c]
push ecx
push edx
push eax
call fcn.00457ed0
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov eax, dword [eax]
mov esi, eax
mov dword [ebp - 0x9c], eax
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x41c97f
cmp edx, 0x10
lea ecx, [ebp - 0x44]
lea edx, [edi + 0x10]
cmovae ecx, dword [ebp - 0x44]
cmp dword [edi + 0x24], 0x10
jb 0x41c956
mov edx, dword [edi + 0x10]
push dword [ebp - 0x34]
push ecx
push dword [edi + 0x20]
push edx
call fcn.004165d0
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x41c972
mov edi, dword [edi + 8]
jmp 0x41c976
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
mov edx, dword [ebp - 0x30]
je 0x41c940
cmp esi, dword [ebp - 0x9c]
je 0x41c9b4
cmp dword [esi + 0x24], 0x10
lea edi, [esi + 0x10]
jb 0x41c993
mov edi, dword [esi + 0x10]
push dword [esi + 0x20]
cmp edx, 0x10
lea eax, [ebp - 0x44]
push edi
cmovae eax, dword [ebp - 0x44]
push dword [ebp - 0x34]
push eax
call fcn.004165d0
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x41c9f9
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x8d]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0x474f70
call fcn.00413950
mov ecx, dword [ebp - 0x98]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0xb0]
push eax
call fcn.00415270
mov esi, dword [ebp - 0xb0]
movups xmm0, xmmword [ebp - 0x8c]
mov byte [ebp - 4], 0
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [esi + 0x48], xmm0
mov esi, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x30]
add esi, 8
mov dword [ebp - 0xa0], esi
cmp edx, 0x10
jb 0x41ca57
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ca4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41caa4
push edx
push ecx
call fcn.00434483
add esp, 8
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp eax, dword [ebp - 0x94]
jl 0x41c728
mov eax, dword [ebp - 0xa8]
push 2
push eax
call fcn.00434483
mov eax, dword [ebp - 0x98]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004349bf
mov esp, ebp
pop ebp
ret 4
call fcn.0044f769
int3