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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
push r13
push r15
lea rbp, [r11 - 0x78]
sub rsp, 0x160
mov rdx, qword [0x1400c9af0]
xor r13d, r13d
sub rdx, qword [0x1400c9ae8]
movabs rax, 0xe38e38e38e38e39
imul rdx
movaps xmmword [r11 - 0xa8], xmm12
movaps xmm12, xmm1
mov r15, rcx
mov qword [rsp + 0x70], r9
sar rdx, 2
mov rax, rdx
mov qword [rsp + 0x78], r8
shr rax, 0x3f
mov dword [rsp + 0x5c], r13d
add rdx, rax
je 0x1400547f8
mov qword [r11 + 0x10], rbx
mov ebx, r13d
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rdi
mov rdi, qword [0x1400c9a50]
mov qword [r11 - 0x30], r12
mov r12d, r13d
mov qword [r11 - 0x38], r14
mov r14, qword [0x1400c9b28]
movaps xmmword [r11 - 0x58], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x68], xmm8
movss xmm8, dword [rsp + 0x70]
movaps xmmword [r11 - 0x78], xmm9
movss xmm9, dword [rsp + 0x74]
movaps xmmword [r11 - 0x88], xmm10
movss xmm10, dword [rbp + 0xa0]
movaps xmmword [r11 - 0x98], xmm11
movss xmm11, dword [rbp + 0xa4]
movaps xmmword [r11 - 0xb8], xmm13
movss xmm13, dword [0x14006cdbc]
movaps xmmword [r11 - 0xc8], xmm14
movss xmm14, dword [0x14006cd38]
movaps xmmword [r11 - 0xd8], xmm15
movss xmm15, dword [0x14006cccc]
movaps xmmword [r11 - 0x48], xmm6
nop dword [rax]
mov rax, qword [0x1400c9ae8]
cmp byte [rbx + rax + 0x3c], 0
je 0x140053f53
mov dword [rbx + rax + 0x20], r13d
mov rax, qword [0x1400c9ae8]
lea rdx, [rsp + 0x50]
movss xmm3, dword [0x14006cf10]
movss xmm2, dword [r14 + 0x14]
mov qword [rsp + 0x30], r13
mov rcx, qword [rbx + rax]
mov qword [rsp + 0x28], rcx
mov rcx, r14
movss dword [rsp + 0x20], xmm7
call fcn.1400305f0
mov rax, qword [0x1400c9ae8]
cmp byte [rbx + rax + 0x3c], 0
mov ecx, dword [rbx + rax + 0x28]
jne 0x140054147
test ecx, ecx
jne 0x140054012
movss xmm3, dword [0x14007508c]
movaps xmm2, xmm8
addss xmm2, dword [rbx + rax + 0x18]
movaps xmm0, xmm3
movaps xmm1, xmm3
mulss xmm0, dword [rbx + rax + 0x24]
mulss xmm1, dword [rbx + rax + 0x20]
subss xmm2, xmm0
movaps xmm0, xmm9
addss xmm0, dword [rbx + rax + 0x1c]
subss xmm2, xmm1
movss dword [rbx + rax + 0xc], xmm0
movss dword [rbx + rax + 8], xmm2
movaps xmm0, xmm11
mov rax, qword [0x1400c9ae8]
subss xmm0, xmm9
mulss xmm3, dword [rbx + rax + 0x20]
addss xmm0, dword [rbx + rax + 0xc]
addss xmm3, dword [rbx + rax + 8]
movss dword [rbx + rax + 0x10], xmm3
jmp 0x140054348
cmp ecx, 2
jne 0x140054052
movss xmm3, dword [0x14007508c]
movaps xmm2, xmm10
subss xmm2, xmm8
movaps xmm1, xmm9
addss xmm1, dword [rbx + rax + 0x1c]
movaps xmm0, xmm3
mulss xmm0, dword [rbx + rax + 0x24]
addss xmm2, xmm8
addss xmm2, dword [rbx + rax + 0x18]
movss dword [rbx + rax + 0xc], xmm1
addss xmm2, xmm0
jmp 0x140053fdf
cmp ecx, 1
jne 0x1400540cc
movss xmm4, dword [0x14007508c]
movaps xmm2, xmm9
addss xmm2, dword [rbx + rax + 0x1c]
movaps xmm0, xmm4
movaps xmm1, xmm4
mulss xmm0, dword [rbx + rax + 0x24]
movaps xmm3, xmm8
mulss xmm1, dword [rbx + rax + 0x20]
addss xmm3, dword [rbx + rax + 0x18]
subss xmm2, xmm0
movaps xmm0, xmm10
subss xmm0, xmm8
movss dword [rbx + rax + 8], xmm3
subss xmm2, xmm1
movss dword [rbx + rax + 0xc], xmm2
mov rax, qword [0x1400c9ae8]
mulss xmm4, dword [rbx + rax + 0x20]
addss xmm0, dword [rbx + rax + 8]
addss xmm4, dword [rbx + rax + 0xc]
movss dword [rbx + rax + 0x10], xmm0
movss dword [rbx + rax + 0x14], xmm4
jmp 0x14005434e
cmp ecx, 3
jne 0x14005434e
movss xmm3, dword [0x14007508c]
movaps xmm1, xmm11
movaps xmm0, xmm3
subss xmm1, xmm9
mulss xmm0, dword [rbx + rax + 0x24]
movaps xmm2, xmm8
addss xmm2, dword [rbx + rax + 0x18]
addss xmm1, xmm9
addss xmm1, dword [rbx + rax + 0x1c]
movss dword [rbx + rax + 8], xmm2
addss xmm1, xmm0
movaps xmm0, xmm10
subss xmm0, xmm8
movss dword [rbx + rax + 0xc], xmm1
mov rax, qword [0x1400c9ae8]
mulss xmm3, dword [rbx + rax + 0x20]
addss xmm0, dword [rbx + rax + 8]
addss xmm3, dword [rbx + rax + 0xc]
movss dword [rbx + rax + 0x10], xmm0
movss dword [rbx + rax + 0x14], xmm3
jmp 0x14005434e
test ecx, ecx
jne 0x1400541b1
movss xmm0, dword [0x14007508c]
movaps xmm1, xmm8
mulss xmm0, dword [rbx + rax + 0x24]
addss xmm1, dword [rbx + rax + 0x18]
movss xmm2, dword [rsp + 0x50]
subss xmm1, xmm0
movaps xmm0, xmm9
addss xmm0, dword [rbx + rax + 0x1c]
subss xmm1, xmm2
addss xmm0, dword [rbx + rax + 0x40]
movss dword [rbx + rax + 8], xmm1
movss dword [rbx + rax + 0xc], xmm0
mov rax, qword [0x1400c9ae8]
movss xmm0, dword [rsp + 0x54]
addss xmm2, dword [rbx + rax + 8]
addss xmm0, dword [rbx + rax + 0xc]
movss dword [rbx + rax + 0x10], xmm2
jmp 0x140054348
cmp ecx, 2
jne 0x140054222
movss xmm0, dword [0x14007508c]
movaps xmm1, xmm9
addss xmm1, dword [rbx + rax + 0x1c]
mulss xmm0, dword [rbx + rax + 0x24]
movaps xmm2, xmm10
subss xmm2, xmm8
addss xmm1, dword [rbx + rax + 0x40]
addss xmm2, xmm8
addss xmm2, dword [rbx + rax + 0x18]
movss dword [rbx + rax + 0xc], xmm1
movss xmm1, dword [rsp + 0x50]
addss xmm2, xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rbx + rax + 8], xmm2
mov rax, qword [0x1400c9ae8]
addss xmm1, dword [rbx + rax + 8]
addss xmm0, dword [rbx + rax + 0xc]
movss dword [rbx + rax + 0x10], xmm1
jmp 0x140054348
cmp ecx, 1
jne 0x1400542b3
movss xmm4, dword [rsp + 0x50]
movaps xmm3, xmm10
movss xmm1, dword [0x14007508c]
subss xmm3, xmm8
movaps xmm0, xmm4
movaps xmm2, xmm9
addss xmm2, dword [rbx + rax + 0x1c]
mulss xmm0, xmm15
mulss xmm3, xmm15
addss xmm3, xmm8
subss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rbx + rax + 0x24]
mulss xmm1, dword [rbx + rax + 0x40]
addss xmm3, dword [rbx + rax + 0x18]
subss xmm2, xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rbx + rax + 8], xmm3
subss xmm2, xmm1
subss xmm2, xmm0
movss dword [rbx + rax + 0xc], xmm2
mov rax, qword [0x1400c9ae8]
addss xmm4, dword [rbx + rax + 8]
addss xmm0, dword [rbx + rax + 0xc]
movss dword [rbx + rax + 0x10], xmm4
jmp 0x140054348
cmp ecx, 3
jne 0x14005434e
movss xmm5, dword [rsp + 0x50]
movaps xmm4, xmm10
movss xmm2, dword [0x14007508c]
subss xmm4, xmm8
movaps xmm0, xmm5
movaps xmm1, xmm2
mulss xmm1, dword [rbx + rax + 0x24]
movaps xmm3, xmm9
addss xmm3, dword [rbx + rax + 0x1c]
mulss xmm2, dword [rbx + rax + 0x40]
mulss xmm0, xmm15
mulss xmm4, xmm15
addss xmm4, xmm8
subss xmm4, xmm0
movaps xmm0, xmm11
subss xmm0, xmm9
addss xmm4, dword [rbx + rax + 0x18]
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rbx + rax + 8], xmm4
addss xmm3, xmm1
addss xmm3, xmm2
movss dword [rbx + rax + 0xc], xmm3
mov rax, qword [0x1400c9ae8]
addss xmm5, dword [rbx + rax + 8]
addss xmm0, dword [rbx + rax + 0xc]
movss dword [rbx + rax + 0x10], xmm5
movss dword [rbx + rax + 0x14], xmm0
mov rax, qword [rdi + 0x1c50]
mov byte [rax + 0x91], 1
mov rdx, qword [0x1400c9ae8]
mov rcx, qword [rdi + 0x1c50]
mov rdx, qword [rbx + rdx]
call fcn.1400050c0
mov rcx, qword [0x1400c9ae8]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x59]
mov dword [rsp + 0x20], r13d
mov edx, eax
mov esi, eax
movups xmm0, xmmword [rbx + rcx + 8]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.140034510
mov rdi, qword [0x1400c9a50]
mov r14d, dword [rdi + 0x1c9c]
cmp r14d, esi
jne 0x140054447
cmp dword [rdi + 0x1e40], 0
jg 0x1400543db
mov r8d, 0x6bb
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x1e48]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140005980
mov rcx, qword [0x1400c9ae8]
mov r13, rax
movss xmm0, dword [rsp + 0x78]
mov rdi, qword [0x1400c9a50]
addss xmm0, dword [rbx + rcx + 0x18]
movss xmm3, dword [rdi + 0x128]
movss xmm4, dword [rdi + 0x12c]
movss dword [rbx + rcx + 0x18], xmm0
mov rcx, qword [0x1400c9ae8]
movss xmm0, dword [rsp + 0x7c]
addss xmm0, dword [rbx + rcx + 0x1c]
movss dword [rbx + rcx + 0x1c], xmm0
jmp 0x1400544e1
mov rax, qword [0x1400c9ae8]
movss xmm3, dword [rdi + 0x128]
movss xmm4, dword [rdi + 0x12c]
movss xmm2, dword [rbx + rax + 0x18]
ucomiss xmm2, xmm7
jp 0x140054497
jne 0x140054497
movss xmm0, dword [rbx + rax + 0x1c]
ucomiss xmm0, xmm7
jp 0x140054485
jne 0x140054485
xor r8d, r8d
mov r13, r15
mov qword [rbx + rax + 0x18], r8
jmp 0x1400544e4
ucomiss xmm2, xmm7
jp 0x140054497
jne 0x140054497
movaps xmm1, xmm12
mulss xmm1, xmm13
jmp 0x1400544b5
movaps xmm0, xmm7
movaps xmm1, xmm12
subss xmm0, xmm2
mulss xmm1, xmm13
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [rbx + rax + 0x18], xmm0
mov rax, qword [0x1400c9ae8]
movss xmm2, dword [rbx + rax + 0x1c]
ucomiss xmm2, xmm7
jp 0x1400544c9
je 0x1400544de
movaps xmm0, xmm7
subss xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [rbx + rax + 0x1c], xmm0
mov r13, r15
xor r8d, r8d
mov rax, qword [rdi + 0x1c50]
movss xmm1, dword [rax + 0x10]
movss xmm0, dword [rax + 0x14]
cmp r14d, esi
jne 0x140054579
comiss xmm1, xmm3
ja 0x140054518
comiss xmm0, xmm4
ja 0x140054518
addss xmm1, dword [rax + 0x18]
comiss xmm3, xmm1
ja 0x140054518
addss xmm0, dword [rax + 0x1c]
comiss xmm4, xmm0
jbe 0x140054579
mov ecx, dword [rdi + 0x1c9c]
test ecx, ecx
setne al
mov byte [rdi + 0x1ca8], al
test ecx, ecx
je 0x140054547
mov dword [rdi + 0x1ca4], r8d
mov word [rdi + 0x1cab], 0
mov dword [rdi + 0x1cd4], 0xffffffff
mov dword [rdi + 0x1c9c], r8d
mov word [rdi + 0x1ca9], 0
mov qword [rdi + 0x1cc8], r8
mov word [rdi + 0x1cad], 0
mov qword [rdi + 0x1cb0], 0
mov qword [rdi + 0x1cb8], r8
mov r15, qword [0x1400c9ae8]
cmp byte [rbx + r15 + 0x3c], 0
jne 0x14005463e
movaps xmm0, xmmword [0x14006d040]
lea rcx, [rbp - 0x70]
movss xmm1, dword [rsp + 0x68]
movups xmmword [rbp - 0x70], xmm0
movss xmm0, dword [rsp + 0x6c]
addss xmm1, xmm14
addss xmm0, xmm14
movss dword [rbp - 0x80], xmm1
movss xmm1, dword [rsp + 0x60]
movss dword [rbp - 0x7c], xmm0
subss xmm1, xmm14
movss xmm0, dword [rsp + 0x64]
subss xmm0, xmm14
movss dword [rbp - 0x78], xmm1
movss dword [rbp - 0x74], xmm0
call fcn.140002ea0
mov dword [rsp + 0x28], r8d
lea rdx, [rbp - 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea r8, [rbp - 0x80]
mov rcx, r13
call fcn.140027870
lea rcx, [r12 + r12*8]
lea rcx, [rcx*8 + 0x2c]
add rcx, qword [0x1400c9ae8]
call fcn.140002ea0
mov r9d, eax
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x60]
movss dword [rsp + 0x20], xmm7
lea r8, [rsp + 0x68]
mov rcx, r13
call fcn.140027870
jmp 0x140054720
mov r15, qword [rbx + r15]
lea rcx, [r12 + r12*8]
lea rcx, [rcx*8 + 0x2c]
add rcx, qword [0x1400c9ae8]
call fcn.140002ea0
mov r14, qword [0x1400c9b28]
mov r12d, eax
movss xmm6, dword [r14 + 0x14]
test eax, 0xff000000
je 0x14005472e
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [r15 + rsi], 0
jne 0x140054680
add rsi, r15
cmp r15, rsi
je 0x14005472e
test r14, r14
jne 0x1400546a3
mov rax, qword [r13 + 0x38]
mov r14, qword [rax + 8]
ucomiss xmm6, xmm7
jp 0x1400546b3
jne 0x1400546b3
mov rax, qword [r13 + 0x38]
movss xmm6, dword [rax + 0x10]
mov rcx, qword [r14 + 0x40]
mov rax, qword [r13 + 0x98]
cmp qword [rcx + 8], rax
je 0x1400546de
mov r8d, 0x6bd
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui_draw.cpp
lea rcx, str.font__ContainerAtlas__TexID___CmdHeader.TextureId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movups xmm0, xmmword [r13 + 0x88]
mov r9, qword [rsp + 0x60]
lea rax, [rbp - 0x70]
mov byte [rsp + 0x48], 0
movaps xmm2, xmm6
movss dword [rsp + 0x40], xmm7
mov rdx, r13
mov qword [rsp + 0x38], rsi
mov rcx, r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
movups xmmword [rbp - 0x70], xmm0
call fcn.140030810
mov rdi, qword [0x1400c9a50]
mov r14, qword [0x1400c9b28]
mov r8d, dword [rsp + 0x5c]
movabs rax, 0xe38e38e38e38e39
mov rcx, qword [0x1400c9af0]
inc r8d
sub rcx, qword [0x1400c9ae8]
add rbx, 0x48
mov r15, qword [rbp + 0x80]
mov r13d, 0
imul rcx
movsxd r12, r8d
sar rdx, 2
mov rax, rdx
mov dword [rsp + 0x5c], r8d
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x140053f40
movaps xmm15, xmmword [rsp + 0xa0]
movaps xmm14, xmmword [rsp + 0xb0]
movaps xmm13, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm10, xmmword [rsp + 0xf0]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
mov r14, qword [rsp + 0x140]
mov r12, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x188]
movaps xmm12, xmmword [rsp + 0xd0]
add rsp, 0x160
pop r15
pop r13
pop rbp
ret