Function at 0x1400674d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
sub rsp, 0x108
mov r8b, 1
xor edx, edx
mov rbp, rcx
call fcn.14003ba60
mov rbx, rax
test rax, rax
jne 0x1400674fd
add rsp, 0x108
pop rbp
pop rbx
ret
cmp byte [rax + 0x23], 0
jne 0x140067507
mov rbx, qword [rax + 0x10]
movzx r9d, byte [rbp + 1]
mov qword [rsp + 0x100], rsi
cmp r9b, 1
jbe 0x14006754c
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x38]
test rdx, rdx
je 0x14006754c
mov rdx, qword [rdx]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.140001090
mov rsi, qword [rsp + 0x100]
mov eax, 1
add rsp, 0x108
pop rbp
pop rbx
ret
mov qword [rsp + 0xf8], rdi
xor esi, esi
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xe8], r13
cmp r9b, 2
jb 0x14006765e
mov r12, qword [rbp + 8]
mov rax, qword [r12 + 0x30]
test rax, rax
je 0x14006765e
cmp qword [rax], rsi
je 0x14006765e
mov rdi, qword [r12 + 0x30]
add r12, 0x20
mov r13, qword [rdi + 8]
movzx ecx, byte [r13 + 0x23]
test cl, cl
jne 0x1400675ab
mov rax, qword [r13 + 0x10]
movzx edx, byte [rax + 0x23]
jmp 0x1400675ae
movzx edx, cl
cmp dl, 3
jne 0x1400675e3
movzx eax, byte [rbx + 0x23]
cmp al, 2
jne 0x1400675c7
mov esi, 1
mov eax, esi
jmp 0x1400682d1
test al, al
jne 0x1400675cf
mov rbx, qword [rbx + 0x10]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400bc540
mov esi, eax
jmp 0x1400682d1
test cl, cl
jne 0x1400675f2
mov rax, qword [r13 + 0x10]
movzx r8d, byte [rax + 0x21]
jmp 0x1400675f7
movzx r8d, byte [r13 + 0x21]
test r8b, 1
je 0x14006760d
mov rdx, r13
mov rcx, rbx
call fcn.1400bc8d0
jmp 0x1400682d1
cmp qword [rdi + 0x18], rsi
jne 0x140067661
movzx eax, word [r12 + 2]
cmp word [rdi + 0x12], ax
jne 0x140067661
cmp dl, 1
jne 0x140067657
mov rax, qword [0x1401255c8]
cmp byte [rax + 0x134], sil
je 0x140067647
test cl, cl
jne 0x14006763e
mov rax, qword [r13 + 0x10]
jmp 0x140067641
mov rax, r13
test byte [rax + 0x21], 8
je 0x140067657
mov rdx, r13
mov rcx, rbx
call fcn.1400bbcf0
jmp 0x1400682d1
mov qword [rsp + 0x38], r13
jmp 0x140067669
mov r12, rsi
mov qword [rsp + 0x38], rsi
mov r13, rsi
mov qword [rsp + 0xe0], r14
xor dil, dil
xor r14b, r14b
mov qword [rsp + 0xd8], r15
mov byte [rsp + 0x128], dil
mov r15d, 1
test r12, r12
je 0x14006774c
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x1400676a6
mov rax, qword [rbx + 0x10]
movzx eax, byte [rax + 0x23]
cmp al, 2
je 0x14006774c
mov rcx, qword [r12 + 0x10]
mov rdx, qword [rcx]
test rdx, rdx
je 0x14006774c
nop
mov rax, qword [rcx + 8]
test r14b, r14b
je 0x140067713
cmp byte [rax + 0x23], sil
jne 0x1400676d3
mov rax, qword [rax + 0x10]
cmp rax, rbx
jne 0x140067739
xor r14b, r14b
test dil, dil
je 0x14006774c
test r14b, r14b
jne 0x14006774c
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.140096160
cmp eax, r15d
jne 0x140067f91
mov edx, r15d
mov rcx, rbp
call fcn.14003b780
lea rbp, [rax + 1]
jmp 0x1400678fc
cmp byte [rax + 0x23], sil
jne 0x14006771d
mov rax, qword [rax + 0x10]
cmp rax, rbx
jne 0x140067739
movzx edi, r15b
mov byte [rsp + 0x128], r15b
cmp rdx, qword [r12 + 8]
jne 0x1400676e5
movzx r14d, r15b
mov rdx, qword [rcx + 0x18]
add rcx, 0x18
test rdx, rdx
jne 0x1400676c0
jmp 0x1400676db
cmp r9b, 2
jb 0x140068047
test r13, r13
je 0x140067824
movzx ecx, byte [r13 + 0x23]
test ecx, ecx
je 0x140067810
dec ecx
je 0x1400677a8
dec ecx
je 0x14006778b
dec ecx
je 0x1400677f0
mov rdx, qword [r13 + 0x28]
xor ecx, ecx
call qword [r13 + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 1]
jmp 0x1400678fc
xor ecx, ecx
call fcn.140006cb0
mov r15d, 0xffffffff
cmp rax, r15
cmove rax, rsi
lea rbp, [rax + 1]
jmp 0x1400678fc
mov rcx, r13
call fcn.140001130
cmp dword [0x14012abc8], esi
jne 0x1400677fc
cmp qword [r13 + 0x10], rsi
jne 0x1400677fc
mov rcx, qword [r13 + 0x28]
lea rdx, [rsp + 0x130]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400677e9
dec eax
mov qword [0x14012e128], rsi
lea rbp, [rax + 1]
jmp 0x1400678fc
mov qword [0x14012e128], r13
mov rax, rsi
lea rbp, [rax + 1]
jmp 0x1400678fc
mov rax, qword [r13 + 0x10]
shr rax, 1
lea rbp, [rax + 1]
jmp 0x1400678fc
mov rcx, qword [r13 + 0x10]
xor edx, edx
call fcn.1400bcff0
lea rbp, [rax + 1]
jmp 0x1400678fc
mov rax, qword [rbp + 8]
movzx ecx, word [rax + 0x22]
inc ecx
movsxd rbp, ecx
test r12, r12
je 0x1400678fc
mov r12, qword [r12 + 0x10]
cmp qword [r12], rsi
je 0x1400678fc
mov r15d, 0xffffffff
nop
mov rdi, qword [r12 + 8]
movzx eax, word [r12 + 0x12]
movzx ecx, byte [rdi + 0x23]
sub rbp, rax
test ecx, ecx
je 0x1400678e0
dec ecx
je 0x14006788d
dec ecx
je 0x14006787d
dec ecx
je 0x1400678ce
mov rdx, qword [rdi + 0x28]
xor ecx, ecx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x1400678eb
xor ecx, ecx
call fcn.140006cb0
cmp rax, r15
cmove rax, rsi
jmp 0x1400678eb
mov rcx, rdi
call fcn.140001130
cmp dword [0x14012abc8], esi
jne 0x1400678d3
cmp qword [rdi + 0x10], rsi
jne 0x1400678d3
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x138]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400678c7
mov qword [0x14012e128], rsi
dec eax
jmp 0x1400678eb
mov qword [0x14012e128], rdi
mov rax, rsi
jmp 0x1400678eb
mov rax, qword [rdi + 0x10]
shr rax, 1
jmp 0x1400678eb
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.1400bcff0
add r12, 0x18
add rbp, rax
cmp qword [r12], rsi
jne 0x140067850
cmp rbp, 2
jb 0x140068041
test r14b, r14b
je 0x14006795e
cmp byte [rbx + 0x23], sil
jne 0x140067917
mov rax, qword [rbx + 0x10]
jmp 0x14006791a
mov rax, rbx
cmp byte [rax + 0x23], 2
jne 0x140067928
mov eax, dword [0x14012d1d0]
jmp 0x14006792c
mov rax, qword [rax + 0x18]
mov r15, qword [rsp + 0x120]
shr rax, 1
cmp rbp, rax
jbe 0x140067ccc
lea r9, [rsp + 0x30]
mov r8, rbp
xor edx, edx
mov rcx, r15
call fcn.140096160
cmp eax, 1
je 0x140067966
xor eax, eax
jmp 0x1400682c1
mov r15, qword [rsp + 0x120]
cmp byte [rsp + 0x128], sil
je 0x140067ccc
movzx edx, byte [rbx + 0x23]
mov r13, qword [0x14012a968]
test dl, dl
jne 0x1400679a0
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, r13
mov byte [rsp + 0x20], 1
call fcn.1400bcba0
jmp 0x140067cb4
mov r8b, 1
lea r12, [0x1400f1604]
test r13, r13
jne 0x1400679ba
xor r8b, r8b
mov r14, rsi
mov r13, r12
jmp 0x1400679dc
cmp qword [rbx + 8], r13
jne 0x1400679c9
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x1400679dc
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
lea rax, [r14 + 1]
lea rbp, [rax + rax]
cmp dl, 2
jne 0x1400679f9
mov rdx, r14
mov rcx, r13
call fcn.140006f10
jmp 0x140067cb4
mov r9, qword [0x1401255a0]
cmp rbp, r9
jbe 0x140067a17
cmp rbp, qword [rbx + 0x18]
jbe 0x140067a17
lea rdx, [0x1401103d0]
jmp 0x140067ca5
cmp rax, 2
jae 0x140067a37
test r8b, r8b
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400bd250
jmp 0x140067bf6
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140067a54
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [0x1401255a0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r8
jbe 0x140067bd1
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x140067a8d
cmp al, 2
je 0x140067aca
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x140067bc5
mov edi, 0x80
cmp rbp, rdi
ja 0x140067aca
cmp rbp, 8
ja 0x140067aa4
mov edi, 8
jmp 0x140067ab0
mov eax, reloc.WSOCK32.dll_recv
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b55f0
test rax, rax
je 0x140067cbc
mov byte [rbx + 0x20], 1
jmp 0x140067bc5
cmp rbp, 0x20
jae 0x140067ada
mov edi, SafeArrayAllocDescriptor
jmp 0x140067b84
mov edi, 0x208
cmp rbp, rdi
jb 0x140067b84
cmp rbp, 0x50000
jae 0x140067b40
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x140067b07
addsd xmm0, qword [0x140111fc8]
mulsd xmm0, qword [0x140112000]
movsd xmm1, qword [0x140111ff8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140067b36
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140067b36
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140067b84
cmp rbp, 0x320000
jae 0x140067b52
lea rdi, [rbp + 0x8000]
jmp 0x140067b84
cmp rbp, 0xc80000
jae 0x140067b7d
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x140067b84
lea rdi, [rbp + 0x20000]
cmp rdi, r9
cmova rdi, r9
cmp r10b, 2
jne 0x140067ba4
test r8, r8
je 0x140067ba4
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d6528
jmp 0x140067ba7
xor bpl, bpl
test rdi, rdi
js 0x140067c7d
mov rcx, rdi
call fcn.1400d6468
test rax, rax
je 0x140067c7d
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x140067be6
lea r8, [r14 + r14]
mov rdx, r13
call fcn.1400d72b0
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14]
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
mov rax, qword [0x1401255c8]
mov esi, 1
cmp byte [rax + 0x134], 0
je 0x1400682bf
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140001820
mov rdi, rax
cmp word [rax], 0
je 0x1400682bf
mov rcx, rbx
call fcn.140024840
mov rcx, rdi
mov rdx, rax
call fcn.140024210
mov rcx, rdi
mov rdx, rax
call fcn.140024310
mov rcx, rbx
mov rdx, rax
call fcn.1400247f0
cmp byte [rbx + 0x23], 0
jne 0x140067c5c
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x140067cc3
cmp qword [0x14012d1c0], 0
je 0x140067cc3
lea rcx, [0x14012d1a8]
call fcn.140007090
jmp 0x1400682bf
test bpl, bpl
je 0x140067c93
lea rax, [0x14012c438]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x140067c9a
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c540]
mov r8, r12
call fcn.14004e5d0
test eax, eax
jne 0x140067bf6
xor eax, eax
jmp 0x1400682c1
and byte [rbx + 0x21], 0x86
jmp 0x1400682bf
test r14b, r14b
jne 0x140067fa7
movzx ecx, byte [rbx + 0x23]
lea r14, [rbp - 1]
test cl, cl
jne 0x140067cfc
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
mov r8, r14
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400bcba0
jmp 0x140067f8a
mov r12b, 1
movzx edx, r12b
cmp r14, 0xffffffffffffffff
jne 0x140067d10
xor dl, dl
mov r14, rsi
jmp 0x140067d13
xor r12b, r12b
lea rax, [r14 + 1]
lea rbp, [rax + rax]
cmp cl, 2
jne 0x140067d54
test r12b, r12b
je 0x140067d39
lea rcx, [0x1400f1604]
mov rdx, r14
call fcn.140006f10
jmp 0x140067f8a
lea rcx, [0x14012d1a8]
mov rdx, rax
call fcn.140006fd0
test rax, rax
setne sil
jmp 0x140067f8c
mov r8, qword [0x1401255a0]
cmp rbp, r8
jbe 0x140067d72
cmp rbp, qword [rbx + 0x18]
jbe 0x140067d72
lea rdx, [0x1401103d0]
jmp 0x140067f77
cmp rax, 2
jae 0x140067d91
test dl, dl
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400bd250
jmp 0x140067fa7
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140067dae
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x1401255a0]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r9
jbe 0x140067f23
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x140067de7
cmp al, 2
je 0x140067e24
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x140067f17
mov edi, 0x80
cmp rbp, rdi
ja 0x140067e24
cmp rbp, 8
ja 0x140067dfe
mov edi, 8
jmp 0x140067e0a
mov eax, reloc.WSOCK32.dll_recv
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b55f0
test rax, rax
je 0x140067f91
mov byte [rbx + 0x20], 1
jmp 0x140067f17
cmp rbp, 0x20
jae 0x140067e34
mov edi, SafeArrayAllocDescriptor
jmp 0x140067ede
mov edi, 0x208
cmp rbp, rdi
jb 0x140067ede
cmp rbp, 0x50000
jae 0x140067e9a
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x140067e61
addsd xmm0, qword [0x140111fc8]
mulsd xmm0, qword [0x140112000]
movsd xmm1, qword [0x140111ff8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140067e90
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140067e90
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140067ede
cmp rbp, 0x320000
jae 0x140067eac
lea rdi, [rbp + 0x8000]
jmp 0x140067ede
cmp rbp, 0xc80000
jae 0x140067ed7
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x140067ede
lea rdi, [rbp + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140067efe
test r9, r9
je 0x140067efe
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d6528
jmp 0x140067f01
xor bpl, bpl
test rdi, rdi
js 0x140067f4f
mov rcx, rdi
call fcn.1400d6468
test rax, rax
je 0x140067f4f
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
test r12b, r12b
je 0x140067f98
mov rcx, qword [rbx + 8]
lea r12, [0x1400f1604]
cmp rcx, r12
je 0x140067f44
lea r8, [r14 + r14]
mov rdx, r12
call fcn.1400d72b0
mov rax, qword [rbx + 8]
mov word [rax + r14*2], si
jmp 0x140067f9f
test bpl, bpl
je 0x140067f65
lea rax, [0x14012c438]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x140067f6c
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea r8, [0x1400f1604]
lea rcx, [0x14012c540]
call fcn.14004e5d0
mov esi, eax
cmp esi, 1
je 0x140067fa7
xor eax, eax
jmp 0x1400682c1
mov rax, qword [rbx + 8]
mov word [rax], si
lea rax, [r14 + r14]
mov qword [rbx + 0x10], rax
mov esi, 1
xor r8d, r8d
mov rcx, rbx
mov edx, esi
call fcn.140001820
mov r9, r13
mov r8d, esi
mov rdx, rax
mov rcx, r15
mov rdi, rax
call fcn.140096b40
mov rdx, rax
test rax, rax
je 0x140067f91
mov rax, qword [0x1401255c8]
sub rdx, rdi
sar rdx, 1
dec rdx
cmp byte [rax + 0x134], 0
je 0x140068004
mov rcx, rdi
call fcn.140024210
mov rcx, rdi
mov rdx, rax
call fcn.140024310
mov rdx, rax
mov rcx, rbx
call fcn.1400247f0
cmp byte [rbx + 0x23], 0
jne 0x140068016
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x140067cc3
cmp qword [0x14012d1c0], 0
je 0x140067cc3
lea rcx, [0x14012d1a8]
call fcn.140007090
mov esi, eax
jmp 0x1400682bf
mov r15d, 1
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140068072
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400f1604]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400bcba0
mov esi, eax
jmp 0x1400682bf
lea r12, [0x1400f1604]
cmp qword [rbx + 8], r12
jne 0x140068088
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x14006808b
mov r13, rsi
lea rcx, [r13 + 1]
lea rbp, [rcx + rcx]
cmp al, 2
jne 0x1400680a9
mov rdx, r13
mov rcx, r12
call fcn.140006f10
mov esi, eax
jmp 0x1400682bf
mov r8, qword [0x1401255a0]
cmp rbp, r8
jbe 0x1400680d8
cmp rbp, qword [rbx + 0x18]
jbe 0x1400680d8
lea rdx, [0x1401103d0]
lea rcx, [0x14012c540]
mov r8, r12
call fcn.14004e5d0
mov esi, eax
jmp 0x1400682bf
cmp rcx, 2
jae 0x1400680f7
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400bd250
mov esi, 1
jmp 0x1400682bf
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140068114
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x1401255a0]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r9
jbe 0x14006828d
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14006814d
cmp al, 2
je 0x14006818a
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x140068281
mov edi, 0x80
cmp rbp, rdi
ja 0x14006818a
cmp rbp, 8
ja 0x140068164
mov edi, 8
jmp 0x140068170
mov eax, reloc.WSOCK32.dll_recv
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b55f0
test rax, rax
je 0x1400682bf
mov byte [rbx + 0x20], 1
jmp 0x140068281
cmp rbp, 0x20
jae 0x14006819a
mov edi, SafeArrayAllocDescriptor
jmp 0x140068244
mov edi, 0x208
cmp rbp, rdi
jb 0x140068244
cmp rbp, 0x50000
jae 0x140068200
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x1400681c7
addsd xmm0, qword [0x140111fc8]
mulsd xmm0, qword [0x140112000]
movsd xmm1, qword [0x140111ff8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400681f6
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400681f6
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140068244
cmp rbp, 0x320000
jae 0x140068212
lea rdi, [rbp + 0x8000]
jmp 0x140068244
cmp rbp, 0xc80000
jae 0x14006823d
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x140068244
lea rdi, [rbp + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140068264
test r9, r9
je 0x140068264
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d6528
jmp 0x140068267
xor bpl, bpl
test rdi, rdi
js 0x1400682fb
mov rcx, rdi
call fcn.1400d6468
test rax, rax
je 0x1400682fb
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r12
je 0x1400682a3
lea r8, [r13 + r13]
mov rdx, r12
call fcn.1400d72b0
mov rax, qword [rbx + 8]
lea rcx, [r13 + r13]
mov dword [rsp + 0x128], r15d
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
mov esi, r15d
mov eax, esi
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x100]
add rsp, 0x108
pop rbp
pop rbx
ret
test bpl, bpl
je 0x140068311
lea rax, [0x14012c438]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x140068318
mov rax, qword [rbx + 8]
mov word [rax], si
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c540]
mov r8, r12
mov qword [rbx + 0x10], rsi
call fcn.14004e5d0
mov esi, eax
jmp 0x1400682bf