Function at 0x41c040
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 0x471ec6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x48f088]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov edi, 0x41
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x230], eax
nop
push 0x208
lea eax, [ebp - 0x228]
mov word [ebp - 0x1c], di
push 0
push eax
mov dword [ebp - 0x1a], 0x3a
call fcn.0044b7d0
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41c11c
lea esi, [ebp - 0x228]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c0e4
mov eax, dword [ebp - 0x230]
sub esi, ecx
sar esi, 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41c103
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x228]
push edx
mov edx, dword [eax + 0x10]
push 0
call fcn.00419a80
add esp, 0xc
test eax, eax
je 0x41c16f
inc edi
cmp di, 0x5a
jbe 0x41c0a0
mov esi, dword [ebp - 0x22c]
xor eax, eax
push eax
push 0x484cb0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.0040c030
mov eax, esi
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.00448dec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jb 0x41c35e
sub ecx, edx
or esi, 0xffffffff
cmp ecx, 0xffffffff
cmovb esi, ecx
cmp dword [eax + 0x14], 8
jb 0x41c1bf
mov eax, dword [eax]
push esi
lea eax, [eax + edx*2]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040c030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
lea edx, [ecx + 2]
mov word [ebp - 0x248], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c200
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0040c030
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x234]
mov eax, edi
mov ecx, dword [ebp - 0x238]
sub eax, ecx
mov edx, dword [ebp - 0x250]
mov esi, dword [ebp - 0x24c]
cmp edx, eax
jbe 0x41c26c
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x41c26c
cmp edi, 8
lea eax, [ebp - 0x248]
push ecx
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
push 0
call fcn.0041cf90
jmp 0x41c289
cmp esi, 8
lea eax, [ebp - 0x260]
push edx
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x248]
push eax
call fcn.00419450
mov esi, dword [ebp - 0x22c]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x41c2fc
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c363
push edx
push ecx
call fcn.0044945e
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp edx, 8
jb 0x41c14d
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c34f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c368
push edx
push ecx
call fcn.0044945e
add esp, 8
jmp 0x41c14d
call fcn.0040cf60
call fcn.0044e6c9
call fcn.0044e6c9
int3