Function at 0x440250
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4992dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b50a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406280
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], esi
mov edx, 0x20
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x440433
mov ecx, dword [ebp - 0x24]
nop dword [eax + eax]
cmp ecx, 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
cmp word [eax + esi*2], 0x25
jne 0x440426
cmp edx, 0x20
jne 0x4403f5
push 0
push 0
push 0x49d530
lea eax, [ebp - 0x3c]
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov esi, eax
test esi, esi
jne 0x440319
push eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x3c]
call sub.bcrypt.dll_BCryptGenRandom
push 0
push dword [ebp - 0x3c]
mov esi, eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
test esi, esi
je 0x4403d3
cmp esi, 0xc0000003
ja 0x44034c
je case.0x44036b.1073741815
cmp esi, 0x80000005
je 0x440345
cmp esi, 0x80000006
jne case.0x44036b.1073741815
mov eax, 0x12
jmp 0x4403c4
mov eax, 0x6f
jmp 0x4403c4
cmp esi, 0xc0000225
ja case.0x44036b.1073741815
je 0x4403b8
add esi, 0x3ffffff8
cmp esi, 0xfb
ja case.0x44036b.1073741815
movzx eax, byte [esi + 0x4404f4]
jmp dword [eax*4 + 0x4404c8]
mov eax, 0xe
jmp 0x4403c4
mov eax, 6
jmp 0x4403c4
mov eax, 0x57
jmp 0x4403c4
mov eax, 0x37
jmp 0x4403c4
mov eax, 2
jmp 0x4403c4
mov eax, 5
jmp 0x4403c4
mov eax, 0x35
jmp 0x4403c4
mov eax, 0x43
jmp 0x4403c4
mov eax, 0x91
jmp 0x4403c4
mov eax, 0x10b
jmp 0x4403c4
mov eax, 0x490
jmp 0x4403c4
mov eax, 0x32
push str.boost::filesystem::unique_path
push edi
push eax
call fcn.00442120
add esp, 0xc
test edi, edi
je 0x4403f0
mov eax, dword [edi + 8]
test al, 1
je 0x4403f0
cmp eax, 1
jne 0x440488
cmp dword [edi], 0
jne 0x440488
mov esi, dword [ebp - 0x40]
xor edx, edx
mov eax, edx
mov ecx, edx
shr eax, 1
and ecx, 1
shl ecx, 2
inc edx
movsx eax, byte [ebp + eax - 0x20]
shr eax, cl
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae ecx, dword [ebp - 0x38]
and eax, 0xf
mov ax, word [eax*2 + str.0123456789abcdef]
mov word [ecx + esi*2], ax
mov ecx, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x40], esi
cmp esi, dword [ebp - 0x48]
jb 0x4402c0
test edi, edi
je 0x440445
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x44]
movups xmm0, xmmword [ebp - 0x38]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042feac
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x44]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 1
cmp eax, 8
jb 0x4404c2
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.00426ab1
mov eax, esi
jmp 0x44046d