Function at 0x1002ad1b
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.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002ad66
test byte [eax + 0x1c], 2
je 0x1002ad66
cmp byte [eax + 0x19], 5
jb 0x1002ad66
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cec
mov ecx, 0x10d
push dword [eax + 0x10]
call fcn.10006750
test ebx, ebx
jne 0x1002adbb
push 2
pop edx
call fcn.10006613
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b03a
test byte [eax + 0x1c], 1
je 0x1002b03a
cmp byte [eax + 0x19], 2
jb 0x1002b03a
push 0x10004b6c
push ecx
mov ecx, 0x10e
push dword [eax + 0x14]
mov edx, 0x10004cec
push dword [eax + 0x10]
call fcn.100067f0
jmp 0x1002b03a
cmp dword [ebp + 8], esi
jne 0x1002adfe
push 2
pop edx
call fcn.10006613
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b03a
test byte [eax + 0x1c], 1
je 0x1002b03a
cmp byte [eax + 0x19], 2
jb 0x1002b03a
push 0x10004b7c
push ecx
mov ecx, 0x10f
jmp 0x1002ada6
cmp dword [ebp + 0xc], esi
jne 0x1002ae44
push 2
pop edx
call fcn.10006613
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b03a
test byte [eax + 0x1c], 1
je 0x1002b03a
cmp byte [eax + 0x19], 2
jb 0x1002b03a
push 0x10004b8c
push ecx
mov ecx, 0x110
jmp 0x1002ada6
cmp dword [ebp + 0x10], esi
jne 0x1002ae8a
push 2
pop edx
call fcn.10006613
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b03a
test byte [eax + 0x1c], 1
je 0x1002b03a
cmp byte [eax + 0x19], 2
jb 0x1002b03a
push 0x10004b9c
push ecx
mov ecx, 0x111
jmp 0x1002ada6
push 0x10
pop edx
mov ecx, edi
call fcn.10024a26
mov ebx, eax
test ebx, ebx
jne 0x1002aee4
push 2
pop edx
call fcn.10006613
push 8
pop esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b03a
test byte [eax + 0x1c], 1
je 0x1002b03a
cmp byte [eax + 0x19], 2
jb 0x1002b03a
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cec
mov ecx, 0x112
push dword [eax + 0x10]
call fcn.10006750
jmp 0x1002b03a
push 8
pop edx
mov ecx, edi
call fcn.10024a26
mov edi, eax
test edi, edi
jne 0x1002af54
push 2
pop edx
call fcn.10006613
push 8
pop esi
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002af2d
test byte [eax + 0x1c], 1
je 0x1002af2d
cmp byte [eax + 0x19], 2
jb 0x1002af2d
push ecx
push dword [eax + 0x14]
mov edx, 0x10004cec
mov ecx, 0x113
push dword [eax + 0x10]
call fcn.10006750
push 0x10
pop ecx
test ebx, ebx
je 0x1002b01c
mov eax, ebx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x1002af3a
mov edx, ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.10024a3e
jmp 0x1002b01f
push 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1002afa6
push 2
pop edx
call fcn.10006613
mov ecx, 0x8010001f
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002af2d
test byte [eax + 0x1c], 1
je 0x1002af2d
cmp byte [eax + 0x19], 2
jb 0x1002af2d
push ecx
push 0x10004bac
push ecx
mov ecx, 0x114
push dword [eax + 0x14]
mov edx, 0x10004cec
push dword [eax + 0x10]
call fcn.1000686c
jmp 0x1002af2d
push 8
push edi
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1002aff4
push 2
pop edx
call fcn.10006613
mov ecx, 0x8010001f
mov esi, ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002af2d
test byte [eax + 0x1c], 1
je 0x1002af2d
cmp byte [eax + 0x19], 2
jb 0x1002af2d
push ecx
push 0x10004bac
push ecx
mov ecx, 0x115
jmp 0x1002af94
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 0x1002af30
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1002b03a
push 8
mov eax, edi
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x1002b028
mov edx, edi
mov ecx, ebx
call fcn.10024a3e
xor edx, edx
inc edx
call fcn.10006613
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1002b073
test byte [ecx + 0x1c], 2
je 0x1002b073
cmp byte [ecx + 0x19], 5
jb 0x1002b073
push esi
push ecx
push dword [ecx + 0x14]
mov edx, 0x10004cec
push dword [ecx + 0x10]
mov ecx, 0x116
call fcn.1000679d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc