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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4c437c]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp dword [0x4c3a9c], 0xffffffff
jne 0x43e38c
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 0x43e38c
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 [0x4c3a9c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e381
lea ecx, [esp + 0x7c]
push str.WinNT
push ecx
call fcn.0046e4df
add esp, 8
test eax, eax
je 0x43e381
mov dword [0x4c3a9c], 0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
xor edi, edi
cmp dword [0x4eacd0], edi
jne 0x43e41d
push str.NETAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4eacd0], eax
cmp eax, edi
je 0x43e46f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NetStatisticsGet
push eax
call esi
mov dword [0x4eacd8], eax
mov eax, dword [0x4eacd0]
push str.NetApiBufferSize
push eax
call esi
mov ecx, dword [0x4eacd0]
push str.NetApiBufferFree
push ecx
mov dword [0x4eacdc], eax
call esi
mov dword [0x4eace0], eax
cmp dword [0x4eacd8], edi
je 0x43e400
cmp dword [0x4eacdc], edi
je 0x43e400
cmp eax, edi
jne 0x43e415
mov edx, dword [0x4eacd0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4eacd0], edi
jmp 0x43e46f
cmp dword [0x4eacd0], edi
je 0x43e46f
mov eax, str.LanmanWorkstation
cmp dword [0x4c3a9c], edi
jne 0x43e42f
mov eax, str.LanmanServer
lea ecx, [esp + 0xc]
push ecx
push edi
push edi
push eax
push edi
call dword [0x4eacd8]
test eax, eax
jne 0x43e46f
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
call dword [0x4eacdc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.0043e220
mov eax, dword [esp + 0x14]
add esp, 8
push eax
call dword [0x4eace0]
push ebp
push edi
lea ecx, [esp + 0x74]
push str..PhysicalDrive_d
push ecx
call fcn.0046c85c
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 0x43e519
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 0x43e4e4
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0043e220
add esp, 8
push esi
call ebx
inc edi
push edi
lea ecx, [esp + 0x78]
push str..PhysicalDrive_d
push ecx
call fcn.0046c85c
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 0x43e4b0
pop ebx
cmp dword [0x4eacd4], 0
pop ebp
je 0x43e54f
mov eax, dword [0x4ef058]
push 0x4eaa28
push 0x280
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x43e54f
push 0x280
push 0x4eaa28
call fcn.0043e220
add esp, 8
mov edx, 0x4eaa28
mov ecx, 0x280
mov esi, ecx
mov eax, edx
lea ecx, [ecx]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x43e560
pop edi
pop esi
jmp 0x43e570
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x43e570
call fcn.0043dfc0
mov ecx, dword [esp + 0x9c]
xor ecx, esp
mov eax, 1
call fcn.0046a1be
add esp, 0xa0
ret