Function at 0x14000d6a0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2c8
movsd xmm1, qword [0x140060ad0]
lea r13d, [r9 + r9]
movaps xmmword [rax - 0x58], xmm7
lea r15d, [r9*4]
movsd xmm7, qword [0x140060ac8]
lea esi, [r13 + 1]
movd xmm0, r13d
mov r14d, r15d
cvtdq2pd xmm0, xmm0
mov rdi, r8
mov rax, rdx
mov dword [rbp + 0x50], r13d
mov dword [rbp - 0x40], r15d
imul r14d, esi
divsd xmm7, xmm0
movd xmm0, r15d
movsd qword [rbp + 0x78], xmm7
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [rbp + 0x70], xmm1
cmp r14d, 0x3f750
jle 0x14000d74f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.near2far:_internal_error
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x310], rbx
xor edx, edx
mov qword [rsp + 0x2c0], r12
mov rcx, rax
movaps xmmword [rsp + 0x2b0], xmm6
movaps xmmword [rsp + 0x290], xmm8
movaps xmmword [rsp + 0x280], xmm9
movaps xmmword [rsp + 0x270], xmm10
movaps xmmword [rsp + 0x260], xmm11
movaps xmmword [rsp + 0x250], xmm12
movaps xmmword [rsp + 0x240], xmm13
movaps xmmword [rsp + 0x230], xmm14
movaps xmmword [rsp + 0x220], xmm15
call fcn.140026470
movsd xmm3, qword [0x140060a58]
lea rcx, [rbp + 0xf0]
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm15, xmm15
call fcn.14003e7f0
movsd xmm1, qword [0x140060a58]
lea rcx, [rsp + 0x40]
xorps xmm3, xmm3
xorps xmm2, xmm2
movups xmm11, xmmword [rax]
movsd xmm13, qword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm11
movsd qword [rbp + 0x98], xmm13
movsd qword [rbp + 0x100], xmm13
call fcn.14003e7f0
lea r8, [rbp - 0x20]
movaps xmmword [rsp + 0x60], xmm11
lea rdx, [rsp + 0x60]
movsd qword [rsp + 0x70], xmm13
lea rcx, [rsp + 0x40]
movsd xmm12, qword [rax + 0x10]
movups xmm14, xmmword [rax]
movsd qword [rbp + 0x20], xmm12
movaps xmmword [rbp - 0x20], xmm14
movsd qword [rbp + 0xe0], xmm12
movsd qword [rbp - 0x10], xmm12
call fcn.14003e720
movsd xmm9, qword [0x140060a30]
lea r10, [0x140000000]
xor r12d, r12d
movsd xmm8, qword [rax + 0x10]
movsd qword [rbp - 0x38], xmm8
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x40], xmm6
test r14d, r14d
jle 0x14000daa0
xor ecx, ecx
movups xmm15, xmm6
mov dword [rbp + 0x218], ecx
mov qword [rbp - 0x30], rcx
nop word [rax + rax]
mov eax, r12d
cdq
idiv esi
mov r9d, eax
mov r8d, edx
add eax, r13d
cdq
idiv r15d
mov ebx, edx
imul ebx, esi
sub ebx, r8d
add ebx, r13d
cmp r12d, ebx
jge 0x14000da6d
movd xmm10, r8d
cvtdq2pd xmm10, xmm10
movaps xmmword [rbp - 0x20], xmm15
mulsd xmm10, xmm7
movd xmm7, r9d
cvtdq2pd xmm7, xmm7
mulsd xmm10, xmm9
mulsd xmm7, qword [rbp + 0x70]
movsd qword [rbp - 0x10], xmm8
movaps xmm0, xmm10
mulsd xmm7, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x108]
movaps xmm1, xmm6
call fcn.14003e850
movaps xmm0, xmm7
movaps xmmword [rsp + 0x60], xmm14
movsd qword [rsp + 0x70], xmm12
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0xa0]
movaps xmm1, xmm6
call fcn.14003e850
movaps xmm0, xmm10
movaps xmmword [rbp], xmm11
movsd qword [rbp + 0x10], xmm13
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm1, xmm0
lea r8, [rbp]
lea rcx, [rbp + 0x80]
call fcn.14003e850
lea r9, [rbp - 0x60]
movaps xmmword [rbp - 0x60], xmm9
lea r8, [rbp - 0x80]
movsd qword [rbp - 0x50], xmm8
lea rdx, [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm7
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x28]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rbp - 0x70], xmm6
movsd qword [rsp + 0x50], xmm1
call fcn.14003e900
lea r8, [0x140000000]
lea rdx, [r8 + 0x124fa00]
lea r9, [r8 + 0x124fa00]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movsxd rax, ebx
mov rbx, qword [rbp - 0x30]
add r9, rbx
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
lea rcx, [rax + rax*2]
lea rdx, [rdx + rcx*8]
lea rax, [r8 + 0xc5ca80]
mov qword [rsp + 0x28], rdx
lea rax, [rax + rcx*8]
mov rcx, rdi
lea r8, [r8 + 0xc5ca80]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
add r8, rbx
call fcn.140005e20
mov eax, dword [rbp + 0x218]
cdq
idiv r14d
mov rcx, qword [rbp + 0x208]
mov edx, eax
call fcn.140026470
mov ecx, dword [rbp + 0x218]
movsd xmm8, qword [rbp - 0x38]
movsd xmm9, qword [0x140060a30]
movsd xmm7, qword [rbp + 0x78]
jmp 0x14000da71
mov rbx, qword [rbp - 0x30]
add rbx, 0x18
add ecx, 0xb6
inc r12d
mov qword [rbp - 0x30], rbx
mov dword [rbp + 0x218], ecx
cmp r12d, r14d
jl 0x14000d8a0
movups xmm6, xmmword [rbp + 0x40]
lea r10, [0x140000000]
xorps xmm15, xmm15
cmp dword [rdi + 0xf8], 0
je 0x14000db4c
xor ebx, ebx
test r14d, r14d
jle 0x14000db4c
xor r12d, r12d
nop dword [rax + rax]
mov eax, ebx
mov ecx, r13d
cdq
idiv esi
sub ecx, eax
mov r8d, edx
lea eax, [r15 + rcx]
cdq
idiv r15d
imul edx, esi
add edx, r8d
cmp ebx, edx
jl 0x14000db36
movsxd rax, edx
lea rdx, [r10 + 0x124fa00]
add rdx, r12
movaps xmmword [rsp + 0x40], xmm14
movsd qword [rsp + 0x50], xmm12
lea rcx, [rax + rax*2]
mov eax, dword [rdi + 0xf8]
lea r9, [rcx*8 + 0x124fa00]
mov dword [rsp + 0x28], eax
lea r8, [rcx*8 + 0xc5ca80]
add r9, r10
lea rcx, [r10 + 0xc5ca80]
add r8, r10
lea rax, [rsp + 0x40]
add rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400050a0
inc ebx
lea r10, [0x140000000]
add r12, 0x18
cmp ebx, r14d
jl 0x14000dac0
mov rcx, qword [rbp + 0x208]
mov edx, 0x5d
call fcn.140026470
cmp dword [rdi + 0xfc], 0
je 0x14000dc02
xor ebx, ebx
test r14d, r14d
jle 0x14000dc02
xor r12d, r12d
lea r13, [0x140000000]
nop
mov eax, ebx
mov ecx, r15d
cdq
idiv esi
sub ecx, eax
mov r8d, edx
mov eax, ecx
cdq
idiv r15d
imul edx, esi
add edx, r8d
cmp ebx, edx
jl 0x14000dbf3
movsxd rax, edx
lea r9, [r13 + 0x124fa00]
lea r8, [r13 + 0xc5ca80]
movaps xmmword [rsp + 0x40], xmm6
lea rdx, [r13 + 0x124fa00]
movsd qword [rsp + 0x50], xmm8
add rdx, r12
lea rcx, [rax + rax*2]
mov eax, dword [rdi + 0xfc]
lea r9, [r9 + rcx*8]
mov dword [rsp + 0x28], eax
lea r8, [r8 + rcx*8]
lea rax, [rsp + 0x40]
lea rcx, [r13 + 0xc5ca80]
mov qword [rsp + 0x20], rax
add rcx, r12
call fcn.1400050a0
inc ebx
add r12, 0x18
cmp ebx, r14d
jl 0x14000db80
mov r13d, dword [rbp + 0x50]
mov rcx, qword [rbp + 0x208]
mov edx, 0x5f
call fcn.140026470
cmp dword [rdi + 0x100], 0
je 0x14000dcac
xor ebx, ebx
test r14d, r14d
jle 0x14000dcac
xor r12d, r12d
lea r15, [0x140000000]
mov eax, ebx
cdq
idiv esi
mov eax, r13d
add edx, edx
sub eax, edx
add eax, ebx
cmp ebx, eax
jl 0x14000dc9d
cdqe
lea r9, [r15 + 0x124fa00]
lea r8, [r15 + 0xc5ca80]
movaps xmmword [rsp + 0x40], xmm11
lea rdx, [r15 + 0x124fa00]
movsd qword [rsp + 0x50], xmm13
add rdx, r12
lea rcx, [rax + rax*2]
mov eax, dword [rdi + 0x100]
lea r9, [r9 + rcx*8]
mov dword [rsp + 0x28], eax
lea r8, [r8 + rcx*8]
lea rax, [rsp + 0x40]
lea rcx, [r15 + 0xc5ca80]
mov qword [rsp + 0x20], rax
add rcx, r12
call fcn.1400050a0
inc ebx
add r12, 0x18
cmp ebx, r14d
jl 0x14000dc35
mov r15d, dword [rbp - 0x40]
mov r13, qword [rbp + 0x208]
mov edx, 0x60
mov rcx, r13
call fcn.140026470
mov rax, qword [rdi + 0xa8]
xor r12d, r12d
movsd xmm0, qword [rax + 0x28]
mulsd xmm0, qword [0x140060a90]
divsd xmm0, qword [0x140060af0]
movsd qword [rbp - 0x30], xmm0
test r14d, r14d
jle 0x14000e161
mov r15, qword [rbp + 0x220]
lea r13, [0x140000000]
xor ebx, ebx
nop dword [rax]
mov eax, r12d
movaps xmmword [rsp + 0x40], xmm6
cdq
movsd qword [rsp + 0x50], xmm8
idiv esi
movd xmm10, edx
cvtdq2pd xmm10, xmm10
mulsd xmm10, xmm7
movd xmm7, eax
cvtdq2pd xmm7, xmm7
mulsd xmm10, xmm9
mulsd xmm7, qword [rbp + 0x70]
movaps xmm0, xmm10
mulsd xmm7, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
movaps xmm1, xmm6
call fcn.14003e850
movaps xmm0, xmm7
movaps xmmword [rbp - 0x80], xmm14
movsd qword [rbp - 0x70], xmm12
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x80]
movaps xmm1, xmm6
call fcn.14003e850
movaps xmm0, xmm10
movaps xmmword [rbp - 0x60], xmm11
movsd qword [rbp - 0x50], xmm13
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm1, xmm0
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14003e850
lea r9, [rbp]
movaps xmmword [rbp], xmm9
lea r8, [rbp - 0x20]
movsd qword [rbp + 0x10], xmm8
lea rdx, [rbp + 0x50]
movaps xmmword [rbp - 0x20], xmm7
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x108]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm0
movsd qword [rbp - 0x10], xmm6
movsd qword [rbp + 0x60], xmm1
call fcn.14003e900
cmp dword [rdi + 0x138], 0
mov rcx, rax
movsd xmm3, qword [0x140060b20]
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
movsd qword [rsp + 0x70], xmm0
je 0x14000de3a
comisd xmm3, xmm1
ja 0x14000de99
cmp dword [rdi + 0x13c], 0
movsd xmm2, qword [0x1400609f8]
je 0x14000de51
comisd xmm1, xmm2
ja 0x14000de99
cmp dword [rdi + 0x140], 0
movsd xmm0, qword [rsp + 0x68]
je 0x14000de66
comisd xmm3, xmm0
ja 0x14000de99
cmp dword [rdi + 0x144], 0
je 0x14000de75
comisd xmm0, xmm2
ja 0x14000de99
cmp dword [rdi + 0x148], 0
movsd xmm0, qword [rsp + 0x70]
je 0x14000de8a
comisd xmm3, xmm0
ja 0x14000de99
cmp dword [rdi + 0x14c], 0
je 0x14000dea0
comisd xmm0, xmm2
jbe 0x14000dea0
mov eax, 1
jmp 0x14000dea2
xor eax, eax
test eax, eax
je 0x14000deef
movaps xmm3, xmm15
lea rcx, [rsp + 0x40]
movaps xmm2, xmm15
movaps xmm1, xmm15
call fcn.14003e7f0
movups xmm2, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movups xmmword [rbx + r13 + 0x124fa00], xmm2
movups xmmword [rbx + r13 + 0xc5ca80], xmm2
movsd qword [rbx + r13 + 0x124fa10], xmm1
movsd qword [rbx + r13 + 0xc5ca90], xmm1
jmp 0x14000e12e
movaps xmmword [rsp + 0x40], xmm1
lea rdx, [rsp + 0x40]
movsd xmm1, qword [rcx + 0x10]
lea rcx, [rbp - 0x60]
movsd qword [rsp + 0x50], xmm1
call fcn.14003e9e0
lea r8, [rbp - 0x80]
lea rcx, [rbp]
movsd xmm1, qword [rax + 0x10]
movups xmm0, xmmword [rax]
movsd qword [rbp - 0x70], xmm1
movsd xmm1, qword [rbp - 0x30]
movaps xmmword [rbp - 0x80], xmm0
call fcn.14003e850
movups xmm0, xmmword [rdi + 0x108]
lea r8, [rsp + 0x40]
movsd xmm1, qword [rdi + 0x118]
lea rdx, [rbp - 0x80]
movups xmm7, xmmword [rax]
lea rcx, [rbp + 0x28]
movsd xmm6, qword [rax + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [r15]
movsd qword [rsp + 0x50], xmm1
movsd xmm1, qword [r15 + 0x10]
movaps xmmword [rbp - 0x80], xmm0
movsd qword [rbp - 0x70], xmm1
call fcn.14003e780
lea rdx, [rbp - 0x60]
movaps xmmword [rbp], xmm7
lea rcx, [rbp]
movsd qword [rbp + 0x10], xmm6
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
call fcn.14003e7c0
movsd xmm1, qword [rbx + r13 + 0x124fa10]
movaps xmm10, xmm0
movups xmm0, xmmword [rbx + r13 + 0x124fa00]
xorps xmm10, xmmword [0x140060b60]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm10
movsd qword [rsp + 0x50], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm1, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.14003e850
movups xmm0, xmmword [rbx + r13 + 0xc5ca80]
movsd xmm1, qword [rbx + r13 + 0xc5ca90]
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmm10
movsd qword [rbp - 0x70], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm1, xmm0
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call fcn.14003e850
lea r8, [rbp - 0x60]
movaps xmmword [rbp - 0x60], xmm7
lea rdx, [rbp]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rbp + 0xa0]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
call fcn.14003e780
movups xmm0, xmmword [rbx + r13 + 0xc5ca80]
movsd xmm1, qword [rbx + r13 + 0xc5ca90]
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm10
movsd qword [rsp + 0x50], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm1, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.14003e850
movups xmm1, xmmword [rbx + r13 + 0x124fa00]
movsd xmm2, qword [rbx + r13 + 0x124fa10]
movaps xmm0, xmm10
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm1
movsd qword [rbp - 0x70], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm1, xmm0
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call fcn.14003e850
lea r8, [rbp - 0x60]
movaps xmmword [rbp - 0x60], xmm7
lea rdx, [rbp]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rbp + 0xa0]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
call fcn.14003e8c0
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movups xmmword [rbx + r13 + 0x124fa00], xmm1
movups xmmword [rbx + r13 + 0xc5ca80], xmm9
movsd qword [rbx + r13 + 0x124fa10], xmm0
movsd qword [rbx + r13 + 0xc5ca90], xmm8
movups xmm6, xmmword [rbp + 0x40]
inc r12d
add rbx, 0x18
movsd xmm8, qword [rbp - 0x38]
movsd xmm9, qword [0x140060a30]
movsd xmm7, qword [rbp + 0x78]
cmp r12d, r14d
jl 0x14000dd00
mov r15d, dword [rbp - 0x40]
mov r13, qword [rbp + 0x208]
mov edx, 0x61
mov rcx, r13
call fcn.140026470
mov r13, qword [rdi + 0xa8]
movsd xmm9, qword [0x140060b30]
cmp dword [r13 + 0xc4], 0
movsd xmm8, qword [r13 + 0xe8]
movaps xmm7, xmm8
addsd xmm7, qword [r13 + 0x138]
je 0x14000e1c8
movups xmm0, xmmword [r13 + 0xc8]
lea rcx, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
call fcn.1400276a0
movsd xmm1, qword [0x140060a58]
movaps xmm6, xmm7
subsd xmm1, xmm0
divsd xmm6, xmm1
jmp 0x14000e1cc
movaps xmm6, xmm9
mov r14, qword [r13 + 0x58]
test r14, r14
je 0x14000e1e6
cmp dword [r14 + 0x38], 0
je 0x14000e1e3
cmp dword [r14 + 0x3c], 0
jne 0x14000e1e6
xor r14d, r14d
mov r12, qword [rbp + 0x200]
lea rdx, str.CST_Farfield_Format_V1_r_n_r_n
mov rcx, r12
call fcn.140012100
lea rax, str.BISTATICRCS
test r14, r14
lea r8, str.FARFIELD
mov rcx, r12
cmovne r8, rax
lea rdx, str.Type______________s_r_n
call fcn.140012100
lea rdx, str.Dimension________2_r_n
mov rcx, r12
call fcn.140012100
mov r8d, esi
lea rdx, str.ThetaSamples______d_r_n
mov rcx, r12
call fcn.140012100
lea ebx, [r15 + 1]
mov rcx, r12
mov r8d, ebx
lea rdx, str.PhiSamples________d_r_n
call fcn.140012100
imul ebx, esi
lea rdx, str.Samples___________d_r_n_r_n
mov rcx, r12
mov r8d, ebx
call fcn.140012100
movaps xmm2, xmm8
lea rdx, str.RadiatedPower_____e_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
movaps xmm2, xmm7
lea rdx, str.AcceptedPower_____e_r_n
movq r8, xmm7
mov rcx, r12
call fcn.140012100
test r14, r14
jne 0x14000e2be
comisd xmm6, xmm15
jbe 0x14000e2be
movaps xmm2, xmm6
lea rdx, str.StimulatedPower___e_r_n
movq r8, xmm6
mov rcx, r12
call fcn.140012100
movsd xmm2, qword [r13 + 0x28]
lea rdx, str._r_nFrequency_________e_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
mov r8, qword [r13 + 0x78]
lea rdx, str._r_nExcitation________s_r_n
mov rcx, r12
call fcn.140012100
mov r8, qword [r13 + 0x18]
lea rdx, str._r_nUserLabel__________s_r_n_r_n
mov rcx, r12
mov r8, qword [r8 + 0x88]
call fcn.140012100
test r14, r14
je 0x14000e84d
movups xmm0, xmmword [r14 + 8]
lea r8, [rsp + 0x40]
movsd xmm2, qword [r14 + 0x18]
lea rcx, [rbp + 0x28]
movaps xmm1, xmm9
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm2
call fcn.14003e850
movsd xmm8, qword [rbp + 0xe0]
lea r8, [rsp + 0x60]
movsd xmm13, qword [rbp + 0x100]
lea rdx, [rbp - 0x20]
movaps xmm10, xmm14
movsd qword [rsp + 0x60], xmm14
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x28]
movsd xmm1, qword [rax + 0x10]
movaps xmm9, xmm11
unpckhpd xmm10, xmm14
unpckhpd xmm9, xmm11
movups xmmword [rbp + 0x50], xmm0
movsd qword [rbp - 0x30], xmm1
movsd qword [rsp + 0x68], xmm10
movsd qword [rsp + 0x70], xmm8
movsd qword [rbp - 0x20], xmm11
movsd qword [rbp - 0x18], xmm9
movsd qword [rbp - 0x10], xmm13
call fcn.14003e720
lea r8, [rbp - 0x20]
movsd qword [rbp - 0x20], xmm14
lea rdx, [rsp + 0x60]
movsd qword [rbp - 0x18], xmm10
lea rcx, [rbp + 0xa0]
movsd qword [rbp - 0x10], xmm8
movsd xmm0, qword [rax + 0x10]
movups xmm7, xmmword [rax]
movsd qword [rbp + 0x90], xmm0
movsd qword [rsp + 0x60], xmm11
movsd qword [rsp + 0x68], xmm9
movsd qword [rsp + 0x70], xmm13
call fcn.14003e720
lea r8, [rbp - 0x20]
movsd qword [rbp - 0x20], xmm14
lea rdx, [rsp + 0x60]
movsd qword [rbp - 0x18], xmm10
lea rcx, [rbp + 0x108]
movsd qword [rbp - 0x10], xmm8
movsd xmm0, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movsd qword [rbp + 0x90], xmm0
movsd qword [rsp + 0x60], xmm11
movsd qword [rsp + 0x68], xmm9
movsd qword [rsp + 0x70], xmm13
call fcn.14003e720
movups xmm2, xmmword [rbp + 0x50]
unpckhpd xmm6, xmm6
movsd xmm1, qword [rax + 0x10]
movaps xmm0, xmm2
mulsd xmm0, xmm7
movaps xmm3, xmm2
movsd xmm7, qword [rbp - 0x30]
unpckhpd xmm3, xmm2
mulsd xmm10, xmm3
movaps xmm12, xmm3
mulsd xmm12, xmm6
mulsd xmm8, xmm7
movaps xmmword [rsp + 0x60], xmm3
addsd xmm12, xmm0
movsd qword [rbp + 0x38], xmm7
movaps xmm0, xmm7
mulsd xmm0, xmm1
addsd xmm12, xmm0
movaps xmm0, xmm14
mulsd xmm0, xmm2
addsd xmm10, xmm0
movaps xmm0, xmm12
mulsd xmm0, xmm12
addsd xmm10, xmm8
movaps xmm1, xmm10
mulsd xmm1, xmm10
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x14000e4c4
xorps xmm6, xmm6
sqrtsd xmm6, xmm1
jmp 0x14000e4d4
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm3, xmmword [rsp + 0x60]
movaps xmm6, xmm0
movups xmm0, xmmword [rbp + 0x50]
movaps xmm1, xmm11
mulsd xmm9, xmm3
mulsd xmm1, xmm0
movaps xmm0, xmm6
mulsd xmm13, xmm7
addsd xmm1, xmm9
addsd xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
comisd xmm6, xmm15
movsd xmm7, qword [0x140060ab0]
movaps xmm8, xmm0
mulsd xmm8, xmm7
movsd qword [rbp + 0x50], xmm8
jbe 0x14000e544
movaps xmm1, xmm10
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm2, xmm0
mulsd xmm2, xmm7
comisd xmm15, xmm2
movsd qword [rbp - 0x30], xmm2
jbe 0x14000e54d
addsd xmm2, qword [0x140060ad0]
jmp 0x14000e548
movaps xmm2, xmm15
movsd qword [rbp - 0x30], xmm2
movups xmm0, xmmword [rbp + 0x40]
movsd xmm1, qword [rbp - 0x38]
movaps xmm10, xmm8
mulsd xmm10, qword [0x140060a30]
movaps xmm11, xmm2
movups xmm12, xmmword [r14 + 0x20]
movsd xmm13, qword [r14 + 0x30]
mulsd xmm11, qword [0x140060a30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm10
movsd qword [rsp + 0x50], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
movaps xmm1, xmm6
call fcn.14003e850
movsd xmm0, qword [rbp + 0x20]
movsd qword [rsp + 0x50], xmm0
movaps xmm0, xmm11
movaps xmmword [rsp + 0x40], xmm14
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm6, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x80]
movaps xmm1, xmm6
call fcn.14003e850
movups xmm0, xmmword [rbp + 0xb8]
movsd xmm1, qword [rbp + 0x98]
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmm10
movsd qword [rsp + 0x50], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm0, xmmword [0x140060b60]
lea r8, [rsp + 0x40]
movaps xmm1, xmm0
lea rcx, [rbp + 0xa0]
call fcn.14003e850
lea r9, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm9
lea r8, [rbp - 0x80]
movsd qword [rsp + 0x50], xmm8
lea rdx, [rbp - 0x60]
movaps xmmword [rbp - 0x80], xmm7
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x108]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x70], xmm6
movsd qword [rbp - 0x50], xmm1
call fcn.14003e900
movups xmm0, xmmword [rbp + 0x40]
movups xmm9, xmmword [rax]
movsd xmm10, qword [rax + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [rbp - 0x38]
movsd qword [rsp + 0x50], xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm1, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.14003e850
movsd xmm0, qword [rbp + 0x20]
movsd qword [rsp + 0x50], xmm0
movaps xmm0, xmm11
movaps xmmword [rsp + 0x40], xmm14
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm0, xmmword [0x140060b60]
lea r8, [rsp + 0x40]
movaps xmm1, xmm0
lea rcx, [rbp + 0x80]
call fcn.14003e850
lea r8, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm7
lea rdx, [rbp - 0x80]
movsd qword [rsp + 0x50], xmm6
lea rcx, [rbp + 0xa0]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm0
movsd qword [rbp - 0x70], xmm1
call fcn.14003e8c0
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm12
movsd qword [rsp + 0x50], xmm13
movups xmm7, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
call fcn.14003e810
movaps xmm2, xmm0
lea rdx, str._r_nWaveAmplitude_____14.6e_r_n
movq r8, xmm0
mov rcx, r12
call fcn.140012100
movsd xmm2, qword [rbp + 0x50]
lea rdx, str.PW_Theta__________7.3f_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
movsd xmm2, qword [rbp - 0x30]
lea rdx, str.PW_Phi____________7.3f_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
movaps xmm2, xmm9
movsd qword [rbp + 0x38], xmm10
unpckhpd xmm2, xmm9
lea rdx, str.PW_EThetaRe_______14.6e_r_n
movaps xmm6, xmm12
mulsd xmm9, xmm12
mov rcx, r12
unpckhpd xmm6, xmm12
mulsd xmm2, xmm6
mulsd xmm10, xmm13
movsd qword [rbp + 0x38], xmm13
addsd xmm2, xmm9
addsd xmm2, xmm10
movq r8, xmm2
call fcn.140012100
movaps xmm2, xmm15
lea rdx, str.PW_EThetaIm_______14.6e_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
movaps xmm2, xmm7
movsd qword [rbp + 0x38], xmm8
unpckhpd xmm2, xmm7
lea rdx, str.PW_EPhiRe_________14.6e_r_n
mulsd xmm2, xmm6
mov rcx, r12
mulsd xmm7, xmm12
mulsd xmm8, xmm13
addsd xmm2, xmm7
addsd xmm2, xmm8
movq r8, xmm2
call fcn.140012100
movaps xmm2, xmm15
lea rdx, str.PW_EPhiIm_________14.6e_r_n_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
movups xmm11, xmmword [rbp + 0xb8]
movsd xmm12, qword [rbp + 0x20]
cmp dword [rdi + 0x15c], 0
je 0x14000e8b9
cmp dword [rdi + 0x160], 0
je 0x14000e8b9
cmp dword [rdi + 0x164], 0
je 0x14000e8b9
mov rbx, qword [rbp + 0x220]
lea rdx, str.Origin_X__________g_r_n
mov rcx, r12
movsd xmm2, qword [rbx]
movq r8, xmm2
call fcn.140012100
movsd xmm2, qword [rbx + 8]
lea rdx, str.Origin_Y__________g_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
movsd xmm2, qword [rbx + 0x10]
lea rdx, str.Origin_Z__________g_r_n_r_n
movq r8, xmm2
mov rcx, r12
call fcn.140012100
xor r14d, r14d
test r15d, r15d
js 0x14000ec33
movups xmm9, xmmword [rbp + 0x40]
movsd xmm10, qword [rbp - 0x38]
movd xmm13, r14d
cvtdq2pd xmm13, xmm13
movaps xmmword [rsp + 0x40], xmm9
mulsd xmm13, qword [rbp + 0x70]
movsd qword [rsp + 0x50], xmm10
movaps xmm8, xmm13
mulsd xmm8, qword [0x140060a30]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm1, xmm0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.14003e850
movaps xmm0, xmm8
movaps xmmword [rbp - 0x80], xmm14
movsd qword [rbp - 0x70], xmm12
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm0, xmmword [0x140060b60]
lea r8, [rbp - 0x80]
movaps xmm1, xmm0
lea rcx, [rbp + 0x80]
call fcn.14003e850
lea r8, [rbp - 0x60]
movaps xmmword [rbp - 0x60], xmm7
lea rdx, [rbp]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rbp + 0xa0]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
call fcn.14003e8c0
xor edi, edi
movsd xmm2, qword [rax + 0x10]
movsd qword [rsp + 0x70], xmm2
movups xmm1, xmmword [rax]
movups xmmword [rsp + 0x60], xmm1
test esi, esi
jle 0x14000ec1f
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movsd qword [rbp - 0x30], xmm0
movaps xmm6, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movsd xmm15, qword [rsp + 0x70]
mov eax, r14d
cdq
movsd qword [rbp + 0x50], xmm0
idiv r15d
movaps xmm7, xmm0
lea r15, [0x140000000]
imul edx, esi
movsxd rax, edx
lea rbx, [rax + rax*2]
shl rbx, 3
nop word [rax + rax]
movsd qword [rsp + 0x50], xmm10
movd xmm12, edi
cvtdq2pd xmm12, xmm12
movaps xmmword [rsp + 0x40], xmm9
mulsd xmm12, qword [rbp + 0x78]
movaps xmm10, xmm12
mulsd xmm10, qword [0x140060a30]
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm0, xmm6
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x28]
movaps xmm1, xmm0
call fcn.14003e850
movsd xmm0, qword [rbp + 0x20]
movsd qword [rbp - 0x70], xmm0
movaps xmm0, xmm10
movaps xmmword [rbp - 0x80], xmm14
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm0, xmm7
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x80]
movaps xmm1, xmm0
call fcn.14003e850
movsd xmm0, qword [rbp + 0x98]
movsd qword [rbp - 0x50], xmm0
movaps xmm0, xmm10
movaps xmmword [rbp - 0x60], xmm11
movups xmm7, xmmword [rax]
movsd xmm6, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm0, xmmword [0x140060b60]
lea r8, [rbp - 0x60]
movaps xmm1, xmm0
lea rcx, [rbp + 0xa0]
call fcn.14003e850
lea r9, [rbp]
movaps xmmword [rbp], xmm9
lea r8, [rbp - 0x20]
movsd qword [rbp + 0x10], xmm8
lea rdx, [rbp + 0xd0]
movaps xmmword [rbp - 0x20], xmm7
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x108]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp + 0xd0], xmm0
movsd qword [rbp - 0x10], xmm6
movsd qword [rbp + 0xe0], xmm1
call fcn.14003e900
movsd xmm2, qword [rbx + r15 + 0x124fa08]
movsd xmm10, qword [rbx + r15 + 0x124fa00]
movaps xmm0, xmm2
mulsd xmm0, qword [rsp + 0x68]
movaps xmm4, xmm10
movups xmm9, xmmword [rax]
mulsd xmm4, qword [rsp + 0x60]
movsd xmm7, qword [rbx + r15 + 0xc5ca88]
movsd xmm8, qword [rbx + r15 + 0xc5ca80]
movsd xmm6, qword [rbx + r15 + 0x124fa10]
movaps xmm3, xmm8
mulsd xmm3, qword [rsp + 0x60]
addsd xmm4, xmm0
movsd xmm5, qword [rbx + r15 + 0xc5ca90]
movaps xmm0, xmm7
mulsd xmm0, qword [rsp + 0x68]
movaps xmm1, xmm6
movsd xmm11, qword [rax + 0x10]
mulsd xmm1, xmm15
addsd xmm3, xmm0
mulsd xmm10, xmm9
movaps xmm0, xmm9
movsd qword [rbp + 0x38], xmm11
addsd xmm4, xmm1
unpckhpd xmm0, xmm9
movaps xmm1, xmm5
mulsd xmm2, xmm0
mulsd xmm1, xmm15
addsd xmm10, xmm2
addsd xmm3, xmm1
movsd qword [rsp + 0x38], xmm4
lea rdx, str._7.3f_t_7.3f_t_14.6e_t_14.6e_t_14.6e_t_14.6e_r_n
movsd qword [rsp + 0x30], xmm3
movaps xmm2, xmm12
mulsd xmm8, xmm9
movaps xmm3, xmm13
mov rcx, r12
mulsd xmm7, xmm0
movq r9, xmm3
mulsd xmm6, xmm11
movq r8, xmm2
mulsd xmm5, xmm11
addsd xmm8, xmm7
addsd xmm10, xmm6
addsd xmm8, xmm5
movsd qword [rsp + 0x28], xmm10
movsd qword [rsp + 0x20], xmm8
call fcn.140012100
movups xmm11, xmmword [rbp + 0xb8]
inc edi
add rbx, 0x18
movsd xmm10, qword [rbp - 0x38]
movsd xmm6, qword [rbp - 0x30]
movsd xmm7, qword [rbp + 0x50]
movups xmm9, xmmword [rbp + 0x40]
cmp edi, esi
jl 0x14000e9e0
movsd xmm12, qword [rbp + 0x20]
mov r15d, dword [rbp - 0x40]
movups xmm11, xmmword [rbp + 0xb8]
inc r14d
cmp r14d, r15d
jle 0x14000e8d0
mov rcx, qword [rbp + 0x208]
mov edx, 0x64
movaps xmm15, xmmword [rsp + 0x220]
movaps xmm14, xmmword [rsp + 0x230]
movaps xmm13, xmmword [rsp + 0x240]
movaps xmm12, xmmword [rsp + 0x250]
movaps xmm11, xmmword [rsp + 0x260]
movaps xmm10, xmmword [rsp + 0x270]
movaps xmm9, xmmword [rsp + 0x280]
movaps xmm8, xmmword [rsp + 0x290]
movaps xmm6, xmmword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2c0]
mov rbx, qword [rsp + 0x310]
movaps xmm7, xmmword [rsp + 0x2a0]
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
jmp fcn.140026470