Function at 0x41d4b6
Capabilities:
Get hostname
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447048
mov eax, dword fs:[0]
push eax
mov eax, 0x3504
call fcn.0042d700
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x350c], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3510], esi
mov word [esi], ax
xor edi, edi
lea eax, [ebp - 0x3500]
inc edi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350c], edi
call fcn.0041d1bc
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00408db0
push ebx
push edi
lea ecx, [ebp - 0x3500]
mov byte [ebp - 4], bl
call fcn.00409e50
cmp dword [esi + 0x10], ebx
jne 0x41d725
lea eax, [ebp - 0x3500]
push eax
call fcn.0041d324
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00408db0
push ebx
push edi
lea ecx, [ebp - 0x3500]
mov byte [ebp - 4], bl
call fcn.00409e50
cmp dword [esi + 0x10], ebx
jne 0x41d725
lea eax, [ebp - 0x3500]
push eax
call fcn.0041d07e
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00408db0
push ebx
push edi
lea ecx, [ebp - 0x3500]
mov byte [ebp - 4], bl
call fcn.00409e50
cmp dword [esi + 0x10], ebx
jne 0x41d725
lea eax, [ebp - 0x210]
push str..PhysicalDrive0
push eax
call fcn.0042c37d
pop ecx
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3508], eax
cmp eax, 0xffffffff
je 0x41d6e2
push 0xc
lea eax, [ebp - 0x34e4]
push ebx
push eax
mov dword [ebp - 0x3504], ebx
call fcn.0042c3a0
mov edi, 0x2710
push edi
lea eax, [ebp - 0x34d8]
push ebx
push eax
mov dword [ebp - 0x34e4], ebx
mov dword [ebp - 0x34e0], ebx
call fcn.0042c3a0
add esp, 0x18
push ebx
lea eax, [ebp - 0x3504]
push eax
push edi
lea eax, [ebp - 0x34d8]
push eax
push 0xc
lea eax, [ebp - 0x34e4]
push eax
push 0x2d1400
push dword [ebp - 0x3508]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41d6d6
mov eax, dword [ebp - 0x34c0]
lea eax, [ebp + eax - 0x34d8]
push eax
call fcn.0041cdd6
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.0042d440
lea eax, [ebp - 0x5f8]
push eax
call fcn.0042c6c0
add esp, 0x10
test eax, eax
jne 0x41d6a5
mov eax, dword [ebp - 0x34c8]
lea eax, [ebp + eax - 0x34d8]
push eax
call fcn.0041cdd6
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.0042d440
add esp, 0xc
lea eax, [ebp - 0xdc8]
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.0041d005
lea eax, [ebp - 0xdc8]
push eax
call fcn.0042c331
add esp, 0xc
push eax
lea eax, [ebp - 0xdc8]
push eax
mov ecx, esi
call fcn.00408e30
push dword [ebp - 0x3508]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x10], ebx
jne 0x41d725
lea eax, [ebp - 0x3504]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x3504], 0xc8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x41d725
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c331
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
mov ecx, esi
call fcn.00408e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bea8
leave
ret