Function at 0x43db40
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496aad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b3094]
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.004046c0
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 0x43dd23
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 0x43dd16
cmp edx, 0x20
jne 0x43dce5
push 0
push 0
push 0x49b0d8
lea eax, [ebp - 0x3c]
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov esi, eax
test esi, esi
jne 0x43dc09
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 0x43dcc3
cmp esi, 0xc0000003
ja 0x43dc3c
je case.0x43dc5b.1073741815
cmp esi, 0x80000005
je 0x43dc35
cmp esi, 0x80000006
jne case.0x43dc5b.1073741815
mov eax, 0x12
jmp 0x43dcb4
mov eax, 0x6f
jmp 0x43dcb4
cmp esi, 0xc0000225
ja case.0x43dc5b.1073741815
je 0x43dca8
add esi, 0x3ffffff8
cmp esi, 0xfb
ja case.0x43dc5b.1073741815
movzx eax, byte [esi + 0x43dde4]
jmp dword [eax*4 + 0x43ddb8]
mov eax, 0xe
jmp 0x43dcb4
mov eax, 6
jmp 0x43dcb4
mov eax, 0x57
jmp 0x43dcb4
mov eax, 0x37
jmp 0x43dcb4
mov eax, 2
jmp 0x43dcb4
mov eax, 5
jmp 0x43dcb4
mov eax, 0x35
jmp 0x43dcb4
mov eax, 0x43
jmp 0x43dcb4
mov eax, 0x91
jmp 0x43dcb4
mov eax, 0x10b
jmp 0x43dcb4
mov eax, 0x490
jmp 0x43dcb4
mov eax, 0x32
push str.boost::filesystem::unique_path
push edi
push eax
call fcn.0043fa10
add esp, 0xc
test edi, edi
je 0x43dce0
mov eax, dword [edi + 8]
test al, 1
je 0x43dce0
cmp eax, 1
jne 0x43dd78
cmp dword [edi], 0
jne 0x43dd78
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 0x43dbb0
test edi, edi
je 0x43dd35
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.0042d6f2
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 0x43ddb2
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.0042398a
mov eax, esi
jmp 0x43dd5d