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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x500
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, rdx
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rcx + 8], xmm0
lea rax, [0x140041650]
mov qword [rsp + 0x20], rax
lea r9, [fcn.140080080]
mov edx, 0x208
mov r8d, 2
lea rcx, [rbp - 0x60]
call fcn.1400c7a8c
nop
mov r8d, 7
lea rdx, str.6_tiled
lea rcx, [rbp - 0x58]
call fcn.140009fd0
mov dword [rbp - 0x60], 0x27e
mov dword [rbp - 0x5c], 0x1b2
movdqa xmm0, xmmword [0x140141100]
movups xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x1401410e0]
movups xmmword [rbp - 0x28], xmm1
movdqa xmm0, xmmword [0x1401410f0]
movups xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x140141160]
movups xmmword [rbp - 8], xmm1
movdqa xmm0, xmmword [0x1401410b0]
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x1401410c0]
movups xmmword [rbp + 0x18], xmm1
movdqa xmm0, xmmword [0x140141450]
movups xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x140141280]
movups xmmword [rbp + 0x38], xmm1
movdqa xmm0, xmmword [0x140141270]
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x88], xmm1
movdqa xmm0, xmmword [0x140140e70]
movups xmmword [rbp + 0x98], xmm0
movdqa xmm1, xmmword [0x140140e80]
movups xmmword [rbp + 0xa8], xmm1
movdqa xmm0, xmmword [0x140140e50]
movups xmmword [rbp + 0xb8], xmm0
movdqa xmm1, xmmword [0x140140e40]
movups xmmword [rbp + 0xc8], xmm1
movdqa xmm0, xmmword [0x140140e30]
movups xmmword [rbp + 0xd8], xmm0
movdqa xmm1, xmmword [0x140141ca0]
movups xmmword [rbp + 0xe8], xmm1
movdqa xmm0, xmmword [0x140141cb0]
movups xmmword [rbp + 0x118], xmm0
movdqa xmm1, xmmword [0x140141250]
movups xmmword [rbp + 0x58], xmm1
movdqa xmm0, xmmword [0x140141220]
movups xmmword [rbp + 0x68], xmm0
movdqa xmm1, xmmword [0x140141230]
movups xmmword [rbp + 0x78], xmm1
movdqa xmm0, xmmword [0x140141b70]
movups xmmword [rbp + 0x158], xmm0
movdqa xmm1, xmmword [0x140141b80]
movups xmmword [rbp + 0x168], xmm1
movdqa xmm0, xmmword [0x140141b90]
movups xmmword [rbp + 0x178], xmm0
movdqa xmm1, xmmword [0x140141ba0]
movups xmmword [rbp + 0x188], xmm1
movdqa xmm0, xmmword [0x140141bb0]
movups xmmword [rbp + 0x198], xmm0
movdqa xmm1, xmmword [0x140141240]
movups xmmword [rbp + 0x148], xmm1
mov r8d, 7
lea rdx, str.default
lea rcx, [rbp + 0x1b0]
call fcn.140009fd0
mov r8d, 0x3fe
mov dword [rbp + 0x1a8], r8d
mov r9d, 0x2b6
mov dword [rbp + 0x1ac], r9d
movdqa xmm0, xmmword [0x140141810]
movaps xmmword [rbp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x1401417f0]
movaps xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x140141800]
movaps xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x1401413c0]
movaps xmmword [rbp + 0x200], xmm1
movdqa xmm0, xmmword [0x140141380]
movaps xmmword [rbp + 0x210], xmm0
movdqa xmm1, xmmword [0x140141390]
movaps xmmword [rbp + 0x220], xmm1
movdqa xmm0, xmmword [0x140141450]
movaps xmmword [rbp + 0x230], xmm0
movdqa xmm1, xmmword [0x140141ae0]
movaps xmmword [rbp + 0x240], xmm1
movdqa xmm0, xmmword [0x140141af0]
movaps xmmword [rbp + 0x250], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp + 0x290], xmm1
movdqa xmm0, xmmword [0x140141090]
movaps xmmword [rbp + 0x2a0], xmm0
movdqa xmm1, xmmword [0x1401410a0]
movaps xmmword [rbp + 0x2b0], xmm1
movdqa xmm0, xmmword [0x140141010]
movaps xmmword [rbp + 0x2c0], xmm0
movdqa xmm1, xmmword [0x140140ff0]
movaps xmmword [rbp + 0x2d0], xmm1
movdqa xmm0, xmmword [0x140141000]
movaps xmmword [rbp + 0x2e0], xmm0
movdqa xmm1, xmmword [0x140141eb0]
movaps xmmword [rbp + 0x2f0], xmm1
movdqa xmm0, xmmword [0x140141ec0]
movaps xmmword [rbp + 0x320], xmm0
movdqa xmm1, xmmword [0x140141950]
movaps xmmword [rbp + 0x260], xmm1
movdqa xmm0, xmmword [0x140141960]
movaps xmmword [rbp + 0x270], xmm0
movdqa xmm1, xmmword [0x140141970]
movaps xmmword [rbp + 0x280], xmm1
movdqa xmm0, xmmword [0x140141ed0]
movaps xmmword [rbp + 0x360], xmm0
movdqa xmm1, xmmword [0x140141ee0]
movaps xmmword [rbp + 0x370], xmm1
movdqa xmm0, xmmword [0x140141ef0]
movaps xmmword [rbp + 0x380], xmm0
movdqa xmm1, xmmword [0x140141f00]
movaps xmmword [rbp + 0x390], xmm1
movdqa xmm0, xmmword [0x140141f10]
movaps xmmword [rbp + 0x3a0], xmm0
movdqa xmm1, xmmword [0x140141440]
movaps xmmword [rbp + 0x350], xmm1
mov edx, 0x7fffffff
mov esi, dword [rbx + 8]
mov ebx, dword [rbx + 0xc]
mov eax, dword [rbp - 0x60]
sub eax, esi
mov ecx, dword [rbp - 0x5c]
sub ecx, ebx
imul ecx, ecx
imul eax, eax
add ecx, eax
cmp ecx, edx
cmovl edx, ecx
sub r8d, esi
sub r9d, ebx
imul r9d, r9d
imul r8d, r8d
add r9d, r8d
lea rdi, [rbp - 0x60]
lea rax, [rbp + 0x1a8]
cmp r9d, edx
cmovl rdi, rax
mov eax, dword [rdi]
mov dword [r13 + 0x18], eax
mov eax, dword [rdi + 4]
mov dword [r13 + 0x1c], eax
lea rdx, [rdi + 8]
lea rcx, [r13 + 0x20]
cmp rcx, rdx
je 0x14007ecff
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14007ecfa
mov rdx, qword [rdx]
call fcn.140009fd0
movd xmm8, esi
cvtdq2pd xmm8, xmm8
movd xmm9, ebx
cvtdq2pd xmm9, xmm9
lea rsi, [rdi + 0x30]
mov r15, r13
sub r15, rdi
mov r12d, 3
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi]
movaps xmm6, xmm8
divsd xmm6, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + 4]
movaps xmm7, xmm9
divsd xmm7, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi - 8]
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x40], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi - 4]
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x44], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi]
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x48], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 4]
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x4c], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + r15 + 0x10], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi]
movaps xmm6, xmm8
divsd xmm6, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + 4]
movaps xmm7, xmm9
divsd xmm7, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x28]
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x50], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x2c]
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x54], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x30]
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x58], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x34]
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x5c], eax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r15 + rsi + 0x40], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi]
movaps xmm6, xmm8
divsd xmm6, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + 4]
movaps xmm7, xmm9
divsd xmm7, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x58]
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x60], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x5c]
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x64], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x60]
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x68], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x64]
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x6c], eax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r15 + rsi + 0x70], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi]
movaps xmm6, xmm8
divsd xmm6, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + 4]
movaps xmm7, xmm9
divsd xmm7, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x88]
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x70], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x8c]
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x74], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x90]
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x78], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x94]
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x7c], eax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + r15 + 0xa0], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi]
movaps xmm6, xmm8
divsd xmm6, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + 4]
movaps xmm7, xmm9
divsd xmm7, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xb8]
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rbp - 0x80], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xbc]
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rbp - 0x7c], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xc0]
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rbp - 0x78], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xc4]
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rbp - 0x74], eax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsi + r15 + 0xd0], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi]
movaps xmm6, xmm8
divsd xmm6, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rdi + 4]
movaps xmm7, xmm9
divsd xmm7, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xe8]
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rbp - 0x70], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xec]
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rbp - 0x6c], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xf0]
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rbp - 0x68], eax
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0xf4]
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rbp - 0x64], eax
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsi + r15 + 0x100], xmm0
lea rbx, [rsi + 0x120]
mov r14d, 2
nop
movd xmm0, dword [rdi]
cvtdq2pd xmm0, xmm0
movaps xmm6, xmm8
divsd xmm6, xmm0
movd xmm1, dword [rdi + 4]
cvtdq2pd xmm1, xmm1
movaps xmm7, xmm9
divsd xmm7, xmm1
movd xmm0, dword [rbx - 8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x30], eax
movd xmm0, dword [rbx - 4]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x34], eax
movd xmm0, dword [rbx]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x38], eax
movd xmm0, dword [rbx + 4]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x3c], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15 + rbx + 0x10], xmm0
lea rbx, [rbx + 0x30]
sub r14, 1
jne 0x14007f090
add rsi, 0x10
sub r12, 1
jne 0x14007ed30
lea rbx, [rdi + 0x1c0]
lea esi, [r14 + 5]
nop dword [rax]
nop dword [rax + rax]
movd xmm0, dword [rdi]
cvtdq2pd xmm0, xmm0
movaps xmm6, xmm8
divsd xmm6, xmm0
movd xmm1, dword [rdi + 4]
cvtdq2pd xmm1, xmm1
movaps xmm7, xmm9
divsd xmm7, xmm1
movd xmm0, dword [rbx - 8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x30], eax
movd xmm0, dword [rbx - 4]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x34], eax
movd xmm0, dword [rbx]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x38], eax
movd xmm0, dword [rbx + 4]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x3c], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15 + rbx + 0x10], xmm0
lea rbx, [rbx + 0x10]
sub rsi, 1
jne 0x14007f150
movd xmm0, dword [rdi]
cvtdq2pd xmm0, xmm0
divsd xmm8, xmm0
movd xmm1, dword [rdi + 4]
cvtdq2pd xmm1, xmm1
divsd xmm9, xmm1
movd xmm0, dword [rdi + 0x1a8]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x30], eax
movd xmm0, dword [rdi + 0x1ac]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_lround]
mov dword [rsp + 0x34], eax
movd xmm0, dword [rdi + 0x1b0]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x38], eax
movd xmm0, dword [rdi + 0x1b4]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
mov dword [rsp + 0x3c], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r13 + 0x1c0], xmm0
lea r9, [0x140041650]
mov edx, 0x208
lea r8d, [rsi + 2]
lea rcx, [rbp - 0x60]
call fcn.1400c79bc
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400c7430
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret