Function at 0x140066ee0
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.14003b6f0
mov rbx, rax
test rax, rax
jne 0x140066f0d
add rsp, 0x108
pop rbp
pop rbx
ret
cmp byte [rax + 0x23], 0
jne 0x140066f17
mov rbx, qword [rax + 0x10]
movzx r9d, byte [rbp + 1]
mov qword [rsp + 0x100], rsi
cmp r9b, 1
jbe 0x140066f5c
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x38]
test rdx, rdx
je 0x140066f5c
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 0x14006706e
mov r12, qword [rbp + 8]
mov rax, qword [r12 + 0x30]
test rax, rax
je 0x14006706e
cmp qword [rax], rsi
je 0x14006706e
mov rdi, qword [r12 + 0x30]
add r12, 0x20
mov r13, qword [rdi + 8]
movzx ecx, byte [r13 + 0x23]
test cl, cl
jne 0x140066fbb
mov rax, qword [r13 + 0x10]
movzx edx, byte [rax + 0x23]
jmp 0x140066fbe
movzx edx, cl
cmp dl, 3
jne 0x140066ff3
movzx eax, byte [rbx + 0x23]
cmp al, 2
jne 0x140066fd7
mov esi, 1
mov eax, esi
jmp 0x140067ce1
test al, al
jne 0x140066fdf
mov rbx, qword [rbx + 0x10]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400bbc90
mov esi, eax
jmp 0x140067ce1
test cl, cl
jne 0x140067002
mov rax, qword [r13 + 0x10]
movzx r8d, byte [rax + 0x21]
jmp 0x140067007
movzx r8d, byte [r13 + 0x21]
test r8b, 1
je 0x14006701d
mov rdx, r13
mov rcx, rbx
call fcn.1400bc020
jmp 0x140067ce1
cmp qword [rdi + 0x18], rsi
jne 0x140067071
movzx eax, word [r12 + 2]
cmp word [rdi + 0x12], ax
jne 0x140067071
cmp dl, 1
jne 0x140067067
mov rax, qword [0x1401245a8]
cmp byte [rax + 0x134], sil
je 0x140067057
test cl, cl
jne 0x14006704e
mov rax, qword [r13 + 0x10]
jmp 0x140067051
mov rax, r13
test byte [rax + 0x21], 8
je 0x140067067
mov rdx, r13
mov rcx, rbx
call fcn.1400bb440
jmp 0x140067ce1
mov qword [rsp + 0x38], r13
jmp 0x140067079
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 0x14006715c
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x1400670b6
mov rax, qword [rbx + 0x10]
movzx eax, byte [rax + 0x23]
cmp al, 2
je 0x14006715c
mov rcx, qword [r12 + 0x10]
mov rdx, qword [rcx]
test rdx, rdx
je 0x14006715c
nop
mov rax, qword [rcx + 8]
test r14b, r14b
je 0x140067123
cmp byte [rax + 0x23], sil
jne 0x1400670e3
mov rax, qword [rax + 0x10]
cmp rax, rbx
jne 0x140067149
xor r14b, r14b
test dil, dil
je 0x14006715c
test r14b, r14b
jne 0x14006715c
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.140095a10
cmp eax, r15d
jne 0x1400679a1
mov edx, r15d
mov rcx, rbp
call fcn.14003b410
lea rbp, [rax + 1]
jmp 0x14006730c
cmp byte [rax + 0x23], sil
jne 0x14006712d
mov rax, qword [rax + 0x10]
cmp rax, rbx
jne 0x140067149
movzx edi, r15b
mov byte [rsp + 0x128], r15b
cmp rdx, qword [r12 + 8]
jne 0x1400670f5
movzx r14d, r15b
mov rdx, qword [rcx + 0x18]
add rcx, 0x18
test rdx, rdx
jne 0x1400670d0
jmp 0x1400670eb
cmp r9b, 2
jb 0x140067a57
test r13, r13
je 0x140067234
movzx ecx, byte [r13 + 0x23]
test ecx, ecx
je 0x140067220
dec ecx
je 0x1400671b8
dec ecx
je 0x14006719b
dec ecx
je 0x140067200
mov rdx, qword [r13 + 0x28]
xor ecx, ecx
call qword [r13 + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 1]
jmp 0x14006730c
xor ecx, ecx
call fcn.140006ca0
mov r15d, 0xffffffff
cmp rax, r15
cmove rax, rsi
lea rbp, [rax + 1]
jmp 0x14006730c
mov rcx, r13
call fcn.140001130
cmp dword [0x140129ba8], esi
jne 0x14006720c
cmp qword [r13 + 0x10], rsi
jne 0x14006720c
mov rcx, qword [r13 + 0x28]
lea rdx, [rsp + 0x130]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400671f9
dec eax
mov qword [0x14012d0f8], rsi
lea rbp, [rax + 1]
jmp 0x14006730c
mov qword [0x14012d0f8], r13
mov rax, rsi
lea rbp, [rax + 1]
jmp 0x14006730c
mov rax, qword [r13 + 0x10]
shr rax, 1
lea rbp, [rax + 1]
jmp 0x14006730c
mov rcx, qword [r13 + 0x10]
xor edx, edx
call fcn.1400bc740
lea rbp, [rax + 1]
jmp 0x14006730c
mov rax, qword [rbp + 8]
movzx ecx, word [rax + 0x22]
inc ecx
movsxd rbp, ecx
test r12, r12
je 0x14006730c
mov r12, qword [r12 + 0x10]
cmp qword [r12], rsi
je 0x14006730c
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 0x1400672f0
dec ecx
je 0x14006729d
dec ecx
je 0x14006728d
dec ecx
je 0x1400672de
mov rdx, qword [rdi + 0x28]
xor ecx, ecx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x1400672fb
xor ecx, ecx
call fcn.140006ca0
cmp rax, r15
cmove rax, rsi
jmp 0x1400672fb
mov rcx, rdi
call fcn.140001130
cmp dword [0x140129ba8], esi
jne 0x1400672e3
cmp qword [rdi + 0x10], rsi
jne 0x1400672e3
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x138]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400672d7
mov qword [0x14012d0f8], rsi
dec eax
jmp 0x1400672fb
mov qword [0x14012d0f8], rdi
mov rax, rsi
jmp 0x1400672fb
mov rax, qword [rdi + 0x10]
shr rax, 1
jmp 0x1400672fb
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.1400bc740
add r12, 0x18
add rbp, rax
cmp qword [r12], rsi
jne 0x140067260
cmp rbp, 2
jb 0x140067a51
test r14b, r14b
je 0x14006736e
cmp byte [rbx + 0x23], sil
jne 0x140067327
mov rax, qword [rbx + 0x10]
jmp 0x14006732a
mov rax, rbx
cmp byte [rax + 0x23], 2
jne 0x140067338
mov eax, dword [0x14012c1a0]
jmp 0x14006733c
mov rax, qword [rax + 0x18]
mov r15, qword [rsp + 0x120]
shr rax, 1
cmp rbp, rax
jbe 0x1400676dc
lea r9, [rsp + 0x30]
mov r8, rbp
xor edx, edx
mov rcx, r15
call fcn.140095a10
cmp eax, 1
je 0x140067376
xor eax, eax
jmp 0x140067cd1
mov r15, qword [rsp + 0x120]
cmp byte [rsp + 0x128], sil
je 0x1400676dc
movzx edx, byte [rbx + 0x23]
mov r13, qword [0x140129948]
test dl, dl
jne 0x1400673b0
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, r13
mov byte [rsp + 0x20], 1
call fcn.1400bc2f0
jmp 0x1400676c4
mov r8b, 1
lea r12, [0x1400f0524]
test r13, r13
jne 0x1400673ca
xor r8b, r8b
mov r14, rsi
mov r13, r12
jmp 0x1400673ec
cmp qword [rbx + 8], r13
jne 0x1400673d9
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x1400673ec
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 0x140067409
mov rdx, r14
mov rcx, r13
call fcn.140006f00
jmp 0x1400676c4
mov r9, qword [0x140124580]
cmp rbp, r9
jbe 0x140067427
cmp rbp, qword [rbx + 0x18]
jbe 0x140067427
lea rdx, [0x14010f290]
jmp 0x1400676b5
cmp rax, 2
jae 0x140067447
test r8b, r8b
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400bc9a0
jmp 0x140067606
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140067464
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 [0x140124580]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r8
jbe 0x1400675e1
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14006749d
cmp al, 2
je 0x1400674da
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x1400675d5
mov edi, 0x80
cmp rbp, rdi
ja 0x1400674da
cmp rbp, 8
ja 0x1400674b4
mov edi, 8
jmp 0x1400674c0
mov eax, reloc.WSOCK32.dll_recv
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b4e60
test rax, rax
je 0x1400676cc
mov byte [rbx + 0x20], 1
jmp 0x1400675d5
cmp rbp, 0x20
jae 0x1400674ea
mov edi, SafeArrayAllocDescriptor
jmp 0x140067594
mov edi, 0x208
cmp rbp, rdi
jb 0x140067594
cmp rbp, 0x50000
jae 0x140067550
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x140067517
addsd xmm0, qword [0x140110e78]
mulsd xmm0, qword [0x140110eb0]
movsd xmm1, qword [0x140110ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140067546
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140067546
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140067594
cmp rbp, 0x320000
jae 0x140067562
lea rdi, [rbp + 0x8000]
jmp 0x140067594
cmp rbp, 0xc80000
jae 0x14006758d
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x140067594
lea rdi, [rbp + 0x20000]
cmp rdi, r9
cmova rdi, r9
cmp r10b, 2
jne 0x1400675b4
test r8, r8
je 0x1400675b4
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d5bd8
jmp 0x1400675b7
xor bpl, bpl
test rdi, rdi
js 0x14006768d
mov rcx, rdi
call fcn.1400d5b18
test rax, rax
je 0x14006768d
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 0x1400675f6
lea r8, [r14 + r14]
mov rdx, r13
call fcn.1400d6960
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14]
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
mov rax, qword [0x1401245a8]
mov esi, 1
cmp byte [rax + 0x134], 0
je 0x140067ccf
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140001820
mov rdi, rax
cmp word [rax], 0
je 0x140067ccf
mov rcx, rbx
call fcn.140024650
mov rcx, rdi
mov rdx, rax
call fcn.140024020
mov rcx, rdi
mov rdx, rax
call fcn.140024120
mov rcx, rbx
mov rdx, rax
call fcn.140024600
cmp byte [rbx + 0x23], 0
jne 0x14006766c
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x1400676d3
cmp qword [0x14012c190], 0
je 0x1400676d3
lea rcx, [0x14012c178]
call fcn.140007080
jmp 0x140067ccf
test bpl, bpl
je 0x1400676a3
lea rax, [0x14012b418]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x1400676aa
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea rcx, [0x14012b510]
mov r8, r12
call fcn.14004e080
test eax, eax
jne 0x140067606
xor eax, eax
jmp 0x140067cd1
and byte [rbx + 0x21], 0x86
jmp 0x140067ccf
test r14b, r14b
jne 0x1400679b7
movzx ecx, byte [rbx + 0x23]
lea r14, [rbp - 1]
test cl, cl
jne 0x14006770c
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
mov r8, r14
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400bc2f0
jmp 0x14006799a
mov r12b, 1
movzx edx, r12b
cmp r14, 0xffffffffffffffff
jne 0x140067720
xor dl, dl
mov r14, rsi
jmp 0x140067723
xor r12b, r12b
lea rax, [r14 + 1]
lea rbp, [rax + rax]
cmp cl, 2
jne 0x140067764
test r12b, r12b
je 0x140067749
lea rcx, [0x1400f0524]
mov rdx, r14
call fcn.140006f00
jmp 0x14006799a
lea rcx, [0x14012c178]
mov rdx, rax
call fcn.140006fc0
test rax, rax
setne sil
jmp 0x14006799c
mov r8, qword [0x140124580]
cmp rbp, r8
jbe 0x140067782
cmp rbp, qword [rbx + 0x18]
jbe 0x140067782
lea rdx, [0x14010f290]
jmp 0x140067987
cmp rax, 2
jae 0x1400677a1
test dl, dl
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400bc9a0
jmp 0x1400679b7
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400677be
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 [0x140124580]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r9
jbe 0x140067933
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x1400677f7
cmp al, 2
je 0x140067834
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x140067927
mov edi, 0x80
cmp rbp, rdi
ja 0x140067834
cmp rbp, 8
ja 0x14006780e
mov edi, 8
jmp 0x14006781a
mov eax, reloc.WSOCK32.dll_recv
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b4e60
test rax, rax
je 0x1400679a1
mov byte [rbx + 0x20], 1
jmp 0x140067927
cmp rbp, 0x20
jae 0x140067844
mov edi, SafeArrayAllocDescriptor
jmp 0x1400678ee
mov edi, 0x208
cmp rbp, rdi
jb 0x1400678ee
cmp rbp, 0x50000
jae 0x1400678aa
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x140067871
addsd xmm0, qword [0x140110e78]
mulsd xmm0, qword [0x140110eb0]
movsd xmm1, qword [0x140110ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400678a0
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400678a0
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400678ee
cmp rbp, 0x320000
jae 0x1400678bc
lea rdi, [rbp + 0x8000]
jmp 0x1400678ee
cmp rbp, 0xc80000
jae 0x1400678e7
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x1400678ee
lea rdi, [rbp + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x14006790e
test r9, r9
je 0x14006790e
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d5bd8
jmp 0x140067911
xor bpl, bpl
test rdi, rdi
js 0x14006795f
mov rcx, rdi
call fcn.1400d5b18
test rax, rax
je 0x14006795f
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
test r12b, r12b
je 0x1400679a8
mov rcx, qword [rbx + 8]
lea r12, [0x1400f0524]
cmp rcx, r12
je 0x140067954
lea r8, [r14 + r14]
mov rdx, r12
call fcn.1400d6960
mov rax, qword [rbx + 8]
mov word [rax + r14*2], si
jmp 0x1400679af
test bpl, bpl
je 0x140067975
lea rax, [0x14012b418]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x14006797c
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea r8, [0x1400f0524]
lea rcx, [0x14012b510]
call fcn.14004e080
mov esi, eax
cmp esi, 1
je 0x1400679b7
xor eax, eax
jmp 0x140067cd1
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.1400963d0
mov rdx, rax
test rax, rax
je 0x1400679a1
mov rax, qword [0x1401245a8]
sub rdx, rdi
sar rdx, 1
dec rdx
cmp byte [rax + 0x134], 0
je 0x140067a14
mov rcx, rdi
call fcn.140024020
mov rcx, rdi
mov rdx, rax
call fcn.140024120
mov rdx, rax
mov rcx, rbx
call fcn.140024600
cmp byte [rbx + 0x23], 0
jne 0x140067a26
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x1400676d3
cmp qword [0x14012c190], 0
je 0x1400676d3
lea rcx, [0x14012c178]
call fcn.140007080
mov esi, eax
jmp 0x140067ccf
mov r15d, 1
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140067a82
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400f0524]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400bc2f0
mov esi, eax
jmp 0x140067ccf
lea r12, [0x1400f0524]
cmp qword [rbx + 8], r12
jne 0x140067a98
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x140067a9b
mov r13, rsi
lea rcx, [r13 + 1]
lea rbp, [rcx + rcx]
cmp al, 2
jne 0x140067ab9
mov rdx, r13
mov rcx, r12
call fcn.140006f00
mov esi, eax
jmp 0x140067ccf
mov r8, qword [0x140124580]
cmp rbp, r8
jbe 0x140067ae8
cmp rbp, qword [rbx + 0x18]
jbe 0x140067ae8
lea rdx, [0x14010f290]
lea rcx, [0x14012b510]
mov r8, r12
call fcn.14004e080
mov esi, eax
jmp 0x140067ccf
cmp rcx, 2
jae 0x140067b07
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400bc9a0
mov esi, 1
jmp 0x140067ccf
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140067b24
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 [0x140124580]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r9
jbe 0x140067c9d
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x140067b5d
cmp al, 2
je 0x140067b9a
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
jmp 0x140067c91
mov edi, 0x80
cmp rbp, rdi
ja 0x140067b9a
cmp rbp, 8
ja 0x140067b74
mov edi, 8
jmp 0x140067b80
mov eax, reloc.WSOCK32.dll_recv
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b4e60
test rax, rax
je 0x140067ccf
mov byte [rbx + 0x20], 1
jmp 0x140067c91
cmp rbp, 0x20
jae 0x140067baa
mov edi, SafeArrayAllocDescriptor
jmp 0x140067c54
mov edi, 0x208
cmp rbp, rdi
jb 0x140067c54
cmp rbp, 0x50000
jae 0x140067c10
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x140067bd7
addsd xmm0, qword [0x140110e78]
mulsd xmm0, qword [0x140110eb0]
movsd xmm1, qword [0x140110ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140067c06
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140067c06
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140067c54
cmp rbp, 0x320000
jae 0x140067c22
lea rdi, [rbp + 0x8000]
jmp 0x140067c54
cmp rbp, 0xc80000
jae 0x140067c4d
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x140067c54
lea rdi, [rbp + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140067c74
test r9, r9
je 0x140067c74
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d5bd8
jmp 0x140067c77
xor bpl, bpl
test rdi, rdi
js 0x140067d0b
mov rcx, rdi
call fcn.1400d5b18
test rax, rax
je 0x140067d0b
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 0x140067cb3
lea r8, [r13 + r13]
mov rdx, r12
call fcn.1400d6960
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 0x140067d21
lea rax, [0x14012b418]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x140067d28
mov rax, qword [rbx + 8]
mov word [rax], si
lea rdx, str.Out_of_memory.
lea rcx, [0x14012b510]
mov r8, r12
mov qword [rbx + 0x10], rsi
call fcn.14004e080
mov esi, eax
jmp 0x140067ccf