Function at 0x41ca3f
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4d2927
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
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 0x41ca9b
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 0x41cadb
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.00449324
xor esi, esi
lea ecx, [esp + 0x3c]
push esi
mov dword [esp + 0x304], esi
call fcn.00449457
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 0x41ce36
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 + 0x529a6c]
test ebx, ebx
je 0x41ce0c
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x38], eax
cmp eax, 4
jne 0x41cc0d
mov ecx, dword [0x529a90]
lea eax, [esp + 0x8c]
push 0x18
push eax
push 0x48
call fcn.00420e3f
test eax, eax
jne 0x41cbc4
movzx edx, word [0x51ef04]
lea eax, [esp + 0x8c]
push 0x18
push eax
xor edx, 0x2525
mov ecx, 0x51ef06
call fcn.00412531
pop ecx
pop ecx
xor eax, eax
mov edx, 0x6b952ba1
cmp byte [ebx + 0x81], al
mov ecx, 0x3e560d77
setne al
push eax
mov eax, dword [esp + 0x20]
add eax, 0x87
add eax, esi
push eax
lea eax, [esp + 0x94]
push eax
push 0xa608ff43
call fcn.0040180b
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x41cc42
cmp eax, 1
jne 0x41cc4f
lea eax, [ecx + 0x87]
mov edx, 0x6f478784
add eax, esi
mov ecx, 0x3a84a148
push eax
push 0xa2da536d
call fcn.0040180b
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 0x41cdcc
test eax, eax
jne 0x41cd79
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 0x41cd38
xor ecx, ecx
cmp word [ebx + 0x94], cx
jne 0x41cced
push 0x7603bef4
mov edx, 0xbb9e6a12
mov ecx, 0xee5d4cee
call fcn.0040180b
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 0x41ccde
xor eax, eax
mov edx, 0x9a8827f8
cmp byte [ebx + 0x81], al
mov ecx, 0xcf4b016a
setne al
push eax
mov eax, dword [esp + 0x20]
add eax, 0x87
add eax, esi
push eax
lea eax, [ebx + 0x94]
push eax
push 0x5715f31a
call fcn.0040180b
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x41cdcc
xor eax, eax
mov edx, 0xcfe7d2dd
cmp byte [ebx + 0x81], al
mov ecx, 0x9a24f455
setne al
push eax
mov eax, dword [esp + 0x20]
add eax, 0x87
add eax, esi
push eax
push 0x27a0639
call fcn.0040180b
pop ecx
push eax
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x41cdcc
xor eax, eax
mov edx, 0xec47a1a8
cmp byte [ebx + 0x81], al
setne al
push eax
lea eax, [ecx + 0x87]
mov ecx, 0xb984870a
add eax, esi
push eax
lea eax, [ebx + 0x94]
push eax
push 0x21da754a
call fcn.0040180b
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.0040c8e2
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 0x41cb43
mov ebp, dword [esp + 0x34]
xor esi, esi
lea ecx, [esp + 0x3c]
call fcn.00403980
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 0x41ce90
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.0041c6a9
pop ecx
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
or dword [esp + 0x300], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.004493a2
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.004b94b6
add esp, 0x2f0
ret