Function at 0x44fb40
Capabilities:
Generate random numbers via winapi
Query or enumerate registry value

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp dword [0x4b5878], 0xffffffff
jne 0x44fbdc
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44fbdc
lea ecx, [esp]
push ecx
lea edx, [esp + 0x80]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ProductType
push eax
mov dword [esp + 0x18], 0x20
mov dword [0x4b5878], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44fbd1
lea ecx, [esp + 0x7c]
push str.WinNT
push ecx
call fcn.0046da19
add esp, 8
test eax, eax
je 0x44fbd1
mov dword [0x4b5878], 0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
xor edi, edi
cmp dword [0x4e0230], edi
jne 0x44fc6d
push str.NETAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4e0230], eax
cmp eax, edi
je 0x44fcbf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NetStatisticsGet
push eax
call esi
mov dword [0x4e0238], eax
mov eax, dword [0x4e0230]
push str.NetApiBufferSize
push eax
call esi
mov ecx, dword [0x4e0230]
push str.NetApiBufferFree
push ecx
mov dword [0x4e023c], eax
call esi
mov dword [0x4e0240], eax
cmp dword [0x4e0238], edi
je 0x44fc50
cmp dword [0x4e023c], edi
je 0x44fc50
cmp eax, edi
jne 0x44fc65
mov edx, dword [0x4e0230]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4e0230], edi
jmp 0x44fcbf
cmp dword [0x4e0230], edi
je 0x44fcbf
mov eax, str.LanmanWorkstation
cmp dword [0x4b5878], edi
jne 0x44fc7f
mov eax, str.LanmanServer
lea ecx, [esp + 0xc]
push ecx
push edi
push edi
push eax
push edi
call dword [0x4e0238]
test eax, eax
jne 0x44fcbf
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
call dword [0x4e023c]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.0044fa70
mov eax, dword [esp + 0x14]
add esp, 8
push eax
call dword [0x4e0240]
push ebp
push edi
lea ecx, [esp + 0x74]
push str..PhysicalDrive_d
push ecx
call fcn.0046beeb
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0xc
push edi
push edi
push 3
push edi
push 3
push edi
lea edx, [esp + 0x88]
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x44fd69
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
push 0
lea eax, [esp + 0x14]
push eax
push 0x58
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0x70020
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44fd34
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0044fa70
add esp, 8
push esi
call ebx
inc edi
push edi
lea ecx, [esp + 0x78]
push str..PhysicalDrive_d
push ecx
call fcn.0046beeb
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [esp + 0x8c]
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x44fd00
pop ebx
cmp dword [0x4e0234], 0
pop ebp
je 0x44fd9f
mov eax, dword [0x4e3938]
push 0x4e00c8
push 0x140
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x44fd9f
push 0x140
push 0x4e00c8
call fcn.0044fa70
add esp, 8
mov edx, 0x4e00c8
mov ecx, 0x140
mov esi, ecx
mov eax, edx
lea ecx, [ecx]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44fdb0
pop edi
pop esi
jmp 0x44fdc0
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44fdc0
call fcn.0044f810
mov ecx, dword [esp + 0x9c]
xor ecx, esp
mov eax, 1
call fcn.0046be7b
add esp, 0xa0
ret