Function at 0x1002ad0c
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.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ad57
test byte [eax + 0x1c], 2
je 0x1002ad57
cmp byte [eax + 0x19], 5
jb 0x1002ad57
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cec
mov ecx, 0x10d
push dword [eax + 0x10]
call fcn.10006732
test ebx, ebx
jne 0x1002adac
push 2
pop edx
call fcn.100065f3
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b02b
test byte [eax + 0x1c], 1
je 0x1002b02b
cmp byte [eax + 0x19], 2
jb 0x1002b02b
push 0x10004b6c
push ecx
mov ecx, 0x10e
push dword [eax + 0x14]
mov edx, 0x10004cec
push dword [eax + 0x10]
call fcn.100067d2
jmp 0x1002b02b
cmp dword [ebp + 8], esi
jne 0x1002adef
push 2
pop edx
call fcn.100065f3
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b02b
test byte [eax + 0x1c], 1
je 0x1002b02b
cmp byte [eax + 0x19], 2
jb 0x1002b02b
push 0x10004b7c
push ecx
mov ecx, 0x10f
jmp 0x1002ad97
cmp dword [ebp + 0xc], esi
jne 0x1002ae35
push 2
pop edx
call fcn.100065f3
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b02b
test byte [eax + 0x1c], 1
je 0x1002b02b
cmp byte [eax + 0x19], 2
jb 0x1002b02b
push 0x10004b8c
push ecx
mov ecx, 0x110
jmp 0x1002ad97
cmp dword [ebp + 0x10], esi
jne 0x1002ae7b
push 2
pop edx
call fcn.100065f3
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b02b
test byte [eax + 0x1c], 1
je 0x1002b02b
cmp byte [eax + 0x19], 2
jb 0x1002b02b
push 0x10004b9c
push ecx
mov ecx, 0x111
jmp 0x1002ad97
push 0x10
pop edx
mov ecx, edi
call fcn.10024958
mov ebx, eax
test ebx, ebx
jne 0x1002aed5
push 2
pop edx
call fcn.100065f3
push 8
pop esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b02b
test byte [eax + 0x1c], 1
je 0x1002b02b
cmp byte [eax + 0x19], 2
jb 0x1002b02b
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cec
mov ecx, 0x112
push dword [eax + 0x10]
call fcn.10006732
jmp 0x1002b02b
push 8
pop edx
mov ecx, edi
call fcn.10024958
mov edi, eax
test edi, edi
jne 0x1002af45
push 2
pop edx
call fcn.100065f3
push 8
pop esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002af1e
test byte [eax + 0x1c], 1
je 0x1002af1e
cmp byte [eax + 0x19], 2
jb 0x1002af1e
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cec
mov ecx, 0x113
push dword [eax + 0x10]
call fcn.10006732
push 0x10
pop ecx
test ebx, ebx
je 0x1002b00d
mov eax, ebx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x1002af2b
mov edx, ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.1002498e
jmp 0x1002b010
push 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1002af97
push 2
pop edx
call fcn.100065f3
mov ecx, 0x8010001f
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002af1e
test byte [eax + 0x1c], 1
je 0x1002af1e
cmp byte [eax + 0x19], 2
jb 0x1002af1e
push ecx
push 0x10004bac
push ecx
mov ecx, 0x114
push dword [eax + 0x14]
mov edx, 0x10004cec
push dword [eax + 0x10]
call fcn.10006850
jmp 0x1002af1e
push 8
push edi
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1002afe5
push 2
pop edx
call fcn.100065f3
mov ecx, 0x8010001f
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002af1e
test byte [eax + 0x1c], 1
je 0x1002af1e
cmp byte [eax + 0x19], 2
jb 0x1002af1e
push ecx
push 0x10004bac
push ecx
mov ecx, 0x115
jmp 0x1002af85
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 0x1002af21
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1002b02b
push 8
mov eax, edi
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x1002b019
mov edx, edi
mov ecx, ebx
call fcn.1002498e
xor edx, edx
inc edx
call fcn.100065f3
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1002b064
test byte [ecx + 0x1c], 2
je 0x1002b064
cmp byte [ecx + 0x19], 5
jb 0x1002b064
push esi
push ecx
push dword [ecx + 0x14]
mov edx, 0x10004cec
push dword [ecx + 0x10]
mov ecx, 0x116
call fcn.1000677f
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc