Function at 0x47f5e0
Capabilities:
Get disk information

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 0x4c97f9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x511a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x300], edi
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0x511c10
call fcn.00478d00
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x2fc], 4
jne 0x47f8ab
mov byte [ebp - 4], 3
lea esi, [ebp - 0x318]
cmp dword [ebp - 0x304], 7
mov eax, dword [ebp - 0x308]
cmova esi, dword [ebp - 0x318]
mov ecx, esi
lea edx, [esi + eax*2]
call fcn.00436560
cmp eax, edx
je 0x47f6bc
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x47f6b5
cmp ecx, 0x2f
jne 0x47f6bc
add eax, 2
cmp eax, edx
jne 0x47f6a8
sub eax, esi
mov dword [ebp - 0x220], esi
sar eax, 1
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x330]
call fcn.0044b100
mov eax, 0xc
mov dword [ebp - 0x2fc], 0xc
mov dword [ebp - 0x2fc], eax
and eax, 0xfffffff7
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 4], 2
or eax, 2
mov dword [ebp - 0x2fc], eax
and eax, 0xfffffffb
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x318]
call fcn.00449e70
cmp dword [ebp - 0x31c], 7
lea ecx, [ebp - 0x118]
push 0x100
push ecx
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push 0x100
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x330]
cmova eax, dword [ebp - 0x330]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
and dword [ebp - 0x2fc], 0xfffffffd
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00449e70
test esi, esi
jne 0x47f7b4
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], esi
or dword [ebp - 0x2fc], 1
jmp 0x47f88b
push 0xb0
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.004a9f30
add esp, 8
lea ecx, [ebp - 0x2f8]
call fcn.00474070
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x2e8]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0x2e8]
push dword [ebp - 0x224]
call fcn.00474130
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00446d80
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x23c]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x23c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x22c]
or dword [ebp - 0x2fc], 1
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x23c]
call fcn.00449f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.004459e0
mov eax, edi
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.004a7b9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea edx, [ebp - 0x220]
call fcn.00478ae0
int3