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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp - 0x28], ecx
call fcn.00428a5b
pop ecx
push 5
lea ecx, [ebp - 4]
call fcn.0042e1e2
push 0x14
lea ecx, [ebp - 8]
call fcn.0042e1e2
lea ecx, [ebp - 0x14]
call fcn.0042e1c4
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
jmp 0x43f7a5
push 4
lea eax, [ebp + 8]
push eax
push str.vol
call fcn.00428ad5
add esp, 0xc
test eax, eax
je 0x43f6f8
mov dword [ebp - 0xc], 1
jmp 0x43f7a5
push 7
lea eax, [ebp + 8]
push eax
push str.setvol
call fcn.00428ad5
add esp, 0xc
test eax, eax
je 0x43f71b
mov dword [ebp - 0xc], 2
jmp 0x43f7a5
push 5
lea eax, [ebp + 8]
push eax
push str.idle
call fcn.00428ad5
add esp, 0xc
test eax, eax
je 0x43f73b
mov dword [ebp - 0x24], 1
jmp 0x43f7a5
push 6
lea eax, [ebp + 8]
push eax
push str.idlec
call fcn.00428ad5
add esp, 0xc
test eax, eax
je 0x43f75b
mov dword [ebp - 0x24], 2
jmp 0x43f7a5
push 6
lea eax, [ebp + 8]
push eax
push str.rsort
call fcn.00428ad5
add esp, 0xc
test eax, eax
je 0x43f77b
mov dword [ebp - 0x34], 1
jmp 0x43f7a5
push 3
lea eax, [ebp + 8]
push eax
push 0x48b020
call fcn.00428ad5
add esp, 0xc
test eax, eax
je 0x43f79b
mov dword [ebp - 0x3c], 0x100
jmp 0x43f7a5
lea eax, [ebp + 8]
push eax
call fcn.00404037
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x43f6d5
push 0x3d
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
call fcn.00402bdd
mov eax, dword [ebp + 8]
cmp word [eax], 0x3d
mov esi, eax
jne 0x43f7f3
lea esi, [eax + 2]
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.0043060a
add esp, 0xc
mov eax, dword [ebp - 4]
cmp word [eax], bx
jne 0x43f805
mov ebx, 0x80070057
jmp 0x43fad3
cmp dword [ebp - 0xc], 2
jne 0x43f83b
push 2
lea ecx, [ebp - 4]
call fcn.0042e20b
mov eax, dword [ebp - 4]
push esi
push eax
mov word [eax + 2], 0x3a
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
test eax, eax
jne 0x43fad3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x43fad3
push edi
push dword [ebp - 8]
call fcn.0040dca1
call fcn.00434396
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [esp], 0x517
call fcn.0042e1e2
cmp dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x412]
mov dword [ebp - 0x38], ecx
lea edi, [eax + 0x61c]
jne 0x43fa26
mov word [ecx], bx
mov word [eax], bx
cmp word [esi], bx
je 0x43f8b9
mov dx, word [esi + 2]
cmp dx, bx
je 0x43f896
cmp dx, 0x3a
jne 0x43f8b9
cmp word [esi + 4], bx
jne 0x43f8b9
push 6
lea ecx, [ebp - 8]
call fcn.0042e20b
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov word [esi + 2], 0x3a
mov word [esi + 4], 0x5c
mov word [esi + 6], bx
push 0x104
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0x208
push eax
push esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x43f8ea
mov dword [ebp - 0x3c], ebx
jmp 0x43f8f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x24]
mov dword [ebp + 8], eax
call fcn.0042e1c4
lea ecx, [ebp - 0x20]
call fcn.0042e1c4
lea ecx, [ebp - 0x1c]
call fcn.0042e1c4
lea ecx, [ebp - 0x18]
call fcn.0042e1c4
lea ecx, [ebp - 0xc]
call fcn.0042e1c4
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
je 0x43f9a8
push 2
pop edi
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
je 0x43f9a8
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
je 0x43f9a8
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
je 0x43f9a8
add dword [ebp + 8], edi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
add esp, 0xc
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, esi
call fcn.0042cbf7
push str._08lX
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push esi
call fcn.004300ac
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push esi
call fcn.004300d6
push str.0x_lX
push dword [ebp - 0xc]
push dword [ebp - 0x34]
push esi
call fcn.004300ac
add esp, 0x2c
push dword [ebp - 0x38]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.0042cbf7
lea ecx, [ebp - 0xc]
call fcn.00428a48
lea ecx, [ebp - 0x18]
call fcn.00428a48
lea ecx, [ebp - 0x1c]
call fcn.00428a48
lea ecx, [ebp - 0x20]
call fcn.00428a48
lea ecx, [ebp - 0x24]
call fcn.00428a48
mov ebx, dword [ebp - 0x3c]
jmp 0x43faca
cmp word [esi], bx
mov byte [ebp + 0xb], 1
jne 0x43fa33
mov cl, 0x7c
jmp 0x43fa5a
push esi
push 0x48b01c
call fcn.0042999a
test al, al
pop ecx
pop ecx
jne 0x43fa58
push esi
push 0x48b018
call fcn.0042999a
test al, al
pop ecx
pop ecx
je 0x43fa7c
mov byte [ebp + 0xb], bl
mov cl, 0x20
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x34]
push eax
movsx eax, byte [ebp + 0xb]
push dword [ebp - 0x24]
push eax
movsx ax, cl
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004342a4
add esp, 0x14
jmp 0x43fabe
cmp word [esi + 2], 0x3a
jne 0x43fa8b
mov eax, esi
mov word [esi + 4], bx
jmp 0x43fabe
push edi
push 0x208
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 5
lea ecx, [ebp - 0x14]
call fcn.0042e20b
mov cx, word [edi]
mov eax, dword [ebp - 0x14]
mov word [eax], cx
mov word [eax + 2], 0x3a
mov word [eax + 4], bx
mov ecx, dword [ebp - 0x28]
push eax
push dword [ebp - 4]
call fcn.0042cbf7
lea ecx, [ebp - 0x10]
call fcn.00428a48
pop edi
lea ecx, [ebp - 0x14]
call fcn.00428a48
lea ecx, [ebp - 8]
call fcn.00428a48
lea ecx, [ebp - 4]
call fcn.00428a48
pop esi
mov eax, ebx
pop ebx
leave
ret 8