Function at 0x461550
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4ea5c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
lea eax, [esp + 0x54]
push edi
push eax
mov dword [esp + 0x30], ecx
call fcn.00443850
push 0xc
call fcn.00449130
xor ebp, ebp
add esp, 8
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x461591
mov word [eax], bp
push 0x2a
mov dword [esp + 0x54], ebp
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x4615aa
mov word [eax], bp
mov ebx, 2
push ebx
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4615c3
mov word [eax], bp
mov ecx, dword [esp + 0x58]
xor esi, esi
cmp word [ecx], 0x2a
mov byte [esp + 0x50], 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov edi, 1
jne 0x4616d3
lea ecx, [ecx]
push 4
lea edx, [esp + 0x5c]
push edx
push str.vol
call fcn.00443910
add esp, 0xc
test eax, eax
je 0x46160f
mov esi, edi
jmp 0x4616c1
push 7
lea eax, [esp + 0x5c]
push eax
push str.setvol
call fcn.00443910
add esp, 0xc
test eax, eax
je 0x46162e
mov esi, ebx
jmp 0x4616c1
push 5
lea ecx, [esp + 0x5c]
push ecx
push str.idle
call fcn.00443910
add esp, 0xc
test eax, eax
je 0x46164c
mov dword [esp + 0x28], edi
jmp 0x4616c1
push 6
lea edx, [esp + 0x5c]
push edx
push str.idlec
call fcn.00443910
add esp, 0xc
test eax, eax
je 0x46166a
mov dword [esp + 0x28], ebx
jmp 0x4616c1
push 6
lea eax, [esp + 0x5c]
push eax
push str.rsort
call fcn.00443910
add esp, 0xc
test eax, eax
je 0x461688
mov dword [esp + 0x40], edi
jmp 0x4616c1
push 3
lea ecx, [esp + 0x5c]
push ecx
push 0x4f9ea0
call fcn.00443910
add esp, 0xc
test eax, eax
je 0x4616aa
mov dword [esp + 0x44], 0x100
jmp 0x4616c1
lea edx, [esp + 0x58]
push edx
call fcn.00417de5
lea eax, [esp + 0x5c]
push eax
call fcn.00443850
add esp, 8
mov ecx, dword [esp + 0x58]
cmp word [ecx], 0x2a
je 0x4615f0
mov dword [esp + 0x24], esi
push 0x3d
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.0044c770
add esp, 0xc
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004166b6
mov eax, dword [esp + 0x58]
cmp word [eax], 0x3d
mov edi, eax
jne 0x46171c
lea edi, [eax + 2]
push ebp
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], edi
call fcn.0044c770
add esp, 0xc
mov ebx, dword [esp + 0x18]
cmp word [ebx], bp
jne 0x461781
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x461743
mov edx, dword [0x51d3c8]
mov ecx, eax
add ecx, 0xfffffff8
push ecx
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x461759
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov edx, dword [0x51d3c8]
add ebx, 0xfffffff8
push ebx
push ebp
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
cmp esi, 2
jne 0x461818
push ebx
mov eax, 6
call fcn.00449190
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x4617a2
mov word [esi + 4], bp
push edi
push esi
mov word [esi + 2], 0x3a
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
test eax, eax
je 0x4617b8
xor ebx, ebx
jmp 0x4617c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4617dc
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4617f3
mov edx, eax
mov eax, dword [0x51d3c8]
add edx, 0xfffffff8
push edx
push ebp
push eax
call edi
mov ecx, dword [0x51d3c8]
add esi, 0xfffffff8
push esi
push ebp
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
mov edx, dword [esp + 0x14]
push edx
call fcn.00422077
call fcn.0044ffc0
push 0xa30
mov esi, eax
call fcn.00449130
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x20], ebx
je 0x461843
mov word [ebx], bp
cmp dword [esp + 0x24], 1
mov byte [esp + 0x50], 3
lea ebp, [ebx + 0x412]
lea edi, [ebx + 0x61c]
jne 0x461b5c
mov word [ebp], 0
mov word [ebx], 0
cmp word [esi], 0
je 0x4618a7
mov ax, word [esi + 2]
test ax, ax
je 0x461886
cmp ax, 0x3a
jne 0x4618a7
cmp word [esi + 4], 0
jne 0x4618a7
push 6
lea ecx, [esp + 0x18]
call fcn.004494e0
mov esi, dword [esp + 0x14]
mov word [esi + 2], 0x3a
mov word [esi + 4], 0x5c
mov word [esi + 6], 0
push 0x104
push ebp
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
push 0x208
xor edi, edi
push ebx
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, edi
je 0x4618e1
mov dword [esp + 0x44], edi
jmp 0x4618eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
push 2
mov dword [esp + 0x5c], eax
call fcn.00449130
add esp, 4
cmp eax, edi
mov dword [esp + 0x34], eax
je 0x461908
mov word [eax], di
push 2
call fcn.00449130
add esp, 4
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x46191d
mov word [eax], di
push 2
call fcn.00449130
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x461932
mov word [eax], di
mov esi, 2
push esi
call fcn.00449130
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x461950
mov word [ebp], 0
push esi
call fcn.00449130
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
je 0x461968
mov word [edi], 0
push 0x2c
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x5c], 8
call fcn.0044c770
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp word [eax], 0
je 0x461a25
mov ecx, eax
add ecx, esi
mov dword [esp + 0x58], ecx
push 0x2c
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.0044c770
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp word [eax], 0
je 0x461a21
mov ecx, eax
add ecx, esi
mov dword [esp + 0x58], ecx
push 0x2c
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.0044c770
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp word [eax], 0
je 0x461a21
mov ecx, eax
add ecx, esi
mov dword [esp + 0x58], ecx
push 0x2c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.0044c770
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp word [eax], 0
je 0x461a21
push 0x2c
lea ecx, [esp + 0x34]
mov edi, eax
push ecx
lea edx, [esp + 0x60]
add edi, esi
push edx
mov dword [esp + 0x64], edi
call fcn.0044c770
mov edi, dword [esp + 0x3c]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
push eax
push ebx
mov ecx, esi
call fcn.00448be0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
push str._08lX
push ecx
push edx
push esi
call fcn.0044bed0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
push esi
call fcn.0044bf10
mov edx, dword [esp + 0x5c]
push str.0x_lX
push edi
push edx
push esi
call fcn.0044bed0
mov eax, dword [esp + 0x4c]
add esp, 0x2c
add eax, 0x412
push eax
push ebp
mov ecx, esi
call fcn.00448be0
test edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x461a9d
mov eax, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push 0
push eax
call esi
test ebp, ebp
je 0x461ab0
mov ecx, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push 0
push ecx
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x461ac7
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x461add
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call esi
test ebx, ebx
je 0x461af0
mov ecx, dword [0x51d3c8]
add ebx, 0xfffffff8
push ebx
push 0
push ecx
call esi
mov edx, dword [esp + 0x20]
mov eax, dword [0x51d3c8]
add edx, 0xfffffff8
push edx
push 0
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x461b19
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x461b30
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
xor ebp, ebp
cmp word [esi], bp
mov bl, 1
jne 0x461b69
mov al, 0x7c
jmp 0x461b91
push esi
push 0x4f9e9c
call fcn.00444a10
add esp, 8
test al, al
jne 0x461b8f
push esi
push 0x4f05c4
call fcn.00444a10
add esp, 8
test al, al
je 0x461bbd
xor bl, bl
mov al, 0x20
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
or ecx, esi
push ecx
push edx
movsx dx, al
movsx ecx, bl
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0044fe50
mov esi, dword [esp + 0x24]
add esp, 0x14
jmp 0x461c09
mov ebx, 0x3a
cmp word [esi + 2], bx
jne 0x461bd4
mov eax, esi
mov word [esi + 4], bp
mov esi, dword [esp + 0x10]
jmp 0x461c09
push edi
push 0x208
mov word [edi], bp
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 5
lea ecx, [esp + 0x14]
call fcn.004494e0
mov esi, dword [esp + 0x10]
mov cx, word [edi]
mov word [esi], cx
mov word [esi + 2], bx
mov word [esi + 4], bp
mov eax, esi
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push eax
push ebx
call fcn.00448be0
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x461c34
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call edi
cmp esi, ebp
je 0x461c45
mov eax, dword [0x51d3c8]
add esi, 0xfffffff8
push esi
push ebp
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x461c5b
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call edi
mov edx, dword [0x51d3c8]
add ebx, 0xfffffff8
push ebx
push ebp
push edx
call edi
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8