Function at 0x14006ae10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
push rbp
push r12
sub rsp, 0xa8
mov qword [rax + 8], rbx
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov rdi, r8
mov qword [rax - 0x38], r15
mov rax, qword [0x1401296a8]
xor bl, bl
xor sil, sil
mov r8d, 0xa
mov r15, rcx
xor ecx, ecx
mov r13, rdx
movzx edx, r8w
xor r14b, r14b
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 0xffffffff
mov ebp, ecx
mov qword [rsp + 0x38], rcx
mov qword [0x1401296a8], rcx
lea r12d, [rcx + 1]
mov word [rsp + 0x30], dx
mov byte [0x14012976a], cl
mov byte [0x140129769], cl
mov byte [0x140129768], cl
mov dword [0x140129764], ecx
mov byte [rsp + 0xd8], cl
mov byte [rsp + 0x33], bl
mov byte [rsp + 0x34], cl
mov byte [rsp + 0xd0], sil
mov byte [rsp + 0x32], cl
cmp word [rdi], cx
je 0x14006b0e7
lea rbx, [0x140000000]
movzx ecx, word [rdi]
call fcn.1400d9924
movzx edx, ax
add edx, 0xffffffbd
cmp edx, 0x19
ja case.0x14006aeec.76
movsxd rax, edx
movzx eax, byte [rbx + rax + 0x6bb20]
mov ecx, dword [rbx + rax*4 + 0x6baf8]
add rcx, rbx
jmp rcx
movzx ebx, word [rdi + 2]
lea rsi, [rdi + 2]
test ebx, 0xffffff80
jne 0x14006af11
mov edx, 2
mov ecx, ebx
call fcn.1400d79f4
test eax, eax
je 0x14006af11
and ebx, 0xffffffdf
movzx edx, word [rsp + 0x30]
cmp bx, 0x4c
lea rbx, [0x140000000]
jne 0x14006af3a
mov rdi, rsi
movzx esi, byte [rsp + 0xd0]
mov byte [0x14012976a], 2
jmp 0x14006b0d2
movzx esi, byte [rsp + 0xd0]
mov byte [0x14012976a], r12b
jmp 0x14006b0d2
cmp word [rdi + 2], bp
lea rax, [rdi + 2]
je case.0x14006aeec.76
mov rdi, rax
movzx eax, word [rax]
test ax, ax
je case.0x14006aeec.76
movzx edx, ax
mov word [rsp + 0x30], ax
jmp 0x14006b0d2
lea r10, [rdi + 2]
nop dword [rax]
movzx eax, word [r10]
cmp ax, 0x20
je 0x14006af90
cmp ax, 9
jne 0x14006af96
add r10, 2
jmp 0x14006af80
movzx edx, word [r10]
mov rdi, r10
test dx, dx
je 0x14006afdf
nop word [rax + rax]
lea rcx, [0x1400f5b90]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x14006aff3
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14006afc0
movzx edx, word [rdi + 2]
add rdi, 2
test dx, dx
jne 0x14006afb0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r10
repne scasw ax, word [rdi]
not rcx
lea rdi, [r10 + rcx*2 - 2]
mov r8, rdi
lea rcx, [0x14012c5c0]
xor r9d, r9d
sub r8, r10
mov rdx, r10
sar r8, 1
call fcn.14003a020
mov qword [0x1401296a8], rax
test rax, rax
je 0x14006ba28
cmp byte [rax + 0x5d], bpl
jne 0x14006ba28
mov ecx, dword [rax + 0x20]
cmp ecx, 2
jl 0x14006ba28
cmp ecx, 3
jg 0x14006ba28
mov rcx, qword [rax + 0x18]
cmp word [rcx + 8], bp
jne 0x14006ba28
cmp word [rcx + 0x20], bp
jne 0x14006ba28
add rdi, 0xfffffffffffffffe
jmp case.0x14006aeec.76
mov byte [0x140129769], r12b
jmp case.0x14006aeec.76
lea rcx, [rdi + 2]
call fcn.1400d6ef0
cmp eax, r12d
cmovl eax, r12d
dec eax
mov dword [0x140129764], eax
jmp case.0x14006aeec.76
lea rdx, [0x1400f4488]
mov r8d, 6
mov rcx, rdi
call fcn.1400d7250
movzx edx, word [rsp + 0x30]
test eax, eax
jne 0x14006b0ae
movzx esi, r12b
mov byte [rsp + 0xd0], r12b
add rdi, 0xa
jmp 0x14006b0d2
mov byte [0x140129768], r12b
jmp 0x14006b0d2
mov byte [rsp + 0x32], r12b
mov dword [rsp + 0x40], ebp
jmp case.0x14006aeec.76
movzx r14d, r12b
jmp case.0x14006aeec.76
mov byte [rsp + 0x34], r12b
movzx edx, word [rsp + 0x30]
add rdi, 2
cmp word [rdi], bp
jne 0x14006aec0
xor bl, bl
mov r8d, 0xa
movzx ecx, word [r13]
test cx, cx
je 0x14006ba28
mov rbp, qword [0x14012a950]
mov qword [rsp + 0x68], rbp
movzx eax, byte [rbp + 0x23]
test al, al
jne 0x14006b111
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x23]
cmp al, 2
ja 0x14006ba23
mov rdi, r12
mov rax, r13
nop
cmp cx, dx
jne 0x14006b128
inc rdi
movzx ecx, word [rax + 2]
add rax, 2
test cx, cx
jne 0x14006b120
mov r12, rax
sub r12, r13
sar r12, 1
test r14b, r14b
jne 0x14006b15b
cmp rax, r13
jbe 0x14006b15b
cmp word [rax - 2], dx
jne 0x14006b15b
mov byte [rsp + 0xd8], 1
dec rdi
jmp 0x14006b18a
cmp dx, 0xa
jne 0x14006b18a
mov edx, r8d
mov rcx, r13
call fcn.1400d7d64
test rax, rax
je 0x14006b18a
cmp rax, r13
jbe 0x14006b18a
cmp word [rax - 2], 0xd
jne 0x14006b18a
mov bl, 1
mov byte [rsp + 0x33], bl
mov byte [rsp + 0xd8], bl
cmp rdi, 1
jne 0x14006b1ae
xor r9d, r9d
mov r8, r12
mov rdx, r13
mov rcx, rbp
mov byte [rsp + 0x20], dil
call fcn.1400bd640
mov r12d, eax
jmp 0x14006ba23
cmp qword [0x1401296a8], 0
jne 0x14006b1c0
test bl, bl
je 0x14006b245
lea rcx, [r12 + r12 + 6]
call fcn.1400d6f08
mov r14, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14006b1fb
lea r9, [0x1400f1524]
lea rdx, [0x1400f5a40]
xor r8d, r8d
mov rcx, r15
call fcn.14004e200
mov rbp, r14
mov r12d, eax
jmp 0x14006ba28
lea rbx, [r12 + r12]
mov rdx, r13
mov rcx, rax
lea r8, [rbx + 2]
call fcn.1400d7a30
cmp byte [rsp + 0x33], 0
mov r13, r14
je 0x14006b245
lea rcx, [0x1400fe358]
sub rbx, rcx
lea rdx, [rbx + r14]
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x14006b230
add r12, 2
xor eax, eax
test sil, sil
lea rcx, [rdi + 1]
setne al
inc eax
cdqe
lea rbx, [rax*8]
mov qword [rsp + 0x60], rbx
imul rcx, rbx
call fcn.1400d6f08
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14006b299
lea r9, [0x1400f1524]
lea rdx, [0x1400f5a40]
xor r8d, r8d
mov rcx, r15
call fcn.14004e200
mov r12d, eax
jmp 0x14006ba23
mov rdx, qword [0x140129940]
movzx r15d, byte [rsp + 0xd0]
xor ecx, ecx
mov qword [rax], r13
mov rdi, rax
mov r14d, ecx
mov qword [rsp + 0x48], rcx
cmp word [r13], cx
je 0x14006b353
movzx eax, word [rsp + 0x30]
nop dword [rax]
cmp word [r13], ax
jne 0x14006b342
inc r14
mov word [r13], cx
test r15b, r15b
je 0x14006b333
dec dword [0x140124b24]
jne 0x14006b2f8
call fcn.140023cf0
mov rdx, qword [0x140129940]
mov ecx, dword [rdx]
add rdx, 4
mov eax, ecx
mov qword [0x140129940], rdx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
xor ecx, ecx
mov qword [rdi + 8], rax
lea rax, [r13 + 2]
add rdi, rbx
mov qword [rdi], rax
movzx eax, word [rsp + 0x30]
add r13, 2
cmp word [r13], 0
jne 0x14006b2d0
mov qword [rsp + 0x48], r14
cmp byte [rsp + 0xd8], 0
jne 0x14006b3b7
inc r14
mov qword [rsp + 0x48], r14
test r15b, r15b
je 0x14006b3b7
dec dword [0x140124b24]
jne 0x14006b37e
call fcn.140023cf0
mov rdx, qword [0x140129940]
mov ecx, dword [rdx]
add rdx, 4
mov eax, ecx
mov qword [0x140129940], rdx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
mov qword [rdi + 8], rax
cmp qword [0x1401296a8], 0
je 0x14006b3ca
lea r9, [0x14006a550]
jmp 0x14006b3ef
test r15b, r15b
je 0x14006b3d8
lea r9, [0x14006a540]
jmp 0x14006b3ef
cmp byte [rsp + 0x34], 0
lea r9, [0x14006a310]
lea rax, [0x14006a490]
cmovne r9, rax
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1400d8c70
movzx ecx, byte [rbp + 0x23]
mov r10d, reloc.OLEAUT32.DLL_SafeArrayGetDim
test cl, cl
jne 0x14006b426
mov rcx, qword [rbp + 0x10]
xor r9d, r9d
mov r8, r12
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400bd640
jmp 0x14006b74b
mov sil, 1
movzx edx, sil
cmp r12, 0xffffffffffffffff
jne 0x14006b43d
xor dl, dl
xor r13d, r13d
mov r12d, r13d
jmp 0x14006b443
xor sil, sil
xor r13d, r13d
lea rax, [r12 + 1]
lea rbx, [rax + rax]
cmp cl, 2
jne 0x14006b487
test sil, sil
je 0x14006b46a
lea rcx, [0x1400f1524]
mov rdx, r12
call fcn.140006da0
jmp 0x14006b74b
lea rcx, [0x14012d228]
mov rdx, rax
call fcn.140006e60
mov edx, r13d
test rax, rax
setne dl
jmp 0x14006b74d
mov r8, qword [0x1401255a0]
cmp rbx, r8
jbe 0x14006b4a5
cmp rbx, qword [rbp + 0x18]
jbe 0x14006b4a5
lea rdx, [0x140110420]
jmp 0x14006b738
cmp rax, 2
jae 0x14006b546
test dl, dl
mov edi, r13d
setne dil
add edi, 3
cmp edi, 1
jne 0x14006b4ca
test byte [rbp + 0x22], 0x20
jne 0x14006b76d
movzx eax, byte [rbp + 0x21]
test al, 2
je 0x14006b4e1
mov rcx, qword [rbp]
and al, 0x3d
mov byte [rbp + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.DLL_SafeArrayGetDim]
movzx ecx, byte [rbp + 0x20]
and byte [rbp + 0x21], 0x82
mov qword [rbp + 0x10], r13
dec ecx
je 0x14006b518
dec ecx
jne 0x14006b76d
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x14006b76d
cmp edi, 2
jl 0x14006b525
cmp edi, 4
jne 0x14006b518
cmp rax, 0x1000
ja 0x14006b525
mov rax, qword [rbp + 8]
mov word [rax], r13w
jmp 0x14006b76d
mov rcx, qword [rbp + 8]
call fcn.1400d6fc8
and byte [rbp + 0x21], 0x7f
lea rax, [0x14012c4b8]
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], r13
jmp 0x14006b76d
movzx eax, byte [rbp + 0x21]
test al, 2
je 0x14006b56a
mov rcx, qword [rbp]
and al, 0x3d
mov byte [rbp + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.DLL_SafeArrayGetDim]
mov r8, qword [0x1401255a0]
mov r10d, reloc.OLEAUT32.DLL_SafeArrayGetDim
mov rcx, qword [rbp + 0x18]
and byte [rbp + 0x21], 0x82
cmp rbx, rcx
jbe 0x14006b6d9
movzx r9d, byte [rbp + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x14006b5a3
cmp al, 2
je 0x14006b5dc
mov rdi, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd0]
jmp 0x14006b6cd
mov edi, 0x80
cmp rbx, rdi
ja 0x14006b5dc
cmp rbx, 8
ja 0x14006b5ba
mov edi, 8
jmp 0x14006b5c2
cmp rbx, 0x10
cmovbe rdi, r10
mov rcx, rdi
call fcn.1400b60a0
test rax, rax
je 0x14006b752
mov byte [rbp + 0x20], 1
jmp 0x14006b6cd
cmp rbx, 0x20
jae 0x14006b5ec
mov edi, SafeArrayAllocDescriptor
jmp 0x14006b696
mov edi, 0x208
cmp rbx, rdi
jb 0x14006b696
cmp rbx, 0x50000
jae 0x14006b652
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x14006b619
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
movsd xmm1, qword [0x140112048]
xor eax, eax
comisd xmm0, xmm1
jbe 0x14006b648
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14006b648
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14006b696
cmp rbx, 0x320000
jae 0x14006b664
lea rdi, [rbx + 0x8000]
jmp 0x14006b696
cmp rbx, 0xc80000
jae 0x14006b68f
movabs rax, 0x47ae147ae147ae15
mov rdi, rbx
mul rbx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbx
jmp 0x14006b696
lea rdi, [rbx + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r9b, 2
jne 0x14006b6b5
test rcx, rcx
je 0x14006b6b5
mov rcx, qword [rbp + 8]
mov bl, 1
call fcn.1400d6fc8
jmp 0x14006b6b7
xor bl, bl
test rdi, rdi
js 0x14006b710
mov rcx, rdi
call fcn.1400d6f08
test rax, rax
je 0x14006b710
mov byte [rbp + 0x20], 2
and byte [rbp + 0x21], 0x7f
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], rdi
mov rax, qword [rbp + 8]
test sil, sil
je 0x14006b75c
lea rcx, [0x1400f1524]
cmp rax, rcx
je 0x14006b6fd
mov rdx, rcx
lea r8, [r12 + r12]
mov rcx, rax
call fcn.1400d7a30
mov rax, qword [rbp + 8]
mov word [rax + r12*2], r13w
lea rax, [r12 + r12]
mov qword [rbp + 0x10], rax
jmp 0x14006b76d
test bl, bl
je 0x14006b725
lea rax, [0x14012c4b8]
mov qword [rbp + 0x18], r13
mov qword [rbp + 8], rax
jmp 0x14006b72d
mov rax, qword [rbp + 8]
mov word [rax], r13w
mov qword [rbp + 0x10], r13
lea rdx, [0x1400f5a40]
lea r8, [0x1400f1524]
lea rcx, [0x14012c5c0]
call fcn.14004e590
mov edx, eax
cmp edx, 1
je 0x14006b76a
xor eax, eax
mov r12d, eax
jmp 0x14006ba23
mov word [rax], r13w
lea rax, [r12 + r12]
mov qword [rbp + 0x10], rax
jmp 0x14006b76d
xor r13d, r13d
mov r12, qword [rsp + 0x50]
xor r8d, r8d
mov rcx, rbp
lea edx, [r8 + 1]
lea r15, [r14 - 1]
mov rsi, r13
mov r14d, r13d
call fcn.140001820
mov rbx, qword [rsp + 0x48]
mov rdi, rax
test rbx, rbx
je 0x14006b8a8
movzx ebp, word [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm6
nop word [rax + rax]
cmp byte [rsp + 0x32], 0
je 0x14006b84b
test rsi, rsi
je 0x14006b84b
cmp byte [0x140129769], 0
je 0x14006b8db
cmp dword [0x140129764], 0
jne 0x14006b8db
mov rbx, qword [r12]
mov rcx, rbx
call fcn.1400057c0
mov rcx, rbx
test al, al
je 0x14006b807
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400d6e8c
pxor xmm6, xmm6
cvtsi2sd xmm6, rax
jmp 0x14006b810
call fcn.1400d9590
movapd xmm6, xmm0
mov rcx, rsi
call fcn.1400057c0
mov rcx, rsi
test al, al
je 0x14006b835
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400d6e8c
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jmp 0x14006b83a
call fcn.1400d9590
ucomisd xmm6, xmm0
jp 0x14006b846
je 0x14006b93a
mov rbx, qword [rsp + 0x48]
mov rax, qword [r12]
movzx ecx, word [rax]
test cx, cx
je 0x14006b873
nop word [rax + rax]
add rax, 2
mov word [rdi], cx
add rdi, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14006b860
cmp r13, r15
jb 0x14006b882
cmp byte [rsp + 0xd8], 0
je 0x14006b889
mov word [rdi], bp
add rdi, 2
mov rsi, qword [r12]
add r12, qword [rsp + 0x60]
inc r13
cmp r13, rbx
jb 0x14006b7b0
mov rbp, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call fcn.1400d6fc8
xor eax, eax
lea rbx, [0x14012d400]
cmp byte [rsp + 0x33], al
je 0x14006b98c
mov word [rdi - 4], ax
cmp byte [rbp + 0x23], al
jne 0x14006b962
mov rdi, qword [rbp + 0x10]
jmp 0x14006b965
cmp byte [0x14012976a], 0
mov rdx, rsi
jne 0x14006b8f2
mov rcx, qword [r12]
call fcn.1400d6a7c
jmp 0x14006b92b
cmp byte [0x14012976a], 2
jne 0x14006b907
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
jmp 0x14006b92b
mov rax, qword [r12]
sub rdx, rax
nop
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x14006b926
add rax, 2
test cx, cx
jne 0x14006b910
xor eax, eax
jmp 0x14006b92b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x14006b84b
jmp 0x14006b93f
mov rbx, qword [rsp + 0x48]
inc r14d
cmp r13, r15
jne 0x14006b88d
cmp byte [rsp + 0xd8], 0
jne 0x14006b88d
sub rdi, 2
jmp 0x14006b88d
mov rdi, rbp
cmp byte [rdi + 0x23], 1
jne 0x14006b983
test byte [rdi + 0x21], 8
je 0x14006b979
mov rcx, rdi
call fcn.140001130
add rdi, 0x10
add qword [rdi], 0xfffffffffffffffc
jmp 0x14006b98f
add qword [rbx], 0xfffffffffffffffc
mov rdi, rbx
jmp 0x14006b98f
mov word [rdi], ax
cmp byte [rsp + 0x32], 0
mov r12d, 1
je 0x14006b9f4
test r14d, r14d
je 0x14006b9f4
xor r8d, r8d
mov edx, r12d
mov rcx, rbp
call fcn.140001820
or rcx, 0xffffffffffffffff
mov rdi, rax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
cmp byte [rbp + 0x23], al
jne 0x14006b9cd
mov rdi, qword [rbp + 0x10]
jmp 0x14006b9d0
mov rdi, rbp
cmp byte [rdi + 0x23], r12b
jne 0x14006b9e8
test byte [rdi + 0x21], 8
je 0x14006b9e4
mov rcx, rdi
call fcn.140001130
lea rbx, [rdi + 0x10]
lea rax, [rsi + rsi]
mov dword [rsp + 0x40], r14d
mov qword [rbx], rax
cmp byte [rbp + 0x23], 0
jne 0x14006b9fe
mov rbp, qword [rbp + 0x10]
cmp byte [rbp + 0x23], 2
jne 0x14006ba1f
cmp qword [0x14012d240], 0
je 0x14006ba1f
lea rcx, [0x14012d228]
call fcn.140006f20
mov r12d, eax
jmp 0x14006ba23
and byte [rbp + 0x21], 0x86
mov rbp, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x40]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xa0]
cmp ebx, 0xffffffff
je 0x14006bac0
mov rdi, qword [0x14012b628]
cmp byte [rdi + 0x23], 0
jne 0x14006ba62
mov rdi, qword [rdi + 0x10]
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x14006ba78
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.DLL_SafeArrayGetDim]
and byte [rdi + 0x21], 0x9b
or byte [rdi + 0x21], 0x18
mov rax, rbx
movzx eax, byte [rdi + 0x21]
mov qword [rdi], rbx
jns 0x14006ba9a
mov rcx, rdi
call fcn.140001130
and byte [rdi + 0x21], 0x8f
jmp 0x14006bac0
cmp dword [0x14012ac44], 0
je 0x14006baa7
test al, 0x10
jne 0x14006bab4
cmp dword [0x14012ac48], 0
je 0x14006bac0
test al, 0x20
je 0x14006bac0
test al, 8
je 0x14006bac0
mov rcx, rdi
call fcn.140001130
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xc0]
test rbp, rbp
je 0x14006badd
mov rcx, rbp
call fcn.1400d6fc8
mov rdx, qword [rsp + 0x58]
mov eax, r12d
mov qword [0x1401296a8], rdx
add rsp, 0xa8
pop r12
pop rbp
ret