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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov dword [rax + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x128
movaps xmmword [rax - 0x58], xmm6
mov r15, rdx
movaps xmmword [rax - 0x68], xmm7
mov rbx, r9
movaps xmmword [rax - 0x78], xmm8
mov r14, r8
movaps xmmword [rax - 0x88], xmm9
mov edx, ecx
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
imul edi, ecx, 0x51e
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x6c], edi
cmp ecx, edi
ja 0x180026d12
mov r12, qword [rsp + 0x198]
lea r13, [0x1800c2b90]
movss xmm1, dword [0x18034d268]
movsd xmm6, qword [0x18034d340]
movsd xmm9, qword [0x18034d390]
movsd xmm7, qword [0x18034d408]
movss xmm13, dword [0x18034d20c]
movss xmm14, dword [0x18034d3f0]
movss xmm15, dword [0x18034d218]
movss xmm8, dword [0x18034d50c]
movsd xmm10, qword [0x18034d478]
movss xmm11, dword [rsp + 0x170]
movss xmm12, dword [rsp + 0x170]
mov edi, dword [rsp + 0x34]
cmp edx, 0x12f11
ja 0x18002671c
je 0x1800266c8
cmp edx, 0x3c
je 0x180026687
cmp edx, 0x127
je 0x1800265ee
cmp edx, 0x1ef0
je 0x1800265b1
cmp edx, 0x3da4
je 0x180026fa5
cmp edx, 0x981c
jne 0x180026cf7
mov ecx, dword [r12 + 0x3c]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [r15]
inc ecx
mov edx, 1
shl edx, cl
xorps xmm6, xmm6
mulss xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [r14]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm6, edx
mulsd xmm0, qword [0x18034d340]
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, xmm9
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rbx]
subsd xmm0, xmm7
mulsd xmm0, xmm6
subsd xmm0, xmm1
xorps xmm1, xmm1
cvttsd2si ebx, xmm0
xorps xmm0, xmm0
mov dword [r12 + 0x38], ebx
cvtsi2ss xmm0, dword [r15]
mov eax, dword [r14]
cvtsi2ss xmm1, eax
addss xmm1, dword [0x18034d268]
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
mulsd xmm0, qword [0x18034d340]
cvtsi2sd xmm1, eax
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, xmm9
subsd xmm0, xmm7
mulsd xmm0, xmm6
movsd xmm6, qword [0x18034d340]
addsd xmm0, xmm6
cvttsd2si eax, xmm0
sub eax, ebx
inc eax
mov dword [r12 + 0x44], eax
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x188]
jmp 0x180026cf7
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov ecx, 0x4f
mov qword [rsp + 0x48], 1
call fcn.1800b86a0
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0x58], rax
jmp 0x180026cf7
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0xffffff9d
movups xmmword [r12], xmm0
mov dword [rsp + 0x44], 1
movups xmmword [r12 + 0x10], xmm0
movups xmmword [r12 + 0x20], xmm0
movups xmmword [r12 + 0x30], xmm0
movups xmmword [r12 + 0x40], xmm0
mov eax, dword [rbx]
mov dword [r12 + 0x40], eax
movd xmm0, dword [rbx]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x18034d504]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movaps xmm6, xmm0
movss xmm0, dword [0x18034d3a8]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
divss xmm6, xmm0
addss xmm6, dword [0x18034d28c]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
subss xmm0, dword [0x18034d2e8]
movsd xmm6, qword [0x18034d340]
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
cvttss2si eax, xmm0
mov dword [r12 + 0x3c], eax
jmp 0x180026cf7
mov rax, qword [r12]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x190]
mov edx, 0x60
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
call fcn.180032ee0
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0x70], rax
jmp 0x180026cf7
movsxd rcx, dword [r14]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r12 + 0x20], rax
movsxd rcx, dword [r14]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r12 + 0x28], rax
movsxd rcx, dword [r14]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov qword [r12 + 0x30], rax
mov rax, qword [rsp + 0x190]
mov qword [r12 + 8], rax
jmp 0x180026cf7
cmp edx, 0x1c606
je 0x180026f88
cmp edx, 0x25cfb
je 0x180026d6a
cmp edx, 0x2f3f0
je 0x180026a50
cmp edx, 0x38ae5
jne 0x180026cf7
mov eax, dword [r14]
xor ebx, ebx
test eax, eax
jle 0x1800267d8
xor esi, esi
nop dword [rax + rax]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [r15]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
mulsd xmm0, xmm1
divsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mov ecx, dword [r12 + 0x3c]
mov edx, 1
mov rax, qword [r12 + 0x28]
inc ecx
shl edx, cl
inc ebx
mulsd xmm0, xmm9
movd xmm1, edx
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm7
mulsd xmm0, xmm1
movss xmm1, dword [0x18034d268]
addsd xmm0, xmm6
cvttsd2si ecx, xmm0
mov dword [rsi + rax], ecx
add rsi, 4
mov eax, dword [r14]
cmp ebx, eax
jl 0x180026760
mov rcx, qword [rsp + 0x190]
lea r8, [rsp + 0x60]
movd xmm2, dword [r15]
lea rdx, [rsp + 0x48]
cvtdq2pd xmm2, xmm2
mov dword [rsp + 0x60], eax
mov r9d, 0x7d
movss xmm0, dword [rcx + 0x1c]
movss xmm1, dword [rcx + 0x18]
movss dword [rsp + 0x48], xmm0
movd xmm0, eax
lea rax, [rcx + 0x24]
cvtdq2pd xmm0, xmm0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mulsd xmm2, xmm6
movss dword [rsp + 0x50], xmm1
divsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
movss dword [rsp + 0x38], xmm0
call fcn.18009fa10
mov ecx, 0x18
mov qword [r12 + 0x10], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r12 + 0x18], rax
xor ebx, ebx
movsxd rcx, dword [r14]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [r12 + 0x18]
mov qword [rbx + rcx], rax
add rbx, 8
cmp rbx, 0x18
jl 0x180026861
xor ebp, ebp
mov dword [rsp + 0x38], ebp
cmp dword [r14], ebp
jle 0x180026598
xor esi, esi
movd xmm6, ebp
mov ebx, 0x19
mov ebp, dword [rsp + 0x68]
cvtdq2pd xmm6, xmm6
addsd xmm6, qword [0x18034d340]
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x19
je 0x1800269be
sub eax, 1
je 0x1800269a7
cmp eax, 1
jne 0x180026a05
mov rax, qword [r12 + 8]
xorps xmm0, xmm0
movsd xmm3, qword [0x18034d378]
xorps xmm1, xmm1
cvtss2sd xmm0, xmm12
movsxd rdx, ebp
mov edi, 3
movss xmm2, dword [rax + rdx*4 + 0x84]
subsd xmm3, xmm0
movaps xmm0, xmm12
mulss xmm0, dword [rax + rdx*4 + 0x88]
mov rax, qword [r12 + 0x18]
cvtps2pd xmm2, xmm2
mov rcx, qword [rax]
cvtss2sd xmm1, xmm0
mulsd xmm2, xmm3
addsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
xorps xmm2, xmm2
movss dword [rsi + rcx], xmm0
movaps xmm0, xmm12
mov rax, qword [r12 + 8]
mulss xmm0, dword [rax + rdx*4 + 0xcc]
movss xmm1, dword [rax + rdx*4 + 0xc8]
mov rax, qword [r12 + 0x18]
cvtss2sd xmm2, xmm0
mov rcx, qword [rax + 8]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
addsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
xorps xmm2, xmm2
movss dword [rsi + rcx], xmm0
movaps xmm0, xmm12
mov rax, qword [r12 + 8]
mulss xmm0, dword [rax + rdx*4 + 0x110]
movss xmm1, dword [rax + rdx*4 + 0x10c]
mov rax, qword [r12 + 0x18]
cvtss2sd xmm2, xmm0
mov rcx, qword [rax + 0x10]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
addsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movss dword [rsi + rcx], xmm0
jmp 0x180026a05
cvttss2si ebp, xmm11
movaps xmm12, xmm11
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
subss xmm12, xmm0
jmp 0x180026a05
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, dword [r15]
cvtsi2sd xmm1, dword [r14]
mulsd xmm0, xmm6
addsd xmm1, xmm1
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movss xmm11, dword [0x18034d510]
xorps xmm1, xmm1
mulsd xmm0, xmm9
subsd xmm0, xmm7
addsd xmm0, xmm0
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
minss xmm11, xmm1
inc ebx
cmp ebx, 0x1c
jb 0x1800268b0
mov dword [rsp + 0x68], ebp
add rsi, 4
mov ebp, dword [rsp + 0x38]
inc ebp
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x38], ebp
cmp ebp, dword [r14]
jl 0x180026892
movsd xmm6, qword [0x18034d340]
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x188]
jmp 0x180026cf7
mov ecx, dword [r14]
mov r13d, ecx
cmp edi, ecx
jge 0x180026a95
movsxd rax, edi
lea rdx, [rax*4]
nop word [rax + rax]
mov rcx, qword [r12 + 0x20]
lea rdx, [rdx + 4]
inc edi
mov eax, dword [rcx + rdx - 8]
mov dword [rcx + rdx - 4], eax
mov ecx, dword [r14]
mov r13d, ecx
cmp edi, ecx
jl 0x180026a70
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x34], edi
test ecx, ecx
jle 0x180026cf0
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov edi, ebx
mov eax, dword [r15]
add ecx, ecx
cdq
idiv ecx
mov ecx, eax
mov r14d, eax
imul ecx, edi
mov ebp, eax
imul r14d, eax
movd xmm6, ecx
mov ecx, r14d
imul ecx, edi
cvtdq2ps xmm6, xmm6
imul ecx, edi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm9, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm15
mulss xmm9, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mov rcx, qword [rsp + 0x190]
mulss xmm6, dword [0x18034d214]
mov eax, dword [rsp + 0x40]
mulss xmm0, xmm8
mov r15d, dword [rcx + 0x78]
add eax, r15d
addss xmm9, xmm0
addss xmm9, xmm6
cmp eax, edi
jge 0x180026bd4
mov r12d, dword [rsp + 0x40]
mov ebx, ebp
imul ebx, r12d
movaps xmm8, xmm9
subss xmm8, dword [rcx + 0x70]
mov esi, r14d
imul esi, r12d
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
mov eax, esi
imul eax, r12d
xorps xmm7, xmm7
cvtsi2ss xmm7, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm6, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm15
mulss xmm6, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mulss xmm0, dword [0x18034d50c]
mulss xmm7, dword [0x18034d214]
addss xmm6, xmm0
addss xmm6, xmm7
comiss xmm8, xmm6
jbe 0x180026bb1
inc r12d
add esi, r14d
add ebx, ebp
lea eax, [r15 + r12]
cmp eax, edi
jl 0x180026b50
movss xmm8, dword [0x18034d50c]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x190]
mov dword [rsp + 0x40], r12d
mov r12, qword [rsp + 0x198]
cmp dword [rsp + 0x44], r13d
jg 0x180026c7a
mov r12d, dword [rsp + 0x44]
mov ebx, ebp
mov r15d, dword [rcx + 0x7c]
mov esi, r14d
add r15d, edi
imul ebx, r12d
imul esi, r12d
cmp r12d, r15d
jl 0x180026c5b
xorps xmm0, xmm0
mov eax, esi
imul eax, r12d
xorps xmm7, xmm7
cvtsi2ss xmm7, ebx
cvtsi2ss xmm0, eax
mulss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm6, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm15
mulss xmm6, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mulss xmm7, dword [0x18034d214]
movaps xmm1, xmm9
mov rcx, qword [rsp + 0x190]
mulss xmm0, xmm8
addss xmm1, dword [rcx + 0x74]
addss xmm6, xmm0
addss xmm6, xmm7
comiss xmm1, xmm6
jbe 0x180026c68
inc r12d
add esi, r14d
add ebx, ebp
cmp r12d, r13d
jle 0x180026bf8
mov rbx, qword [rsp + 0x48]
mov dword [rsp + 0x44], r12d
mov r12, qword [rsp + 0x198]
mov eax, dword [rsp + 0x40]
inc edi
mov ecx, dword [rsp + 0x44]
mov r14, qword [rsp + 0x180]
add ecx, 0xfffeffff
mov r15, qword [rsp + 0x178]
shl eax, 0x10
add ecx, eax
mov rax, qword [r12 + 0x30]
mov dword [rbx + rax], ecx
add rbx, 4
mov r13d, dword [r14]
mov ecx, r13d
mov qword [rsp + 0x48], rbx
cmp edi, r13d
jl 0x180026aa6
mov edi, dword [rsp + 0x34]
movsd xmm7, qword [0x18034d408]
movsd xmm9, qword [0x18034d390]
movsd xmm6, qword [0x18034d340]
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x188]
lea r13, [0x1800c2b90]
imul eax, dword [rsp + 0x170], 0x83
add edx, eax
mov dword [rsp + 0x30], edx
cmp edx, dword [rsp + 0x6c]
jbe 0x180026490
mov rax, qword [rsp + 0x58]
lea r11, [rsp + 0x128]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [r15]
cmp eax, 0x6590
jge 0x180026d7f
mov dword [r12 + 0x4c], 0
jmp 0x180026da1
cmp eax, 0x9470
jge 0x180026d91
mov dword [r12 + 0x4c], 0x3f70a3d7
jmp 0x180026da1
cmp eax, 0xb3b0
jle 0x180026da1
mov dword [r12 + 0x4c], 0x3fa33333
xor edi, edi
lea rsi, [0x1800c2a34]
mov dword [rsp + 0x34], edi
xor ebx, ebx
mov ebp, 1
nop word [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, ebp
mulsd xmm0, qword [0x18034d320]
subsd xmm0, qword [0x18034d3b0]
addsd xmm0, xmm7
mulsd xmm0, qword [0x18034d358]
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
addsd xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [r14]
xorps xmm2, xmm2
cvtsi2sd xmm2, dword [r15]
mulsd xmm0, xmm1
divsd xmm0, xmm2
addsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm2, dword [rsi - 4]
cvttsd2si ecx, xmm0
cmp edi, ecx
jge 0x180026f4f
movss xmm3, dword [rsi]
mov eax, ecx
sub eax, edi
movsxd rcx, ecx
subss xmm3, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
cmp rbx, rcx
jge 0x180026f4f
mov rax, rcx
sub rax, rbx
cmp rax, 4
jl 0x180026f19
cmp edi, dword [r14]
jge 0x180026f4f
mov rax, qword [r12 + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc edi
mov dword [rsp + 0x34], edi
addss xmm2, xmm3
addsd xmm0, xmm10
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4], xmm1
cmp edi, dword [r14]
jge 0x180026f83
mov rax, qword [r12 + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc edi
mov dword [rsp + 0x34], edi
addss xmm2, xmm3
addsd xmm0, xmm10
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 4], xmm1
cmp edi, dword [r14]
jge 0x180026f7d
mov rax, qword [r12 + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc edi
mov dword [rsp + 0x34], edi
addss xmm2, xmm3
addsd xmm0, xmm10
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 8], xmm1
cmp edi, dword [r14]
jge 0x180026f77
mov rax, qword [r12 + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc edi
mov dword [rsp + 0x34], edi
addss xmm2, xmm3
addsd xmm0, xmm10
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 0xc], xmm1
add rbx, 4
lea rax, [rcx - 3]
cmp rbx, rax
jl 0x180026e51
cmp rbx, rcx
jge 0x180026f4f
cmp edi, dword [r14]
jge 0x180026f4b
mov rax, qword [r12 + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc edi
addss xmm2, xmm3
addsd xmm0, xmm10
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4], xmm1
inc rbx
cmp rbx, rcx
jl 0x180026f1e
mov dword [rsp + 0x34], edi
inc ebp
add rsi, 4
cmp rsi, r13
jl 0x180026dc0
movss xmm1, dword [0x18034d268]
mov edx, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x188]
jmp 0x180026cf7
add rbx, 3
jmp 0x180026f4f
add rbx, 2
jmp 0x180026f4f
inc rbx
jmp 0x180026f4f
mov eax, dword [r14]
mov dword [r12], eax
mov eax, dword [r15]
mov dword [r12 + 0x48], eax
mov dword [r12 + 0x4c], 0x3f800000
jmp 0x180026cf7
mov rax, qword [rsp + 0x190]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x170]
mov edx, 0x61
lea rcx, [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x170], eax
mov rax, qword [r12]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.180008d50
jmp 0x180026d17