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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400c8008]
xor rax, rsp
mov qword [rbp - 0x60], rax
test byte [rcx + 0x14], 0x42
mov ebx, r9d
mov rdi, qword [rbp + 0xb0]
mov r14, rcx
mov r15, qword [0x1400cd240]
mov dword [rbp - 0x78], ebx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x58], rdx
jne 0x14004792f
cmp byte [rcx + 0x108], 0
jg 0x14004792f
cmp byte [rcx + 0x109], 0
jg 0x14004792f
cmp byte [rcx + 0xec], 0
je 0x14004792f
movss xmm1, dword [r15 + 0x3d40]
movss xmm0, dword [rcx + 0x88]
movaps xmm2, xmm1
mulss xmm1, dword [0x1400b5ae8]
mov qword [r11 + 0x10], rsi
mulss xmm2, dword [0x1400b5b54]
mov qword [r11 - 0x30], r12
movzx r12d, byte [r15 + 0x86]
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
movaps xmmword [r11 - 0x88], xmm10
movaps xmmword [r11 - 0x98], xmm11
xorps xmm11, xmm11
movaps xmmword [r11 - 0xa8], xmm12
movaps xmmword [r11 - 0xb8], xmm13
movaps xmmword [r11 - 0xc8], xmm14
xorps xmm14, xmm14
movaps xmmword [r11 - 0xd8], xmm15
movss xmm15, dword [0x1400b5b44]
mov byte [rsp + 0x32], 0
addss xmm0, xmm15
mov byte [rsp + 0x31], r12b
addss xmm0, xmm1
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x1400b5b20]
cvttss2si eax, xmm0
cvtsi2ss xmm11, eax
movss dword [rsp + 0x40], xmm11
test r12b, r12b
je 0x140046e0d
movss xmm7, dword [0x1400b5b90]
jmp 0x140046e10
xorps xmm7, xmm7
test dword [r15 + 0xc], 0x800
movss xmm13, dword [0x1400b5c34]
movaps xmm9, xmm13
movss dword [rsp + 0x48], xmm7
movaps xmm10, xmm13
movaps xmm12, xmm13
movaps xmm6, xmm13
je 0x140046e4f
mov eax, dword [rcx + 0x40]
cmp dword [r15 + 0xe2c], eax
jne 0x140046e4f
mov rax, qword [rcx + 0x38]
test byte [rax + 4], 8
jne 0x140046e95
mov rax, qword [rcx + 0x38]
movss xmm3, dword [rax + 8]
movss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm0
addss xmm2, dword [rax + 0x14]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rsp + 0x78], xmm3
movups xmmword [rcx + 0x270], xmm3
mov dword [rcx + 0x190], 1
lea rcx, str.RESIZE
mov qword [rsp + 0x150], r13
call fcn.14004dc00
movss xmm8, dword [0x1400b5c54]
xor esi, esi
test ebx, ebx
jle 0x140047268
mov r13, rdi
lea rdi, [0x1400a04d8]
movss xmm0, dword [r14 + 0x50]
movss xmm1, dword [r14 + 0x54]
movaps xmm3, xmm0
addss xmm3, dword [r14 + 0x58]
movaps xmm2, xmm1
addss xmm2, dword [r14 + 0x5c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rdi - 8]
mulss xmm2, dword [rdi - 4]
addss xmm3, xmm0
movss xmm0, dword [rdi]
movaps xmm5, xmm0
mulss xmm0, xmm7
addss xmm2, xmm1
mulss xmm5, xmm11
movss xmm1, dword [rdi + 4]
movaps xmm4, xmm1
mulss xmm1, xmm7
addss xmm5, xmm3
mulss xmm4, xmm11
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rbp - 0x80], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x78], xmm3
movss dword [rsp + 0x7c], xmm2
movss dword [rbp - 0x7c], xmm4
jbe 0x140046f5f
movss dword [rsp + 0x78], xmm5
movss dword [rbp - 0x80], xmm3
comiss xmm2, xmm4
jbe 0x140046f6f
movss dword [rsp + 0x7c], xmm4
movss dword [rbp - 0x7c], xmm2
mov edx, esi
mov rcx, r14
call fcn.140040c10
mov r9d, 8
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.140051900
lea r9, [rsp + 0x33]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140086640
movzx r12d, byte [rsp + 0x30]
movzx ebx, byte [rsp + 0x33]
test r12b, r12b
jne 0x140046fc6
test bl, bl
je 0x1400471fa
mov eax, esi
not eax
and eax, 1
add eax, 5
mov dword [r15 + 0x4c08], eax
test bl, bl
je 0x1400471fa
cmp word [r15 + 0x3762], 2
jne 0x14004702a
test esi, esi
jne 0x14004702a
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.140046520
xor edx, edx
mov byte [rsp + 0x32], 1
xor ecx, ecx
movss xmm12, dword [rax]
movss xmm6, dword [rax + 4]
call fcn.140041010
test bl, bl
je 0x14004720f
mov ecx, 0x20
jmp 0x14004721b
movss xmm12, dword [rdi - 4]
ucomiss xmm12, xmm15
jp 0x140047046
jne 0x140047046
mov rax, qword [rbp + 0xb8]
movss xmm7, dword [rax + 4]
jmp 0x140047051
mov rax, qword [rbp + 0xb8]
movaps xmm7, xmm8
movss xmm11, dword [rdi - 8]
ucomiss xmm11, xmm15
jp 0x140047065
jne 0x140047065
movss xmm6, dword [rax]
jmp 0x140047069
movaps xmm6, xmm8
ucomiss xmm12, xmm14
jp 0x140047079
jne 0x140047079
movss xmm9, dword [rax + 0xc]
jmp 0x14004707d
movaps xmm9, xmm13
ucomiss xmm11, xmm14
jp 0x14004708d
jne 0x14004708d
movss xmm8, dword [rax + 8]
jmp 0x140047091
movaps xmm8, xmm13
movss xmm0, dword [rdi]
movss xmm4, dword [rsp + 0x40]
movaps xmm1, xmm0
xorps xmm4, xmmword [0x1400b6150]
mulss xmm1, dword [rsp + 0x48]
movaps xmm5, xmm4
movss xmm2, dword [rdi + 4]
mulss xmm5, xmm0
movaps xmm3, xmm2
mulss xmm3, dword [rsp + 0x48]
movss xmm0, dword [r15 + 0xe10]
subss xmm5, xmm1
subss xmm0, dword [r15 + 0x407c]
mulss xmm4, xmm2
mulss xmm5, xmm11
subss xmm4, xmm3
addss xmm5, xmm1
movss xmm1, dword [r15 + 0xe14]
subss xmm1, dword [r15 + 0x4080]
mulss xmm4, xmm12
addss xmm5, xmm0
addss xmm4, xmm3
addss xmm1, xmm4
comiss xmm7, xmm1
ja 0x140047117
movaps xmm7, xmm9
minss xmm7, xmm1
comiss xmm6, xmm5
ja 0x140047124
movaps xmm6, xmm8
minss xmm6, xmm5
movss xmm0, dword [r14 + 0x50]
lea r8, [rsp + 0x50]
movss xmm1, dword [r14 + 0x54]
lea rcx, [rsp + 0x38]
movaps xmm9, xmm0
movaps xmm10, xmm1
addss xmm0, dword [r14 + 0x58]
addss xmm1, dword [r14 + 0x5c]
subss xmm9, xmm6
mov rdx, r14
subss xmm10, xmm7
mulss xmm9, xmm11
mulss xmm10, xmm12
addss xmm9, xmm6
subss xmm6, xmm0
addss xmm10, xmm7
subss xmm7, xmm1
mulss xmm6, xmm11
mulss xmm7, xmm12
addss xmm6, xmm0
addss xmm7, xmm1
subss xmm6, xmm9
subss xmm7, xmm10
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x54], xmm7
call fcn.140046520
movss xmm0, dword [rdi - 8]
ucomiss xmm0, xmm14
movss xmm12, dword [rsp + 0x38]
jp 0x1400471c5
jne 0x1400471c5
movaps xmm0, xmm12
subss xmm0, xmm6
subss xmm9, xmm0
movss xmm0, dword [rdi - 4]
ucomiss xmm0, xmm14
movss xmm6, dword [rsp + 0x3c]
jp 0x1400471e4
jne 0x1400471e4
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm10, xmm0
movss xmm8, dword [0x1400b5c54]
movss xmm7, dword [rsp + 0x48]
movss xmm11, dword [rsp + 0x40]
test esi, esi
je 0x140047018
test bl, bl
jne 0x140047020
test r12b, r12b
je 0x14004724f
xor ecx, ecx
test r12b, r12b
setne cl
add rcx, 0x1e
mov rax, qword [0x1400cd240]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39bc]
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x64], xmm0
call fcn.14003c990
mov dword [r13], eax
inc esi
add rdi, 0x18
add r13, 4
cmp esi, dword [rbp - 0x78]
jl 0x140046ed0
movzx r12d, byte [rsp + 0x31]
xor edi, edi
neg r12b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x48], rax
jbe 0x1400474ef
movss xmm15, dword [0x1400b5acc]
lea r13, [0x1400a0324]
nop
cmp edi, 1
jbe 0x1400472a0
mov esi, 1
lea r12d, [rsi + 2]
jmp 0x1400472a6
xor esi, esi
lea r12d, [rsi + 4]
movss xmm11, dword [0x1400b5b90]
lea rcx, [rbp - 0x70]
movss xmm3, dword [rsp + 0x40]
mov r8d, edi
mov rdx, r14
movss dword [rsp + 0x20], xmm11
call fcn.140046b50
lea edx, [rdi + 4]
mov rcx, r14
call fcn.140040c10
mov r9d, 8
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.140051900
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.140086640
cmp byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
je 0x140047324
movss xmm0, dword [r15 + 0x4060]
comiss xmm0, xmm15
ja 0x14004732c
test al, al
je 0x1400474d4
mov dword [r15 + 0x4c08], r12d
test al, al
je 0x1400474d4
mov rax, qword [rsp + 0x60]
mov dword [rax], edi
cmp edi, 3
jne 0x1400478e1
mov rax, qword [rbp + 0xb8]
movss xmm7, dword [rax + 4]
movaps xmm6, xmm13
movaps xmm9, xmm13
movsd xmm0, qword [r14 + 0x50]
movsd qword [rbp - 0x78], xmm0
cmp rsi, 2
jb 0x1400473be
mov r8d, 0x109
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.idx__0__idx__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r8d, 0x109
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.idx__0__idx__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r8d, 0x109
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.idx__0__idx__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [r15 + rsi*4 + 0xe10]
subss xmm0, dword [r15 + rsi*4 + 0x407c]
addss xmm0, xmm11
movss dword [rbp + rsi*4 - 0x78], xmm0
movss xmm1, dword [rbp - 0x74]
comiss xmm7, xmm1
ja 0x1400473ee
movaps xmm7, xmm6
minss xmm7, xmm1
movss xmm0, dword [rbp - 0x78]
comiss xmm8, xmm0
ja 0x140047402
movaps xmm8, xmm9
minss xmm8, xmm0
movss xmm0, dword [r14 + 0x50]
lea r8, [rsp + 0x38]
movss xmm1, dword [r14 + 0x54]
lea rcx, [rsp + 0x50]
movss xmm11, dword [r13 - 8]
movaps xmm9, xmm0
minss xmm11, dword [r13]
addss xmm0, dword [r14 + 0x58]
movss xmm6, dword [r13 - 0xc]
subss xmm9, xmm8
minss xmm6, dword [r13 - 4]
movaps xmm10, xmm1
mov rdx, r14
addss xmm1, dword [r14 + 0x5c]
subss xmm10, xmm7
mulss xmm9, xmm6
mulss xmm10, xmm11
addss xmm9, xmm8
subss xmm8, xmm0
addss xmm10, xmm7
subss xmm7, xmm1
mulss xmm8, xmm6
mulss xmm7, xmm11
addss xmm8, xmm0
addss xmm7, xmm1
subss xmm8, xmm9
subss xmm7, xmm10
movss dword [rsp + 0x38], xmm8
movss dword [rsp + 0x3c], xmm7
call fcn.140046520
ucomiss xmm6, xmm14
movss xmm12, dword [rsp + 0x50]
jp 0x1400474ba
jne 0x1400474ba
movaps xmm0, xmm12
subss xmm0, xmm8
subss xmm9, xmm0
ucomiss xmm11, xmm14
movss xmm6, dword [rsp + 0x54]
jp 0x1400474d4
jne 0x1400474d4
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm10, xmm0
movss xmm8, dword [0x1400b5c54]
inc edi
add r13, 0x1c
sub qword [rsp + 0x48], 1
jne 0x140047290
mov rax, qword [0x1400cd240]
movaps xmm15, xmmword [rsp + 0xb0]
movaps xmm11, xmmword [rsp + 0xf0]
mov r13, qword [rsp + 0x150]
mov rbx, qword [rax + 0x4008]
mov r12, qword [rsp + 0x158]
cmp dword [rbx + 0x128], 1
jg 0x140047542
mov r8d, 0x2055
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.cpp
lea rcx, str.window__IDStack.Size___1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx + 0x128], 0
jg 0x140047565
mov r8d, 0x772
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec dword [rbx + 0x128]
mov dword [r14 + 0x190], 0
mov rax, qword [r15 + 0x4bd0]
test rax, rax
je 0x1400477f8
cmp qword [rax + 0x3c8], r14
jne 0x1400477f8
cmp dword [r15 + 0x4a9c], 2
movaps xmm2, xmm14
movaps xmm3, xmm14
jne 0x140047610
cmp byte [r15 + 0xe31], 0
je 0x140047610
mov rcx, qword [0x1400cd240]
mov edx, 0x204
call fcn.14004ddf0
mov rcx, qword [0x1400cd240]
mov edx, 0x203
mov rsi, rax
call fcn.14004ddf0
mov rcx, qword [0x1400cd240]
mov edx, 0x202
mov rdi, rax
call fcn.14004ddf0
mov rcx, qword [0x1400cd240]
mov edx, 0x201
mov rbx, rax
call fcn.14004ddf0
movss xmm2, dword [rbx + 0xc]
movss xmm3, dword [rsi + 0xc]
subss xmm3, dword [rdi + 0xc]
subss xmm2, dword [rax + 0xc]
cmp dword [r15 + 0x4a9c], 3
jne 0x14004767b
mov rcx, qword [0x1400cd240]
mov edx, 0x272
call fcn.14004ddf0
mov rcx, qword [0x1400cd240]
mov edx, 0x271
mov rsi, rax
call fcn.14004ddf0
mov rcx, qword [0x1400cd240]
mov edx, 0x270
mov rdi, rax
call fcn.14004ddf0
mov rcx, qword [0x1400cd240]
mov edx, 0x26f
mov rbx, rax
call fcn.14004ddf0
movss xmm2, dword [rbx + 0xc]
movss xmm3, dword [rsi + 0xc]
subss xmm3, dword [rdi + 0xc]
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm14
jp 0x14004768f
jne 0x14004768f
ucomiss xmm3, xmm14
jp 0x14004768f
je 0x1400477f8
movss xmm1, dword [r15 + 0x70]
lea rcx, [rbp - 0x70]
minss xmm1, dword [r15 + 0x74]
movss xmm0, dword [r15 + 0x18]
mulss xmm0, dword [0x1400b5c14]
mov rax, qword [rbp + 0xb8]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [r15 + 0x4bfc]
addss xmm3, dword [r15 + 0x4c00]
movss dword [r15 + 0x4bfc], xmm2
movss dword [r15 + 0x4c00], xmm3
movss xmm0, dword [rax]
subss xmm0, dword [r14 + 0x50]
movss xmm1, dword [rax + 4]
subss xmm1, dword [r14 + 0x54]
mov rax, qword [0x1400cd240]
subss xmm0, dword [r14 + 0x58]
subss xmm1, dword [r14 + 0x5c]
mov byte [r15 + 0x4bf0], 0
mov byte [r15 + 0x4aa7], 1
maxss xmm2, xmm0
maxss xmm3, xmm1
movss dword [r15 + 0x4bfc], xmm2
movss dword [r15 + 0x4c00], xmm3
movups xmm0, xmmword [rax + 0x3bbc]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x64], xmm0
call fcn.14003c990
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
cvttss2si eax, dword [r15 + 0x4bfc]
movd xmm8, eax
cvttss2si eax, dword [r15 + 0x4c00]
cvtdq2ps xmm8, xmm8
movd xmm7, eax
ucomiss xmm8, xmm14
cvtdq2ps xmm7, xmm7
jp 0x140047790
jne 0x140047790
ucomiss xmm7, xmm14
jp 0x140047790
je 0x1400477f8
movaps xmm0, xmm8
lea r8, [rsp + 0x38]
addss xmm0, dword [r14 + 0x60]
movaps xmm1, xmm7
lea rcx, [rsp + 0x70]
addss xmm1, dword [r14 + 0x64]
mov rdx, r14
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140046520
movss xmm0, dword [r15 + 0x4bfc]
movss xmm1, dword [r15 + 0x4c00]
subss xmm0, xmm8
subss xmm1, xmm7
movss xmm12, dword [rax]
movss xmm6, dword [rax + 4]
movss dword [r15 + 0x4bfc], xmm0
movss dword [r15 + 0x4c00], xmm1
ucomiss xmm12, xmm13
mov rsi, qword [rsp + 0x198]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
jp 0x140047819
je 0x140047849
test dword [r14 + 0x14], 0x100
mov rcx, qword [0x1400cd240]
movss dword [r14 + 0x60], xmm12
movss dword [r14 + 0x64], xmm6
jne 0x140047849
comiss xmm14, dword [rcx + 0x5dc4]
jb 0x140047849
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5dc4], eax
movaps xmm12, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x140]
ucomiss xmm9, xmm13
movaps xmm13, xmmword [rsp + 0xd0]
jp 0x14004786b
je 0x1400478b3
test dword [r14 + 0x14], 0x100
mov rdx, qword [0x1400cd240]
cvttss2si eax, xmm9
movd xmm1, eax
cvttss2si eax, xmm10
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x50], xmm1
movss dword [r14 + 0x54], xmm0
jne 0x1400478b3
comiss xmm14, dword [rdx + 0x5dc4]
jb 0x1400478b3
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x5dc4], ecx
movsd xmm0, qword [r14 + 0x60]
movzx eax, byte [rsp + 0x32]
movaps xmm14, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0x110]
movsd qword [r14 + 0x58], xmm0
jmp 0x140047931
movaps xmm7, xmm8
cmp edi, 1
jne 0x1400478fb
mov rax, qword [rbp + 0xb8]
movss xmm8, dword [rax]
jmp 0x140047357
cmp edi, 2
jne 0x140047911
mov rax, qword [rbp + 0xb8]
movss xmm6, dword [rax + 0xc]
jmp 0x14004735b
movaps xmm6, xmm13
test edi, edi
jne 0x14004735b
mov rax, qword [rbp + 0xb8]
movss xmm9, dword [rax + 8]
jmp 0x14004735f
xor al, al
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.1400997a0
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret