Function at 0x4063c0
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448080
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x4c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x4e]
mov esi, 0xf593afc7
mov ecx, dword [ebp - 0x70]
sub esi, eax
movzx eax, word [ebp - 0x50]
sub esi, eax
movzx eax, cx
sub esi, eax
lea eax, [ebp - 0x4c]
sub esi, dword [ebp - 0x64]
sub esi, dword [ebp - 0x68]
sub esi, dword [ebp - 0x54]
sub esi, dword [ebp - 0x58]
sub esi, dword [ebp - 0x60]
sub esi, dword [ebp - 0x6c]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
sub esi, ecx
push 0
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40646b
mov ecx, 0xe864a5b9
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
jmp 0x40646e
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], ecx
lea edi, [ebp - 0x1b]
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub byte [ebp - 0x74], cl
mov ecx, dword [ebp - 0x74]
add cl, 0x30
mov byte [edi], cl
mov ecx, edx
mov dword [ebp - 0x74], ecx
test ecx, ecx
jne 0x406474
push ecx
lea eax, [ebp - 0x1b]
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.0040fd10
mov ecx, dword [0x47cfe8]
cmp ecx, 0x10
jb 0x4064e7
mov eax, dword [0x47cfd4]
inc ecx
cmp ecx, 0x1000
jb 0x4064dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ca
mov eax, edx
push ecx
push eax
call fcn.0042f3f9
add esp, 8
movups xmm0, xmmword [ebp - 0xb0]
lea edi, [ebp - 0x33]
movups xmmword [0x47cfd4], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [0x47cfe4], xmm0
mov eax, 0xcccccccd
dec edi
mul esi
shr edx, 3
mov al, dl
mov esi, edx
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x7c]
add cl, cl
sub al, cl
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x406508
push ecx
lea eax, [ebp - 0x33]
push eax
push edi
lea ecx, [ebp - 0x98]
call fcn.0040fd10
mov dword [ebp - 4], 0
mov esi, 0x47cfd4
cmp dword [0x47cfe8], 0x10
mov eax, dword [ebp - 0x84]
cmovae esi, dword [0x47cfd4]
mov edx, dword [ebp - 0x88]
sub eax, edx
mov ecx, dword [0x47cfe4]
mov dword [ebp - 0x7c], ecx
cmp ecx, eax
ja 0x4065f5
cmp dword [ebp - 0x84], 0x10
lea eax, [edx + ecx]
lea edi, [ebp - 0x98]
mov dword [ebp - 0x88], eax
cmovae edi, dword [ebp - 0x98]
lea eax, [esi + ecx]
cmp eax, edi
jbe 0x4065b8
lea eax, [edi + edx]
cmp esi, eax
ja 0x4065b8
cmp edi, esi
ja 0x4065af
mov dword [ebp - 0x74], 0
jmp 0x4065bb
mov eax, edi
sub eax, esi
mov dword [ebp - 0x74], eax
jmp 0x4065bb
mov dword [ebp - 0x74], ecx
lea eax, [edx + 1]
add ecx, edi
push eax
push edi
push ecx
call fcn.00430ac0
push dword [ebp - 0x74]
push esi
push edi
call fcn.00430ac0
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
sub edx, eax
push edx
lea ecx, [eax + esi]
add eax, edi
add ecx, dword [ebp - 0x7c]
push ecx
push eax
call fcn.00430ac0
add esp, 0x24
lea eax, [ebp - 0x98]
jmp 0x406607
push ecx
push esi
push ecx
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0040ba50
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x80], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x47cfe8]
cmp ecx, 0x10
jb 0x406667
mov eax, dword [0x47cfd4]
inc ecx
cmp ecx, 0x1000
jb 0x406654
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ca
mov eax, edx
push ecx
push eax
call fcn.0042f3f9
movups xmm0, xmmword [ebp - 0x30]
add esp, 8
movq xmm1, qword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
movq qword [0x47cfe4], xmm1
movups xmmword [0x47cfd4], xmm0
cmp ecx, 0x10
jb 0x4066ac
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4066a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ca
push ecx
push edx
call fcn.0042f3f9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f19a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043400f
int3