Function at 0x40f400
Capabilities:
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a662
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x4690f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xd6]
push eax
mov dword [ebp - 0x748], 0
call fcn.00431bc0
add esp, 0xc
lea eax, [ebp - 0x744]
push eax
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0x744], 0xc8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov eax, dword [0x46c8c8]
mov dword [ebp - 0x740], 0
test al, 1
jne 0x40f4be
or eax, 1
mov dword [0x46c8c8], eax
push ecx
push str.8A
push 4
push ecx
mov ecx, 0x46c89c
mov dword [ebp - 4], 0
call fcn.00418740
push 0x44f3a0
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x740]
push eax
push 0
push 0
push dword [0x46c8a0]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x266]
push eax
mov dword [ebp - 0x738], 1
call fcn.00431bc0
mov eax, dword [0x46c820]
add esp, 0xc
mov dword [ebp - 0x73c], 0xc8
test al, 1
jne 0x40f54e
or eax, 1
mov dword [0x46c820], eax
push ecx
push 0x459e20
push 0x21
push ecx
mov ecx, 0x46c700
mov dword [ebp - 4], 1
call fcn.00418740
push 0x44f3c0
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x734]
push eax
push dword [0x46c704]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [0x46c62c]
test al, 1
jne 0x40f5a5
or eax, 1
mov dword [0x46c62c], eax
push ecx
push 0x459e44
push 0x11
push ecx
mov ecx, 0x46c828
mov dword [ebp - 4], 2
call fcn.00418740
push 0x44f3e0
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x738]
push eax
push 0
push dword [0x46c82c]
push dword [ebp - 0x734]
call ebx
push dword [ebp - 0x734]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x330], ax
lea eax, [ebp - 0x32e]
push eax
call fcn.00431bc0
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x1a0], ax
lea eax, [ebp - 0x19e]
push eax
call fcn.00431bc0
mov eax, dword [0x46c94c]
add esp, 0x18
test al, 1
jne 0x40f654
or eax, 1
mov dword [0x46c94c], eax
push ecx
push str.3:___:_____8_2_245_
push 0x2f
push ecx
mov ecx, 0x46c7a4
mov dword [ebp - 4], 3
call fcn.00418740
push 0x44f400
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x734]
push eax
push dword [0x46c7a8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [0x46c70c]
mov dword [ebp - 0x73c], 0xc8
mov dword [ebp - 0x738], 1
test al, 1
jne 0x40f6bf
or eax, 1
mov dword [0x46c70c], eax
push ecx
push 0x459e88
push 0xb
push ecx
mov ecx, 0x46c7b0
mov dword [ebp - 4], 4
call fcn.00418740
push 0x44f420
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x738]
push eax
push 0
push dword [0x46c7b4]
push dword [ebp - 0x734]
call ebx
mov eax, dword [0x46c698]
mov dword [ebp - 0x73c], 0xc8
mov dword [ebp - 0x738], 1
test al, 1
jne 0x40f737
or eax, 1
mov dword [0x46c698], eax
push ecx
push 0x459e94
push 0x14
push ecx
mov ecx, 0x46c738
mov dword [ebp - 4], 5
call fcn.00418740
push 0x44f440
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x738]
push eax
push 0
push dword [0x46c73c]
push dword [ebp - 0x734]
call ebx
push dword [ebp - 0x734]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x46c65c]
test al, 1
jne 0x40f7a7
or eax, 1
mov dword [0x46c65c], eax
push ecx
push 0x459eac
push 0xf
push ecx
mov ecx, 0x46c840
mov dword [ebp - 4], 6
call fcn.00418740
push 0x44f460
call fcn.0042fb26
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 0x740]
lea eax, [ebp - 0x730]
push dword [0x46c844]
push 0x200
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0x20
mov word [esi], ax
cmp word [ebp - 0x730], ax
jne 0x40f804
xor ecx, ecx
jmp 0x40f81f
lea ecx, [ebp - 0x730]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f810
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x730]
push eax
mov ecx, esi
call fcn.004015d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f2dd
mov esp, ebp
pop ebp
ret