Function at 0x180004420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x180019008]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12d, r9d
mov r13d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rbp + 0x230]
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp + 0x238]
mov qword [rbp - 0x70], rcx
mov eax, dword [rdx]
mov dword [rsp + 0x24], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x20], eax
mov r15d, dword [rdx + 0x20]
mov dword [rsp + 0x58], r15d
xor r14d, r14d
mov qword [rbp - 0x4c], r14
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x40], r14
mov eax, 0x10
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x38], 0xa
mov dword [rbp - 0x34], 0x3ff
lea rcx, [rbp - 0x50]
call sym.ImgProcLib.dll_public:_void___cdecl_CCFAImage::InitParameters_void____ptr64
nop
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.ImgLib.dll_public:_bool___cdecl_CCFAImage::Copy_class_CCFAImage____ptr64____ptr64]
lea ebx, [r12 + r13*2]
xor r9d, r9d
mov r8d, ebx
lea rdx, [rbp - 0x50]
mov rcx, rdi
call sym.ImgProcLib.dll_protected:_int___cdecl_QPDRatioImbalanceCalibration::changeImgCFAPattern_class_CCFAImage____ptr64__int__int____ptr64
movzx r11d, word [rsi + 0xee]
movsxd rcx, dword [rsp + 0x24]
mov rdi, rcx
cmp ebx, r11d
je 0x1800046a2
mov eax, r11d
and eax, 1
mov esi, dword [rsp + 0x20]
cmp r12d, eax
je 0x1800045cc
mov r9d, r14d
test esi, esi
jle 0x1800045cc
lea eax, [rcx - 2]
movsxd r10, eax
nop word [rax + rax]
mov r8, r14
test r10, r10
jle 0x180004586
nop dword [rax + rax]
mov eax, dword [rbp - 0x50]
imul eax, dword [rbp - 0x48]
imul eax, r9d
movsxd rdx, eax
add rdx, r8
mov rcx, qword [rbp - 0x40]
movzx eax, word [rcx + rdx*2 + 4]
mov word [rcx + rdx*2], ax
inc r8
cmp r8, r10
jl 0x180004560
mov eax, dword [rbp - 0x50]
imul eax, dword [rbp - 0x48]
imul eax, r9d
movsxd rdx, eax
add rdx, rdi
mov rcx, qword [rbp - 0x40]
movzx eax, word [rcx + rdx*2 - 0xc]
mov word [rcx + rdx*2 - 4], ax
mov eax, dword [rbp - 0x50]
imul eax, dword [rbp - 0x48]
imul eax, r9d
movsxd rdx, eax
add rdx, rdi
mov rcx, qword [rbp - 0x40]
movzx eax, word [rcx + rdx*2 - 0xa]
mov word [rcx + rdx*2 - 2], ax
inc r9d
cmp r9d, esi
jl 0x180004550
shr r11d, 1
and r11d, 1
cmp r13d, r11d
je 0x1800046a2
lea r11d, [rsi - 2]
mov r10d, r14d
test r11d, r11d
jle 0x18000462f
mov r9, r14
test rdi, rdi
jle 0x180004627
lea ecx, [r10 + 2]
mov edx, dword [rbp - 0x50]
imul ecx, edx
imul ecx, dword [rbp - 0x48]
movsxd r8, ecx
add r8, r9
imul edx, dword [rbp - 0x48]
imul edx, r10d
movsxd rdx, edx
add rdx, r9
mov rcx, qword [rbp - 0x40]
movzx eax, word [rcx + r8*2]
mov word [rcx + rdx*2], ax
inc r9
cmp r9, rdi
jl 0x1800045f0
inc r10d
cmp r10d, r11d
jl 0x1800045e8
test rdi, rdi
jle 0x1800046a2
mov r9, r14
lea r10d, [rsi - 6]
lea ebx, [rsi - 5]
dec esi
mov edx, dword [rbp - 0x50]
mov eax, edx
imul eax, dword [rbp - 0x48]
imul eax, r10d
movsxd r8, eax
add r8, r9
imul edx, dword [rbp - 0x48]
imul edx, r11d
movsxd rdx, edx
add rdx, r9
mov rcx, qword [rbp - 0x40]
movzx eax, word [rcx + r8*2]
mov word [rcx + rdx*2], ax
mov edx, dword [rbp - 0x50]
mov eax, edx
imul eax, dword [rbp - 0x48]
imul eax, ebx
movsxd r8, eax
add r8, r9
imul edx, dword [rbp - 0x48]
imul edx, esi
movsxd rdx, edx
add rdx, r9
mov rcx, qword [rbp - 0x40]
movzx eax, word [rcx + r8*2]
mov word [rcx + rdx*2], ax
inc r9
cmp r9, rdi
jl 0x180004640
mov eax, dword [rsp + 0x24]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [rsp + 0x38], eax
mov r12d, dword [rsp + 0x20]
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
imul eax, ebx
movsxd rcx, eax
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180010790
mov qword [rsp + 0x68], rax
mov r13d, r14d
test r12d, r12d
jle 0x1800047d9
mov rcx, qword [rbp - 0x40]
mov edx, dword [rbp - 0x48]
mov r8d, dword [rbp - 0x50]
nop dword [rax + rax]
mov eax, r8d
imul eax, edx
imul eax, r13d
cdqe
lea rsi, [rcx + rax*2]
lea eax, [r13 + 1]
imul eax, r8d
imul eax, edx
cdqe
lea r10, [rcx + rax*2]
mov r11d, r14d
test rdi, rdi
jle 0x1800047cc
mov r12d, r13d
shr r12d, 1
imul r12d, ebx
lea r9, [r10 + 2]
sub rsi, r10
lea r10, [rdi - 1]
shr r10, 1
inc r10
mov rbx, qword [rsp + 0x68]
nop dword [rax]
movzx r8d, word [rsi + r9 - 2]
sub r8d, r15d
movzx eax, word [rsi + r9]
sub eax, r15d
movzx edx, word [r9 - 2]
sub edx, r15d
movzx ecx, word [r9]
sub ecx, r15d
test edx, edx
cmovle edx, r14d
test eax, eax
cmovle eax, r14d
add eax, edx
test r8d, r8d
cmovle r8d, r14d
add eax, r8d
test ecx, ecx
cmovle ecx, r14d
add eax, ecx
mov ecx, 1
cmp eax, ecx
cmovg ecx, eax
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
add eax, r12d
cdqe
mov dword [rbx + rax*4], ecx
add r11d, 2
lea r9, [r9 + 4]
sub r10, 1
jne 0x180004750
mov rcx, qword [rbp - 0x40]
mov edx, dword [rbp - 0x48]
mov r8d, dword [rbp - 0x50]
mov ebx, dword [rsp + 0x38]
mov r12d, dword [rsp + 0x20]
add r13d, 2
cmp r13d, r12d
jl 0x180004700
mov eax, dword [rsp + 0x24]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
movsxd rdi, eax
mov dword [rsp + 0x60], edi
mov eax, 0x2aaaaaab
imul r12d
mov ebx, edx
sar ebx, 2
mov eax, ebx
shr eax, 0x1f
add ebx, eax
mov dword [rsp + 0x34], ebx
mov ecx, 0x18000
call fcn.180010790
mov r15, rax
xor edx, edx
mov r8d, 0x18000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0xc000
call fcn.180010790
mov r12, rax
xor edx, edx
mov r8d, 0xc000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rsi, rdi
mov qword [rbp - 0x80], rdi
mov dword [rsp + 0x30], r14d
mov ecx, r14d
mov dword [rsp + 0x48], ecx
movsd xmm9, qword [0x180013de0]
movsd xmm11, qword [0x180013e00]
nop dword [rax]
nop dword [rax + rax]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
mulsd xmm0, xmm11
cvttsd2si eax, xmm0
mov dword [rsp + 0x3c], eax
movd xmm10, eax
pshufd xmm10, xmm10, 0
mov r13d, r14d
mov dword [rsp + 0x2c], r14d
mov eax, r14d
mov dword [rsp + 0x44], eax
nop word [rax + rax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
mulsd xmm0, xmm11
cvttsd2si r9d, xmm0
mov dword [rsp + 0x40], r9d
mov r8d, r14d
mov dword [rsp + 0x28], r14d
test ebx, ebx
jle 0x180004b59
mov r11, qword [rbp - 0x40]
mov ebx, dword [rbp - 0x48]
mov edi, dword [rbp - 0x50]
mov r13d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
nop word [rax + rax]
lea r10d, [r8 + r13]
mov dword [rsp + 0x5c], r10d
lea eax, [r10 + 3]
cmp eax, ecx
jge 0x180004b33
mov ecx, r14d
mov rdx, r14
cmp dword [0x180019018], 2
jl 0x1800049b3
movdqa xmm8, xmmword [0x180013e90]
movd xmm6, ebx
pshufd xmm6, xmm6, 0
movd xmm7, edi
pshufd xmm7, xmm7, 0
movq xmm5, r11
punpcklqdq xmm5, xmm5
nop dword [rax]
movq xmm4, xmm6
movq xmm2, xmm7
lea eax, [rcx + r8]
movd xmm3, eax
pshufd xmm3, xmm3, 0
movdqa xmm0, xmmword [rbp - 0x60]
movsd xmm0, xmm8
movdqa xmmword [rbp - 0x60], xmm0
paddd xmm3, xmm0
movq xmm0, xmm10
paddd xmm3, xmm0
pmulld xmm3, xmm2
pmulld xmm3, xmm4
pmovsxdq xmm0, xmm3
paddq xmm0, xmm0
paddq xmm0, xmm5
movdqu xmmword [rbp + rdx*8 + 0x130], xmm0
add ecx, 2
add rdx, 2
cmp ecx, 4
jl 0x180004950
cmp rdx, 4
jge 0x1800049f5
mov r9d, edi
imul r9d, ebx
add r8d, ecx
add r8d, r13d
imul r8d, edi
imul r8d, ebx
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [r11 + rax*2]
mov qword [rbp + rdx*8 + 0x130], rcx
add r8d, r9d
inc rdx
cmp rdx, 4
jl 0x1800049d0
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x40]
mov rcx, r14
mov qword [rsp + 0x70], rcx
test rsi, rsi
jle 0x180004b2f
mov r13d, r9d
movsxd rax, r9d
lea r11, [rax + rax]
mov qword [rsp + 0x50], r11
mov edx, dword [rsp + 0x24]
nop dword [rax]
lea eax, [r13 + 3]
cmp eax, edx
jge 0x180004afc
mov r8d, r14d
lea rdi, [rbp + 0x130]
mov esi, dword [rsp + 0x2c]
add esi, dword [rsp + 0x30]
nop
mov r9, r14
lea eax, [r10 + r8]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
imul ebx, dword [rsp + 0x38]
mov r10d, r13d
add r11, qword [rdi]
mov ecx, esi
nop dword [rax + rax]
movzx eax, word [r11]
sub eax, dword [rsp + 0x58]
test eax, eax
cmovle eax, r14d
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
add eax, ebx
cdqe
mov rdx, qword [rsp + 0x68]
movd xmm0, dword [rdx + rax*4]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
divsd xmm1, xmm0
cmp ecx, 0x3000
jge 0x1800054bf
movsxd rax, ecx
addsd xmm1, qword [r15 + rax*8]
movsd qword [r15 + rax*8], xmm1
inc dword [r12 + rax*4]
add ecx, 0x300
inc r10d
inc r9
add r11, 2
cmp r9, 4
jl 0x180004a60
inc r8d
add esi, 0xc00
add rdi, 8
cmp r8d, 4
mov r11, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x5c]
jl 0x180004a40
mov rcx, qword [rsp + 0x70]
mov rsi, qword [rbp - 0x80]
mov edx, dword [rsp + 0x24]
add r13d, 4
add rcx, 4
mov qword [rsp + 0x70], rcx
add r11, 8
mov qword [rsp + 0x50], r11
cmp rcx, rsi
jl 0x180004a20
mov r11, qword [rbp - 0x40]
mov ebx, dword [rbp - 0x48]
mov edi, dword [rbp - 0x50]
mov r8d, dword [rsp + 0x28]
mov r13d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
add r8d, 4
mov dword [rsp + 0x28], r8d
cmp r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x40]
jl 0x180004900
mov r13d, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x34]
mov edi, dword [rsp + 0x60]
inc r13d
mov dword [rsp + 0x2c], r13d
mov eax, dword [rsp + 0x44]
add eax, edi
mov dword [rsp + 0x44], eax
cmp r13d, 0x20
jl 0x1800048b0
mov ecx, dword [rsp + 0x48]
add ecx, ebx
mov dword [rsp + 0x48], ecx
mov ebx, dword [rsp + 0x30]
add ebx, 0x20
mov dword [rsp + 0x30], ebx
cmp ebx, 0x300
mov ebx, dword [rsp + 0x34]
jl 0x180004870
mov rcx, qword [rsp + 0x68]
call fcn.180010744
mov r9d, r14d
nop word [rax + rax]
mov r8d, r14d
nop dword [rax]
nop word [rax + rax]
mov edx, r14d
lea eax, [r9 + r8]
nop word [rax + rax]
movsxd rcx, eax
movsd xmm1, qword [r15 + rcx*8]
movd xmm0, dword [r12 + rcx*4]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cmp eax, 0x3000
jge 0x1800054bf
movsd qword [r15 + rcx*8], xmm1
inc edx
add eax, 0x300
cmp edx, 0x10
jl 0x180004bd0
inc r8d
cmp r8d, 0x20
jl 0x180004bc0
add r9d, 0x20
cmp r9d, 0x300
jl 0x180004bb0
test r12, r12
je 0x180004c27
mov rcx, r12
call fcn.180010744
mov ecx, 0x18000
call fcn.180010790
mov rsi, rax
xor edx, edx
mov r8d, 0x18000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r11d, r14d
mov r10d, r14d
movsd xmm2, qword [0x180013dd0]
movsd xmm3, qword [0x180013e10]
nop word [rax + rax]
mov r9d, r14d
mov r8d, r10d
mov edx, r11d
nop dword [rax]
mov ecx, r8d
nop dword [rax]
nop word [rax + rax]
movsxd rax, ecx
movsd xmm0, qword [r15 + rax*8]
maxsd xmm0, xmm2
movaps xmm1, xmm3
divsd xmm1, xmm0
cmp ecx, 0x3000
jge 0x1800054bf
movsd qword [rsi + rax*8], xmm1
inc ecx
lea eax, [rdx + rcx]
cmp eax, 0x20
jl 0x180004c80
inc r9d
add r8d, 0x20
sub edx, 0x20
cmp r9d, 0x18
jl 0x180004c70
add r10d, 0x300
sub r11d, 0x300
cmp r10d, 0x3000
jl 0x180004c60
test r15, r15
je 0x180004ce3
mov rcx, r15
call fcn.180010744
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
lea r12, [rbp + 0x130]
lea rbx, [rsi + 0x10]
mov r13d, 0x10
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r12]
mov r15d, 0x18
nop word [rax + rax]
mov edi, 2
nop word [rax + rax]
movsd xmm0, qword [rbx - 0x10]
mov ecx, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004d60
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx - 8]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004d7e
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004d9b
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 8]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004db9
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x10]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004dd7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x18]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004df5
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x20]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004e13
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x28]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004e31
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x30]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004e4f
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x38]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004e6d
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x40]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004e8b
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x48]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004ea9
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x50]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004ec7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x58]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004ee5
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x60]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004f03
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov ecx, eax
movsd xmm0, qword [rbx + 0x68]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x180004f1f
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
sub rbx, 0xffffffffffffff80
sub rdi, 1
jne 0x180004d40
sub r15, 1
jne 0x180004d30
mov dword [r12], eax
add r12, 4
sub r13, 1
jne 0x180004d20
mov r11d, r14d
mov r10d, r14d
lea rbx, [rbp + 0x130]
mov rdi, qword [rbp - 0x78]
sub rbx, rdi
movsd xmm2, qword [0x180013e18]
nop word [rax + rax]
mov ecx, pe_nt_image_headers64
cmp dword [rbx + rdi], ecx
cmovge ecx, dword [rbx + rdi]
mov dword [rdi], ecx
mov r9d, r14d
mov r8d, r10d
mov edx, r11d
nop word [rax + rax]
mov ecx, r8d
nop dword [rax]
nop word [rax + rax]
movsxd rax, ecx
movsd xmm1, qword [rsi + rax*8]
mulsd xmm1, xmm2
movd xmm0, dword [rdi]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cmp ecx, 0x3000
jge 0x1800054bf
movsd qword [rsi + rax*8], xmm1
inc ecx
lea eax, [rdx + rcx]
cmp eax, 0x20
jl 0x180004fa0
inc r9d
add r8d, 0x20
sub edx, 0x20
cmp r9d, 0x18
jl 0x180004f90
add r10d, 0x300
sub r11d, 0x300
add rdi, 4
cmp r10d, 0x3000
jl 0x180004f70
mov qword [rsp + 0x50], 0x2e2
mov rax, qword [rbp - 0x70]
lea rdi, [rax + 0x40]
lea r13, [rax + 0x88]
lea r15, [rsi + 0x110]
lea r12, [rsi + 0x4f8]
movsd xmm2, qword [0x180013de8]
lea r10, [rdi + 8]
mov r11, r15
mov ebx, 0xb
nop dword [rax]
mov r8, r10
mov rdx, r11
mov r9d, 0xf
nop dword [rax]
xorps xmm1, xmm1
mov rax, rdx
mov ecx, 2
nop dword [rax + rax]
addsd xmm1, qword [rax - 8]
movsd xmm0, qword [rax]
addsd xmm0, xmm1
movaps xmm1, xmm0
add rax, 0x100
sub rcx, 1
jne 0x180005060
mulsd xmm1, xmm9
cvttsd2si eax, xmm1
mov dword [r8], eax
add rdx, 0x10
add r8, 4
sub r9, 1
jne 0x180005050
add r11, 0x200
add r10, 0x44
sub rbx, 1
jne 0x180005040
cvttsd2si eax, qword [r15 - 0x110]
mov dword [rdi - 0x40], eax
cvttsd2si eax, qword [r15 - 0x18]
mov dword [rdi], eax
cvttsd2si eax, qword [r12 + 0x1208]
mov dword [rdi + 0x2f0], eax
cvttsd2si eax, qword [r12 + 0x1300]
mov dword [rdi + 0x330], eax
movsd xmm0, qword [r12 - 0x3f8]
addsd xmm0, qword [r12 - 0x2f8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 - 0x44], eax
movsd xmm1, qword [r12 - 0x300]
addsd xmm1, qword [r12 - 0x200]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 - 4], eax
movsd xmm0, qword [r12 - 0x1f8]
addsd xmm0, qword [r12 - 0xf8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13], eax
movsd xmm1, qword [r12 - 0x100]
addsd xmm1, qword [r12]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 + 0x40], eax
movsd xmm0, qword [r12 + 0x108]
addsd xmm0, qword [r12 + 8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0x44], eax
movsd xmm1, qword [r12 + 0x200]
addsd xmm1, qword [r12 + 0x100]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 + 0x84], eax
movsd xmm0, qword [r12 + 0x308]
addsd xmm0, qword [r12 + 0x208]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0x88], eax
movsd xmm1, qword [r12 + 0x400]
addsd xmm1, qword [r12 + 0x300]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 + 0xc8], eax
movsd xmm0, qword [r12 + 0x508]
addsd xmm0, qword [r12 + 0x408]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0xcc], eax
movsd xmm1, qword [r12 + 0x600]
addsd xmm1, qword [r12 + 0x500]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 + 0x10c], eax
movsd xmm0, qword [r12 + 0x708]
addsd xmm0, qword [r12 + 0x608]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0x110], eax
movsd xmm1, qword [r12 + 0x800]
addsd xmm1, qword [r12 + 0x700]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 + 0x150], eax
movsd xmm0, qword [r12 + 0x908]
addsd xmm0, qword [r12 + 0x808]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0x154], eax
movsd xmm1, qword [r12 + 0xa00]
addsd xmm1, qword [r12 + 0x900]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [r13 + 0x194], eax
movsd xmm0, qword [r12 + 0xb08]
addsd xmm0, qword [r12 + 0xa08]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0x198], eax
movsd xmm0, qword [r12 + 0xc00]
addsd xmm0, qword [r12 + 0xb00]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [r13 + 0x1d8], eax
lea rdx, [rdi + 0x224]
lea rcx, [r15 + 0xff0]
lea r8d, [r9 + 3]
mov r9d, 0x20
movsd xmm0, qword [rcx + r9*8]
addsd xmm0, qword [rcx]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx], eax
movsd xmm0, qword [rcx + r9*8 + 0xf8]
addsd xmm0, qword [rcx + 0xf8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx + 0x40], eax
add rdx, 0x44
add rcx, 0x200
sub r8, 1
jne 0x18000530d
lea rdx, [rdi + 0x2f4]
lea rcx, [r15 + 0x15f8]
mov r8d, 3
nop dword [rax]
nop word [rax + rax]
movsd xmm0, qword [rcx - 0x1700]
addsd xmm0, qword [rcx - 0x16f8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx - 0x330], eax
movsd xmm1, qword [rcx + 8]
addsd xmm1, qword [rcx]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [rdx], eax
movsd xmm0, qword [rcx - 0x16f0]
addsd xmm0, qword [rcx - 0x16e8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx - 0x32c], eax
movsd xmm1, qword [rcx + 0x18]
addsd xmm1, qword [rcx + 0x10]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [rdx + 4], eax
movsd xmm0, qword [rcx - 0x16e0]
addsd xmm0, qword [rcx - 0x16d8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx - 0x328], eax
movsd xmm1, qword [rcx + 0x28]
addsd xmm1, qword [rcx + 0x20]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [rdx + 8], eax
movsd xmm0, qword [rcx - 0x16d0]
addsd xmm0, qword [rcx - 0x16c8]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx - 0x324], eax
movsd xmm1, qword [rcx + 0x38]
addsd xmm1, qword [rcx + 0x30]
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [rdx + 0xc], eax
movsd xmm0, qword [rcx - 0x16b8]
addsd xmm0, qword [rcx - 0x16c0]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx - 0x320], eax
movsd xmm0, qword [rcx + 0x48]
addsd xmm0, qword [rcx + 0x40]
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [rdx + 0x10], eax
add rcx, 0x50
add rdx, 0x14
sub r8, 1
jne 0x180005370
add r12, 0x1800
add r15, 0x1800
add qword [rsp + 0x50], 0x300
add r13, 0x374
add rdi, 0x374
sub qword [rsp + 0x78], 1
jne 0x180005030
test rsi, rsi
je 0x1800054c5
mov rcx, rsi
call fcn.180010744
jmp 0x1800054c5
mov r14d, 0xffffffff
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800054d3
call fcn.180010744
mov eax, r14d
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180010720
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret