Function at 0x423d70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0xffffffff
mov byte [esp + 0x20], 0
mov edi, dword [ecx + 0x14]
mov eax, edi
test edi, edi
je 0x423e5b
cmp byte [eax + 0x30], 0
jne 0x423fe9
mov eax, dword [ebp + 0xc]
test edi, edi
je 0x423eb8
mov ecx, dword [edi + 0x14]
mov bl, byte [edi + 0x31]
lea edx, [esp + 0x20]
movzx ebx, bl
push eax
push edx
push ebx
push 1
mov dword [esp + 0x18], ecx
push ecx
push dword [edi + 8]
push dword [esi + 0x34]
call fcn.00424170
add esp, 0x1c
test eax, eax
jne 0x424125
mov eax, dword [esi + 0x14]
test eax, eax
mov ecx, dword [esp + 8]
je 0x423f27
mov edi, dword [eax + 0x58]
test edi, edi
jne 0x42412f
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423f88
push edi
lea edx, [esp + 0x24]
push edx
push ebx
push 0
push ecx
push dword [eax + 0xc]
push dword [esi + 0x34]
call fcn.00424170
add esp, 0x1c
test eax, eax
mov edi, 0x35
cmove edi, eax
cmp byte [esp + 0x20], 0
jne 0x424057
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00496ce3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x423dad
push 0x60
call fcn.00494aa6
add esp, 4
mov dword [eax], 0x4ff290
mov byte [eax + 4], 0
movdqa xmm0, xmmword [0x5050c0]
movdqu xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 7
pxor xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
xor ecx, ecx
mov dword [eax + 0x2f], ecx
mov byte [eax + 0x33], 1
movdqu xmmword [eax + 0x34], xmm0
movdqu xmmword [eax + 0x44], xmm0
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
mov dword [esi + 0x10], eax
jmp 0x423dad
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x423dc2
push 0x60
call fcn.00494aa6
add esp, 4
mov dword [eax], 0x4ff290
mov byte [eax + 4], 0
movdqa xmm0, xmmword [0x5050c0]
movdqu xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 7
pxor xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
xor ebx, ebx
mov dword [eax + 0x2f], ebx
mov byte [eax + 0x33], 1
movdqu xmmword [eax + 0x34], xmm0
movdqu xmmword [eax + 0x44], xmm0
mov dword [eax + 0x58], ebx
mov dword [eax + 0x54], ebx
mov dword [esi + 0x10], eax
test eax, eax
je 0x424075
mov edi, eax
mov ecx, 7
mov eax, dword [ebp + 0xc]
jmp 0x423dc5
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x423dfe
push 0x60
call fcn.00494aa6
add esp, 4
mov dword [eax], 0x4ff290
mov byte [eax + 4], 0
movdqa xmm0, xmmword [0x5050c0]
movdqu xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 7
pxor xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
xor ecx, ecx
mov dword [eax + 0x2f], ecx
mov byte [eax + 0x33], 1
movdqu xmmword [eax + 0x34], xmm0
movdqu xmmword [eax + 0x44], xmm0
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x10], eax
jmp 0x423dfe
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x423e17
push 0x60
call fcn.00494aa6
add esp, 4
mov dword [eax], 0x4ff290
mov byte [eax + 4], 0
movdqa xmm0, xmmword [0x5050c0]
movdqu xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 7
pxor xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
xor ecx, ecx
mov dword [eax + 0x2f], ecx
mov byte [eax + 0x33], 1
movdqu xmmword [eax + 0x34], xmm0
movdqu xmmword [eax + 0x44], xmm0
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x10], eax
jmp 0x423e17
mov word [esp + 0x3c], 0
mov dword [esp + 0x38], 0
pxor xmm0, xmm0
lea ebx, [esp + 0x40]
movdqa xmmword [ebx], xmm0
push 0x10
push ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x424163
lea edi, [esp + 0xc]
lea edx, [esp + 0x38]
mov ecx, edi
push ebx
push 4
call fcn.0041ca70
add esp, 8
cmp byte [edi], 0
je 0x424166
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x20], 1
mov edi, dword [esi + 0x14]
jmp 0x423db7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x423e44
mov dword [esp + 0x28], eax
push eax
call fcn.00494aa1
add esp, 4
jmp 0x423e44
push 0x60
call fcn.00494aa6
movdqa xmm0, xmmword [0x5050c0]
add esp, 4
mov dword [eax], 0x4ff290
mov byte [eax + 4], 0
movdqu xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 7
xorps xmm1, xmm1
movups xmmword [eax + 0x20], xmm1
mov dword [eax + 0x2f], ebx
mov byte [eax + 0x33], 1
movups xmmword [eax + 0x34], xmm1
movups xmmword [eax + 0x44], xmm1
mov dword [eax + 0x58], ebx
mov dword [eax + 0x54], ebx
mov dword [esi + 0x10], eax
mov ecx, 7
test eax, eax
je 0x4240cf
mov edi, eax
mov eax, dword [ebp + 0xc]
jmp 0x423dc8
push 0x60
call fcn.00494aa6
mov ecx, 7
add esp, 4
mov edi, eax
mov dword [eax], 0x4ff290
mov byte [eax + 4], 0
movdqa xmm0, xmmword [0x5050c0]
movdqu xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 7
pxor xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
xor ebx, ebx
mov dword [eax + 0x2f], ebx
mov byte [eax + 0x33], 1
movdqu xmmword [eax + 0x34], xmm0
movdqu xmmword [eax + 0x44], xmm0
mov dword [eax + 0x58], ebx
mov dword [eax + 0x54], ebx
mov dword [esi + 0x10], eax
jmp 0x4240c7
mov edi, 0x31
jmp 0x423e39
mov ecx, edi
call fcn.004ef080
mov ecx, dword [esp + 8]
cmp eax, 3
jne 0x423e09
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004ee790
mov ecx, dword [esp + 8]
mov edi, eax
test eax, eax
jne 0x423e39
jmp 0x423e09
int3
mov edi, 0x31
jmp 0x423e44