Function at 0x1002a8e3
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
xor edx, edx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
xor esi, esi
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002a92e
test byte [eax + 0x1c], 2
je 0x1002a92e
cmp byte [eax + 0x19], 5
jb 0x1002a92e
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cfc
mov ecx, 0x10d
push dword [eax + 0x10]
call fcn.10006760
test ebx, ebx
jne 0x1002a983
push 2
pop edx
call fcn.10006623
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ac02
test byte [eax + 0x1c], 1
je 0x1002ac02
cmp byte [eax + 0x19], 2
jb 0x1002ac02
push 0x10004b7c
push ecx
mov ecx, 0x10e
push dword [eax + 0x14]
mov edx, 0x10004cfc
push dword [eax + 0x10]
call fcn.10006800
jmp 0x1002ac02
cmp dword [ebp + 8], esi
jne 0x1002a9c6
push 2
pop edx
call fcn.10006623
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ac02
test byte [eax + 0x1c], 1
je 0x1002ac02
cmp byte [eax + 0x19], 2
jb 0x1002ac02
push 0x10004b8c
push ecx
mov ecx, 0x10f
jmp 0x1002a96e
cmp dword [ebp + 0xc], esi
jne 0x1002aa0c
push 2
pop edx
call fcn.10006623
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ac02
test byte [eax + 0x1c], 1
je 0x1002ac02
cmp byte [eax + 0x19], 2
jb 0x1002ac02
push 0x10004b9c
push ecx
mov ecx, 0x110
jmp 0x1002a96e
cmp dword [ebp + 0x10], esi
jne 0x1002aa52
push 2
pop edx
call fcn.10006623
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ac02
test byte [eax + 0x1c], 1
je 0x1002ac02
cmp byte [eax + 0x19], 2
jb 0x1002ac02
push 0x10004bac
push ecx
mov ecx, 0x111
jmp 0x1002a96e
push 0x10
pop edx
mov ecx, edi
call fcn.1002469f
mov ebx, eax
test ebx, ebx
jne 0x1002aaac
push 2
pop edx
call fcn.10006623
push 8
pop esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ac02
test byte [eax + 0x1c], 1
je 0x1002ac02
cmp byte [eax + 0x19], 2
jb 0x1002ac02
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cfc
mov ecx, 0x112
push dword [eax + 0x10]
call fcn.10006760
jmp 0x1002ac02
push 8
pop edx
mov ecx, edi
call fcn.1002469f
mov edi, eax
test edi, edi
jne 0x1002ab1c
push 2
pop edx
call fcn.10006623
push 8
pop esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002aaf5
test byte [eax + 0x1c], 1
je 0x1002aaf5
cmp byte [eax + 0x19], 2
jb 0x1002aaf5
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cfc
mov ecx, 0x113
push dword [eax + 0x10]
call fcn.10006760
push 0x10
pop ecx
test ebx, ebx
je 0x1002abe4
mov eax, ebx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x1002ab02
mov edx, ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.100246b7
jmp 0x1002abe7
push 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1002ab6e
push 2
pop edx
call fcn.10006623
mov ecx, 0x8010001f
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002aaf5
test byte [eax + 0x1c], 1
je 0x1002aaf5
cmp byte [eax + 0x19], 2
jb 0x1002aaf5
push ecx
push 0x10004bbc
push ecx
mov ecx, 0x114
push dword [eax + 0x14]
mov edx, 0x10004cfc
push dword [eax + 0x10]
call fcn.1000687c
jmp 0x1002aaf5
push 8
push edi
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1002abbc
push 2
pop edx
call fcn.10006623
mov ecx, 0x8010001f
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002aaf5
test byte [eax + 0x1c], 1
je 0x1002aaf5
cmp byte [eax + 0x19], 2
jb 0x1002aaf5
push ecx
push 0x10004bbc
push ecx
mov ecx, 0x115
jmp 0x1002ab5c
mov eax, dword [ebp - 8]
push 0x10
pop ecx
mov byte [edi + 7], 0x80
mov dword [eax], ebx
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [eax], 8
jmp 0x1002aaf8
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1002ac02
push 8
mov eax, edi
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x1002abf0
mov edx, edi
mov ecx, ebx
call fcn.100246b7
xor edx, edx
inc edx
call fcn.10006623
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1002ac3b
test byte [ecx + 0x1c], 2
je 0x1002ac3b
cmp byte [ecx + 0x19], 5
jb 0x1002ac3b
push esi
push ecx
push dword [ecx + 0x14]
mov edx, 0x10004cfc
push dword [ecx + 0x10]
mov ecx, 0x116
call fcn.100067ad
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc