Function at 0x43cb00
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e8ed
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ba094]
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.00404640
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 0x43cce3
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 0x43ccd6
cmp edx, 0x20
jne 0x43cca5
push 0
push 0
push 0x4a30d8
lea eax, [ebp - 0x3c]
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov esi, eax
test esi, esi
jne 0x43cbc9
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 0x43cc83
cmp esi, 0xc0000003
ja 0x43cbfc
je case.0x43cc1b.1073741815
cmp esi, 0x80000005
je 0x43cbf5
cmp esi, 0x80000006
jne case.0x43cc1b.1073741815
mov eax, 0x12
jmp 0x43cc74
mov eax, 0x6f
jmp 0x43cc74
cmp esi, 0xc0000225
ja case.0x43cc1b.1073741815
je 0x43cc68
add esi, 0x3ffffff8
cmp esi, 0xfb
ja case.0x43cc1b.1073741815
movzx eax, byte [esi + 0x43cda4]
jmp dword [eax*4 + 0x43cd78]
mov eax, 0xe
jmp 0x43cc74
mov eax, 6
jmp 0x43cc74
mov eax, 0x57
jmp 0x43cc74
mov eax, 0x37
jmp 0x43cc74
mov eax, 2
jmp 0x43cc74
mov eax, 5
jmp 0x43cc74
mov eax, 0x35
jmp 0x43cc74
mov eax, 0x43
jmp 0x43cc74
mov eax, 0x91
jmp 0x43cc74
mov eax, 0x10b
jmp 0x43cc74
mov eax, 0x490
jmp 0x43cc74
mov eax, 0x32
push str.boost::filesystem::unique_path
push edi
push eax
call fcn.0043e9d0
add esp, 0xc
test edi, edi
je 0x43cca0
mov eax, dword [edi + 8]
test al, 1
je 0x43cca0
cmp eax, 1
jne 0x43cd38
cmp dword [edi], 0
jne 0x43cd38
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 0x43cb70
test edi, edi
je 0x43ccf5
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.0042c665
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 0x43cd72
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.004228fe
mov eax, esi
jmp 0x43cd1d