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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x160
mov rax, qword [0x1800cd230]
xor rax, rsp
mov qword [rsp + 0xc0], rax
imul eax, r9d, 0xb22
mov ebx, r9d
mov dword [rsp + 0x58], r9d
mov r10, r8
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x90], rcx
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x20], eax
cmp r9d, eax
ja 0x18004c993
movsxd r9, dword [rsp + 0x20]
mov qword [r11 + 0x18], rbp
mov ebp, 0x72
mov qword [r11 - 0x10], rsi
lea rsi, [0x1800ceab0]
mov qword [r11 - 0x18], rdi
movsxd rdi, dword [rsp + 0x3c]
mov qword [r11 - 0x20], r12
lea r8d, [rbp - 3]
mov r12d, dword [rsp + 0x20]
mov qword [r11 - 0x28], r13
mov r13d, dword [rsp + 0x20]
mov qword [r11 - 0x30], r14
mov r14d, dword [rsp + 0x20]
mov qword [r11 - 0x38], r15
mov r15d, dword [rsp + 0x20]
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movss xmm7, dword [rsp + 0x20]
movaps xmmword [r11 - 0x68], xmm8
movss xmm8, dword [rsp + 0x20]
movaps xmmword [r11 - 0x78], xmm9
movss xmm9, dword [rsp + 0x20]
movaps xmmword [r11 - 0x88], xmm10
movss xmm10, dword [0x1800c46d0]
movaps xmmword [r11 - 0x98], xmm11
mov r11, rdi
movsd xmm11, qword [0x1800c4850]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x28], r9
nop word [rax + rax]
cmp ebx, 0x124c5
ja 0x18004ca7a
je 0x18004ca58
cmp ebx, 0x60e5
ja 0x18004c9ac
je 0x18004c8a1
cmp ebx, 0x37
je 0x18004c86d
cmp ebx, 0xf9
je 0x18004c84f
cmp ebx, 0x2071
je 0x18004c82c
cmp ebx, 0x40ab
jne 0x18004c8f1
movsd xmm0, qword [str.ser32]
mov eax, dword [0x1800bc7d0]
movsd qword [rsp + 0xaa], xmm0
mov dword [rsp + 0xb2], eax
jmp 0x18004c8f1
mov dword [rsp + 0x9f], 0x6f6c6f
mov word [rsp + 0xa2], bp
mov dword [rsp + 0xa8], 0x75
jmp 0x18004c8f1
movdqa xmm0, xmmword [0x1800c4f70]
movups xmmword [0x1800ceab0], xmm0
mov dword [0x1800ceac0], 0x40c90fdb
jmp 0x18004c8f1
mov eax, 0x47
mov word [rsp + 0x98], ax
mov eax, 0x65
mov word [rsp + 0x99], ax
mov eax, 0x74
mov word [rsp + 0x9a], ax
mov dword [rsp + 0x9b], 0x43737953
jmp 0x18004c8f1
movabs rax, 0x6c006c0064
mov dword [rsp + 0xb4], 0x2e
lea r9, [rsp + 0x98]
mov qword [rsp + 0xb6], rax
xor r8d, r8d
lea rcx, [rsp + 0xa8]
mov edx, 0xef
call fcn.180042280
mov ecx, 4
call rax
mov r9, qword [rsp + 0x28]
mov dword [rsp + 0x30], eax
mov r8d, 0x6f
imul eax, dword [rsp + 0x58], 0x96
mov rdx, qword [rsp + 0x68]
mov r10, qword [rsp + 0x88]
mov r11, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
mov edi, dword [rsp + 0x3c]
add ebx, eax
mov dword [rsp + 0x4c], ebx
cmp ebx, dword [rsp + 0x20]
jbe 0x18004c7c0
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x138]
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x180]
movaps xmm11, xmmword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800a7b10
add rsp, 0x160
pop rbx
ret
cmp ebx, 0x811f
je 0x18004ca39
cmp ebx, 0x92df
je 0x18004ca20
cmp ebx, 0xa159
je 0x18004c9f9
cmp ebx, 0xc193
jne 0x18004c8f1
mov eax, dword [rsp + 0x30]
shr eax, 0x10
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm11
cvtpd2ps xmm0, xmm0
movss dword [rdx + 8], xmm0
jmp 0x18004c8f1
movzx eax, word [rsp + 0x30]
shr ax, 8
movzx eax, ax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm11
cvtpd2ps xmm0, xmm0
movss dword [rdx + 4], xmm0
jmp 0x18004c8f1
mov r9, 0xffffffffffffffff
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x28], r9
jmp 0x18004c8f1
movzx eax, byte [rsp + 0x30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm11
cvtpd2ps xmm0, xmm0
movss dword [rdx], xmm0
jmp 0x18004c8f1
mov eax, dword [r10]
mov r8d, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x70], 0
jmp 0x18004cb62
cmp ebx, 0x3fe43
ja 0x18004cba3
je 0x18004cb22
cmp ebx, 0x1b6ab
je 0x18004cb3d
cmp ebx, 0x24891
je 0x18004cb14
cmp ebx, 0x2da77
je 0x18004cac0
cmp ebx, 0x36c5d
jne 0x18004c8f1
mov dword [rcx + 8], 2
jmp 0x18004c8f1
mov r8d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x40]
mov dword [rsp + 0x34], r10d
cmp r8d, 2
jne 0x18004cb2c
cmp edi, 1
je 0x18004cb2c
mov r13d, 1
cmp r11, r13
jle 0x18004c8eb
lea rdx, [r11 + 1]
lea r8, [r11 - 1]
lea rdx, [rcx + rdx*4]
lea r13d, [r8 + 1]
nop dword [rax]
mov eax, dword [rdx - 4]
mov dword [rdx], eax
lea rdx, [rdx - 4]
sub r8, 1
jne 0x18004cb00
jmp 0x18004c8eb
mov eax, dword [rsp + 0x24]
mov dword [rcx + r11*4 + 4], eax
jmp 0x18004c8f1
mov r8d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x34]
mov ebx, 0x3fe43
cmp r10d, 1
je 0x18004c8eb
jmp 0x18004cb47
mov r8d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x34]
mov eax, r10d
mov ebx, 0x1b6ab
cdq
idiv r8d
mov edx, eax
mov dword [rsp + 0x40], eax
imul edx, r8d
cmp r10d, edx
je 0x18004cb90
inc r9
mov ebx, 0x124c5
mov qword [rsp + 0x28], r9
cmp r9, 4
jge 0x18004cb82
mov eax, dword [rsi + r9*4]
mov dword [rsp + 0x24], eax
jmp 0x18004c8eb
add r8d, 2
mov dword [rsp + 0x24], r8d
jmp 0x18004c8eb
inc edi
inc r11
mov dword [rsp + 0x3c], edi
mov qword [rsp + 0x70], r11
jmp 0x18004c8eb
cmp ebx, 0x49029
je 0x18004cdcb
cmp ebx, 0x5220f
je 0x18004cd9e
cmp ebx, 0x5b3f5
je 0x18004cd8e
cmp ebx, 0x645db
jne 0x18004c8f1
movsxd rax, dword [rsp + 0x48]
mov qword [rsp + 0x80], rax
test rax, rax
jle 0x18004c8f1
add rcx, 8
mov qword [rsp + 0x60], rcx
mov r8d, 0x7a
mov dword [rsp + 0x44], r8d
nop dword [rax]
mov eax, r8d
sub eax, 0x7a
je 0x18004cd1d
cmp eax, 0x1c
jne 0x18004cd46
movsxd rcx, dword [rsp + 0x54]
xor r9d, r9d
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x78], rcx
test rcx, rcx
jle 0x18004cd0e
mov qword [rsp + 0x28], rcx
nop word [rax + rax]
mov esi, 0x53
movsxd rdi, r13d
movsxd rbp, r15d
nop dword [rax + rax]
mov eax, esi
sub eax, 0x51
je 0x18004cc85
sub eax, 1
je 0x18004cc6c
cmp eax, 1
jne 0x18004cce5
add r12d, dword [rsp + 0x38]
jmp 0x18004cce5
movd xmm7, r12d
mov r13d, r15d
cvtdq2ps xmm7, xmm7
mov rdi, rbp
xorps xmm8, xmm8
mulss xmm7, xmm9
jmp 0x18004cce5
cmp r14d, 2
jle 0x18004ccdc
lea eax, [r14 - 3]
shr eax, 1
inc eax
mov ebx, eax
lea r13d, [r13 + rax*2]
nop word [rax + rax]
addss xmm8, xmm10
movaps xmm6, xmm8
mulss xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mov rax, qword [rsp + 0x68]
movss dword [rax + rdi*4], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rdx, qword [rsp + 0x68]
movss dword [rdx + rdi*4 + 4], xmm0
add rdi, 2
sub rbx, 1
jne 0x18004cca0
add r15d, r14d
movsxd rax, r14d
add rbp, rax
dec esi
cmp esi, 0x50
ja 0x18004cc50
sub qword [rsp + 0x78], 1
jne 0x18004cc40
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x88]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x38], eax
jmp 0x18004cd4b
mov ecx, dword [rcx]
xor r12d, r12d
mov eax, dword [r10]
mov r9d, ecx
imul r9d, dword [rsp + 0x38]
cdq
idiv r9d
mov dword [rsp + 0x50], r9d
mov r14d, eax
lea eax, [rcx - 1]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x54], eax
mov r9, qword [rsp + 0x28]
add r8d, 0x1c
mov dword [rsp + 0x44], r8d
cmp r8d, 0xb2
jb 0x18004cc00
add rcx, 4
sub qword [rsp + 0x80], 1
mov qword [rsp + 0x60], rcx
jne 0x18004cbf2
mov ebx, dword [rsp + 0x4c]
lea rsi, [0x1800ceab0]
mov ebp, 0x72
jmp 0x18004c8eb
cmp dword [rsp + 0x48], 0
je 0x18004c927
jmp 0x18004c8f1
movd xmm0, dword [r10]
lea eax, [rdi - 1]
movss xmm9, dword [0x1800ceac0]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x38], 1
divss xmm9, xmm0
jmp 0x18004c8f1
mov eax, dword [r10]
mov dword [rcx], eax
mov dword [rcx + 4], edi
jmp 0x18004c8f1