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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp dword [0x4b1908], 0xffffffff
jne 0x44dccc
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 0x44dccc
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 [0x4b1908], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44dcc1
lea ecx, [esp + 0x7c]
push str.WinNT
push ecx
call fcn.0046b2c4
add esp, 8
test eax, eax
je 0x44dcc1
mov dword [0x4b1908], 0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
xor edi, edi
cmp dword [0x4df6c8], edi
jne 0x44dd5d
push str.NETAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4df6c8], eax
cmp eax, edi
je 0x44ddaf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NetStatisticsGet
push eax
call esi
mov dword [0x4df6d0], eax
mov eax, dword [0x4df6c8]
push str.NetApiBufferSize
push eax
call esi
mov ecx, dword [0x4df6c8]
push str.NetApiBufferFree
push ecx
mov dword [0x4df6d4], eax
call esi
mov dword [0x4df6d8], eax
cmp dword [0x4df6d0], edi
je 0x44dd40
cmp dword [0x4df6d4], edi
je 0x44dd40
cmp eax, edi
jne 0x44dd55
mov edx, dword [0x4df6c8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4df6c8], edi
jmp 0x44ddaf
cmp dword [0x4df6c8], edi
je 0x44ddaf
mov eax, str.LanmanWorkstation
cmp dword [0x4b1908], edi
jne 0x44dd6f
mov eax, str.LanmanServer
lea ecx, [esp + 0xc]
push ecx
push edi
push edi
push eax
push edi
call dword [0x4df6d0]
test eax, eax
jne 0x44ddaf
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
call dword [0x4df6d4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.0044db60
mov eax, dword [esp + 0x14]
add esp, 8
push eax
call dword [0x4df6d8]
push ebp
push edi
lea ecx, [esp + 0x74]
push str..PhysicalDrive_d
push ecx
call fcn.0046a534
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 0x44de59
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 0x44de24
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0044db60
add esp, 8
push esi
call ebx
inc edi
push edi
lea ecx, [esp + 0x78]
push str..PhysicalDrive_d
push ecx
call fcn.0046a534
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 0x44ddf0
pop ebx
cmp dword [0x4df6cc], 0
pop ebp
je 0x44de8f
mov eax, dword [0x4e2d98]
push 0x4df560
push 0x140
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x44de8f
push 0x140
push 0x4df560
call fcn.0044db60
add esp, 8
mov edx, 0x4df560
mov ecx, 0x140
mov esi, ecx
mov eax, edx
lea ecx, [ecx]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44dea0
pop edi
pop esi
jmp 0x44deb0
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44deb0
call fcn.0044d900
mov ecx, dword [esp + 0x9c]
xor ecx, esp
mov eax, 1
call fcn.00469f7b
add esp, 0xa0
ret