Function at 0x474c50
Capabilities:
Generate random numbers via winapi
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.004755e0
push dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x128]
push eax
call fcn.00475110
lea eax, [ebp - 0x128]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
mov edi, eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp - 0x14]
xor ecx, ecx
xor eax, edi
or ecx, esi
mov dword [ebp - 0x10], eax
xor ecx, ebx
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x128]
push eax
call fcn.00475110
push 0x3c
lea eax, [ebp - 0x164]
mov dword [ebp - 0x58], 0
push 0
push eax
mov dword [ebp - 0x168], 0x40
call fcn.004a5940
add esp, 0xc
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x474d93
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
xor eax, dword [ebp - 0x158]
push dword [ebp - 0x14]
xor edx, dword [ebp - 0x154]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0xc], edx
call fcn.00475110
lea eax, [ebp - 0x128]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
xor eax, dword [ebp - 0x148]
push dword [ebp - 0x14]
xor edx, dword [ebp - 0x144]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0xc], edx
call fcn.00475110
mov dword [ebp - 0x58], 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x474de1
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
xor eax, dword [ebp - 0x30]
push dword [ebp - 0x14]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0xc], edx
call fcn.00475110
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimes]
test eax, eax
je 0x474ebb
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
xor ecx, ecx
or ecx, dword [ebp - 0x38]
xor esi, edx
xor ecx, eax
mov dword [ebp - 0xc], esi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00475110
lea eax, [ebp - 0x128]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
xor ecx, ecx
or ecx, dword [ebp - 0x40]
xor esi, edx
xor ecx, eax
mov dword [ebp - 0xc], esi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00475110
lea eax, [ebp - 0x128]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x44]
xor ecx, ecx
or ecx, dword [ebp - 0x48]
xor esi, edx
xor ecx, eax
mov dword [ebp - 0xc], esi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00475110
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x474f03
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
xor eax, dword [ebp - 0x50]
push dword [ebp - 0x14]
xor edx, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0xc], edx
call fcn.00475110
mov dword [ebp - 0x58], 0
push 0xf0000040
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x474f7f
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push 8
push dword [ebp - 0x14]
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x474f74
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
xor eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x1c], edx
call fcn.00475110
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x28]
call fcn.00475320
call fcn.00475190
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret