Function at 0x481190
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 0x4cb6c9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x512a40]
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], 0x512c10
call fcn.0047a810
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x2fc], 4
jne 0x48145b
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.004368f0
cmp eax, edx
je 0x48126c
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x481265
cmp ecx, 0x2f
jne 0x48126c
add eax, 2
cmp eax, edx
jne 0x481258
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.0044b4e0
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.0044a250
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.0044a250
test esi, esi
jne 0x481364
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 0x48143b
push 0xb0
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.004ac230
add esp, 8
lea ecx, [ebp - 0x2f8]
call fcn.00475ad0
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.00475b90
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00447120
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.0044a2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00445d80
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.004a9ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea edx, [ebp - 0x220]
call fcn.0047a5f0
int3