Function at 0x41ce14
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4d2f12
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x34], ebp
test edx, edx
je 0x41ce70
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push dword [edx]
jmp 0x41ceb0
push 0x25
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
lea eax, [esp + 0x7c]
push eax
push 0x1f
push 0x433
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x88]
push eax
mov dword [esp + 0x2c], ecx
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x3c]
call fcn.0044ed7c
xor esi, esi
lea ecx, [esp + 0x3c]
push esi
mov dword [esp + 0x304], esi
call fcn.00449858
or dword [esp + 0x30], 0xffffffff
lea edi, [esp + 0x58]
mov ebx, eax
mov dword [esp + 0x4c], 0x30
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x50], 0x43
mov dword [esp + 0x54], esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x2c], esi
mov edx, esi
mov dword [esp + 0x20], edx
mov edi, eax
test ebx, ebx
jle 0x41d20b
mov ebp, ebx
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov al, byte [esi + ecx + 0x83]
mov byte [esp + 0x1b], al
movzx eax, al
mov dword [esp + 0x58], ebx
mov word [esp + 0xf4], bx
mov ebx, dword [eax*4 + 0x52aa34]
test ebx, ebx
je 0x41d1e1
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x38], eax
cmp eax, 4
jne 0x41cfe2
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x8c]
push 0x18
push eax
push 0x48
call fcn.0042126e
test eax, eax
jne 0x41cf99
movzx edx, word [0x51fed2]
lea eax, [esp + 0x8c]
push 0x18
push eax
xor edx, 0x9191
mov ecx, 0x51fed4
call fcn.00412903
pop ecx
pop ecx
xor eax, eax
mov edx, 0xb81ac092
cmp byte [ebx + 0x81], al
mov ecx, 0x3e8b21eb
setne al
push eax
mov eax, dword [esp + 0x20]
add eax, 0x87
add eax, esi
push eax
lea eax, [esp + 0x94]
push eax
push 0xa9c820e1
call fcn.0040198e
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x41d017
cmp eax, 1
jne 0x41d024
lea eax, [ecx + 0x87]
mov edx, 0xeb656dda
add eax, esi
mov ecx, 0x6df48cb9
push eax
push 0xfab78da2
call fcn.0040198e
pop ecx
push eax
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [esp + 0x58], 3
jmp 0x41d1a1
test eax, eax
jne 0x41d14e
mov al, byte [esp + 0x1b]
xor ecx, ecx
push 0x3a
movzx eax, al
mov word [esp + 0x80], ax
pop eax
push 0x5c
mov word [esp + 0x82], ax
pop eax
push ecx
push ecx
mov word [esp + 0x88], ax
xor eax, eax
push ecx
mov word [esp + 0x8e], ax
lea eax, [ebx + 0x94]
push ecx
mov word [eax], cx
lea ecx, [esp + 0x58]
push ecx
push 0x80
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x41d10d
xor ecx, ecx
cmp word [ebx + 0x94], cx
jne 0x41d0c2
push 0x326ac3cb
mov edx, 0x23b823bc
mov ecx, 0xa529c2ef
call fcn.0040198e
lea edx, [ebx + 0x94]
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x41d0b3
xor eax, eax
mov edx, 0xbcac9c17
cmp byte [ebx + 0x81], al
mov ecx, 0x3a3d7d2a
setne al
push eax
mov eax, dword [esp + 0x20]
add eax, 0x87
add eax, esi
push eax
lea eax, [ebx + 0x94]
push eax
push 0xad7e7c64
call fcn.0040198e
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x41d1a1
xor eax, eax
mov edx, 0x2aef69cc
cmp byte [ebx + 0x81], al
mov ecx, 0xac7e88eb
setne al
push eax
mov eax, dword [esp + 0x20]
add eax, 0x87
add eax, esi
push eax
push 0x3b3d89b9
call fcn.0040198e
pop ecx
push eax
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x41d1a1
xor eax, eax
mov edx, 0xd9275473
cmp byte [ebx + 0x81], al
setne al
push eax
lea eax, [ecx + 0x87]
mov ecx, 0x5fb6b57e
add eax, esi
push eax
lea eax, [ebx + 0x94]
push eax
push 0xc8f5b400
call fcn.0040198e
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x44]
add esp, 0x14
cmp eax, 0xffffffff
cmove eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
push eax
push 1
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_InsertMenuItemW]
push edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push ecx
dec eax
push eax
push edi
push dword [esp + 0x44]
call fcn.0040cc64
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
inc edx
movzx ecx, byte [esp + 0x1b]
add esi, 0xe0
mov dword [esp + 0x20], edx
mov word [esp + eax*2 + 0xbc], cx
cmp edx, ebp
jl 0x41cf18
mov ebp, dword [esp + 0x34]
xor esi, esi
lea ecx, [esp + 0x3c]
call fcn.00403ca0
push esi
push ebp
push esi
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x180
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
jle 0x41d265
mov ax, word [esp + eax*2 + 0xbc]
lea edx, [esp + 0xf4]
mov word [esp + 0xf4], ax
mov ecx, ebp
push 0x3a
pop eax
mov word [esp + 0xf6], ax
xor eax, eax
push 2
mov word [esp + 0xfc], ax
call fcn.0041ca7e
pop ecx
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
or dword [esp + 0x300], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.004497a3
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.004b9a6c
add esp, 0x2f0
ret