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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446efe
mov eax, dword fs:[0]
push eax
mov eax, 0x3504
call fcn.0042d5e0
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.0041d0b4
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 0x41d61d
lea eax, [ebp - 0x3500]
push eax
call fcn.0041d21c
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 0x41d61d
lea eax, [ebp - 0x3500]
push eax
call fcn.0041cf76
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 0x41d61d
lea eax, [ebp - 0x210]
push str..PhysicalDrive0
push eax
call fcn.0042c25d
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 0x41d5da
push 0xc
lea eax, [ebp - 0x34e4]
push ebx
push eax
mov dword [ebp - 0x3504], ebx
call fcn.0042c280
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.0042c280
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 0x41d5ce
mov eax, dword [ebp - 0x34c0]
lea eax, [ebp + eax - 0x34d8]
push eax
call fcn.0041ccce
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.0042d320
lea eax, [ebp - 0x5f8]
push eax
call fcn.0042c5a0
add esp, 0x10
test eax, eax
jne 0x41d59d
mov eax, dword [ebp - 0x34c8]
lea eax, [ebp + eax - 0x34d8]
push eax
call fcn.0041ccce
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.0042d320
add esp, 0xc
lea eax, [ebp - 0xdc8]
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.0041cefd
lea eax, [ebp - 0xdc8]
push eax
call fcn.0042c211
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 0x41d61d
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 0x41d61d
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c211
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.0042bd88
leave
ret