Function at 0x140439110
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
test rdx, rdx
je 0x1404393c2
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov r14, rdx
mov r12, rcx
xor r13d, r13d
mov ebp, r13d
mov dword [rax + 0x10], r13d
mov eax, 0xffffffff
nop dword [rax]
mov r15d, r14d
cmp r14, rax
cmova r15d, eax
mov edx, r15d
mov rcx, r12
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14043937b
mov dword [rsp + 0x20], 4
mov r9d, 0x7d
lea r8, str.C:UsersShadowDownloads_sentry_native__1_externalcrashpad_third_partymini_chromiummini_chromium_base_rand_util.cc
lea rdx, str.void___cdecl_base::RandBytes_void__unsigned___int64_
lea rcx, [rsp + 0x40]
call fcn.140437f10
mov rdi, rax
or ebp, 1
mov dword [rsp + 0x178], ebp
mov esi, r13d
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov rbx, qword [rdx + rax + 0x28]
cmp rbx, 0x16
jl 0x1404391bb
add rbx, 0xffffffffffffffeb
jmp 0x1404391be
mov rbx, r13
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400c62e0
nop
cmp byte [rsp + 0x38], 0
jne 0x1404391dd
mov esi, 4
jmp 0x1404392f9
mov rdx, qword [rdi]
movsxd rax, dword [rdx + 4]
mov ecx, dword [rax + rdi + 0x18]
and ecx, 0x1c0
cmp ecx, 0x40
je 0x14043925d
test rbx, rbx
jle 0x14043925d
nop dword [rax + rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
movzx r8d, byte [rcx + rdi + 0x58]
mov rcx, qword [rcx + rdi + 0x48]
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140439240
mov rdx, qword [rcx + 0x58]
mov eax, dword [rdx]
test eax, eax
jle 0x140439240
dec eax
mov dword [rdx], eax
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov byte [rdx], r8b
mov eax, r8d
jmp 0x140439249
mov edx, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1404392e8
dec rbx
test rbx, rbx
jg 0x140439200
mov rdx, qword [rdi]
movsxd rax, dword [rdx + 4]
mov rcx, qword [rax + rdi + 0x48]
mov rax, qword [rcx]
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Check_failed:_success
call qword [rax + 0x48]
cmp rax, 0x15
jne 0x1404392e8
test rbx, rbx
jle 0x1404392ed
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
movzx r8d, byte [rcx + rdi + 0x58]
mov rcx, qword [rcx + rdi + 0x48]
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1404392d0
mov rdx, qword [rcx + 0x58]
mov eax, dword [rdx]
test eax, eax
jle 0x1404392d0
dec eax
mov dword [rdx], eax
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov byte [rdx], r8b
mov eax, r8d
jmp 0x1404392d9
mov edx, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1404392e8
dec rbx
test rbx, rbx
jg 0x140439290
jmp 0x1404392ed
mov esi, 4
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov qword [rcx + rdi + 0x28], r13
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
xor r8d, r8d
mov edx, esi
call fcn.1400c63b0
nop
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
cmp dword [rcx + rbx + 0x10], 0
jne 0x140439353
test byte [rcx + rbx + 0x18], 2
je 0x140439353
mov rcx, qword [rcx + rbx + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
jne 0x14043934e
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
xor r8d, r8d
lea edx, [r8 + 4]
call fcn.1400c63b0
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x48]
test rcx, rcx
je 0x14043936b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rdx, [0x14053c838]
mov rcx, rdi
call fcn.1400c90c0
nop
test bpl, 1
je 0x14043938e
and ebp, 0xfffffffe
lea rcx, [rsp + 0x40]
call fcn.140438120
mov eax, r15d
add r12, rax
sub r14, rax
mov eax, 0xffffffff
jne 0x140439150
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret