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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
lea rbp, [r11 - 0xb8]
sub rsp, 0x1a0
mov rax, qword [0x18012c038]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov qword [r11 + 0x10], rbx
mov ebx, r8d
mov qword [r11 - 0x20], rdi
mov rdi, rcx
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14, qword [0x18012f970]
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xc8], xmm14
mov qword [rbp - 0x58], rcx
test rcx, rcx
je 0x180058d9a
cmp byte [rcx], 0
jne 0x180058db4
mov r8d, 0x1496
lea rdx, [0x18010cd20]
lea rcx, str.name___0__name_0____0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [r14 + 0x19bc], 0
jne 0x180058dd8
mov r8d, 0x1497
lea rdx, [0x18010cd20]
lea rcx, str.g.WithinFrameScope
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [r14 + 0x19b0]
cmp dword [r14 + 0x19b4], eax
jne 0x180058e02
mov r8d, 0x1498
lea rdx, [0x18010cd20]
lea rcx, str.g.FrameCountEnded___g.FrameCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, rdi
call fcn.180056530
test rax, rax
mov qword [rsp + 0x58], rax
mov rsi, rax
xorps xmm14, xmm14
sete byte [rsp + 0x31]
test rax, rax
jne 0x180058e78
mov ecx, dword [r14 + 0x1ab8]
and ecx, 2
je 0x180058e40
movsd xmm0, qword [r14 + 0x1ad8]
movsd qword [rsp + 0x48], xmm0
jmp 0x180058e49
mov qword [rsp + 0x68], 0
test ecx, ecx
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x68]
mov r8d, ebx
cmovne rax, rdx
mov rcx, rdi
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.180056600
mov rsi, rax
mov ecx, ebx
mov r15d, ebx
or r15d, 6
and ecx, 0xc0200
cmp ecx, 0xc0200
cmovne r15d, ebx
mov eax, r15d
and eax, 0x1800000
cmp eax, 0x800000
jne 0x180058eba
mov r8d, 0x14a8
lea rdx, [0x18010cd20]
lea rcx, str.flags__ImGuiWindowFlags_ChildWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r13d, dword [r14 + 0x19b0]
mov r12d, dword [rsi + 0x250]
lea eax, [r13 - 1]
cmp r12d, eax
mov eax, dword [rsi + 0xa0]
mov dword [rsp + 0x40], eax
setl dil
mov byte [rsp + 0x32], dil
bt r15d, 0x1a
jae 0x180058f42
movsxd rbx, dword [r14 + 0x1b70]
cmp ebx, dword [r14 + 0x1b60]
jl 0x180058f13
mov r8d, 0x4f8
lea rdx, [0x18010cb90]
lea rcx, [0x18010fb50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rdx, [rbx + rbx*2]
shl rdx, 4
add rdx, qword [r14 + 0x1b68]
cmp rsi, qword [rdx + 8]
mov eax, dword [rdx]
setne cl
cmp dword [rsi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x40]
or dil, cl
mov byte [rsp + 0x32], dil
test dil, dil
jne 0x180058f54
test eax, eax
jg 0x180058f54
mov byte [rsi + 0x84], dil
jmp 0x180058f70
or dword [rsi + 0xa4], 8
or dword [rsi + 0xa8], 8
or dword [rsi + 0xac], 8
mov byte [rsi + 0x84], 1
xor ecx, ecx
cmp r12d, r13d
je 0x180058fb6
mov dword [rsi + 0xc], r15d
mov dword [rsi + 0x250], r13d
movsd xmm0, qword [r14 + 0x19a8]
mov word [rsi + 0x8a], cx
cvtpd2ps xmm0, xmm0
movss dword [rsi + 0x254], xmm0
movzx eax, word [r14 + 0x1a10]
inc dword [r14 + 0x1a10]
mov word [rsi + 0x8c], ax
jmp 0x180058fba
mov r15d, dword [rsi + 0xc]
lea rbx, [r14 + 0x19f0]
mov eax, dword [rbx]
test eax, eax
jne 0x180058fcc
mov rax, rcx
jmp 0x180058ff6
jg 0x180058fe8
mov r8d, 0x502
lea rdx, [0x18010cb90]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x180059008
test r15d, 0x5000000
cmovne rcx, rax
jmp 0x18005900f
mov rcx, qword [rsi + 0x358]
mov qword [rsp + 0x68], rcx
test rcx, rcx
jne 0x18005903a
bt r15d, 0x18
jae 0x18005903a
mov r8d, 0x14cb
lea rdx, [0x18010cd20]
lea rcx, str.parent_window___0____flags__ImGuiWindowFlags_ChildWindow_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rdi, [rsi + 0xc0]
mov eax, 8
cmp dword [rdi], 0
jne 0x18005906f
cmp dword [rdi + 4], 0
jne 0x18005905b
mov edx, eax
mov rcx, rdi
call fcn.1800644d0
mov eax, dword [rsi + 8]
movsxd rdx, dword [rdi]
mov rcx, qword [rdi + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [rdi]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18005909c
inc r8d
test ecx, ecx
je 0x18005908a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180063fb0
movsxd rcx, dword [rbx]
mov dl, 1
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rsi
mov rcx, rsi
inc dword [rbx]
xor ebx, ebx
mov qword [r14 + 0x1a18], rbx
call fcn.18005cc10
mov eax, r15d
and eax, 0x4000000
mov dword [rsp + 0x38], eax
je 0x180059120
movsxd rbx, dword [r14 + 0x1b70]
cmp ebx, dword [r14 + 0x1b60]
jl 0x1800590f4
mov r8d, 0x4f8
lea rdx, [0x18010cb90]
lea rcx, [0x18010fb50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rbx, [rbx + rbx*2]
shl rbx, 4
lea rcx, [r14 + 0x1b70]
add rbx, qword [r14 + 0x1b68]
mov rdx, rbx
mov qword [rbx + 8], rsi
call fcn.180063d50
mov eax, dword [rbx]
xor ebx, ebx
mov dword [rsi + 0x90], eax
cmp dword [rsp + 0x40], 0
jle 0x180059134
bt r15d, 0x18
jb 0x180059134
mov dword [rsi + 0x380], ebx
xor cl, cl
xor dl, dl
test byte [r14 + 0x1ab8], 1
mov byte [rsp + 0x34], dl
mov byte [rsp + 0x33], cl
mov byte [rsp + 0x30], cl
je 0x1800591cd
mov r8d, dword [r14 + 0x1abc]
mov ecx, dword [rsi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x34], dl
test r8d, ecx
je 0x1800591be
movss xmm0, dword [r14 + 0x1ad4]
movss xmm1, dword [r14 + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180116668]
jbe 0x1800591be
movsd xmm0, qword [r14 + 0x1ac8]
and ecx, 0xfffffff1
movsd qword [rsi + 0xb0], xmm0
movsd xmm1, qword [r14 + 0x1ad0]
movsd qword [rsi + 0xb8], xmm1
mov dword [rsi + 0xa4], ecx
jmp 0x1800591cd
lea rdx, [r14 + 0x1ac8]
mov rcx, rsi
call fcn.18005c0e0
test byte [r14 + 0x1ab8], 2
je 0x18005922c
mov r8d, dword [r14 + 0x1ac0]
lea rdx, [r14 + 0x1ad8]
mov eax, r8d
and eax, dword [rsi + 0xa8]
je 0x180059201
movss xmm0, dword [rdx]
comiss xmm0, xmm14
jbe 0x180059201
mov byte [rsp + 0x33], 1
jmp 0x18005920b
xor cl, cl
mov byte [rsp + 0x33], cl
test eax, eax
je 0x18005921f
movss xmm0, dword [r14 + 0x1adc]
comiss xmm0, xmm14
mov byte [rsp + 0x30], 1
ja 0x180059224
mov byte [rsp + 0x30], 0
mov rcx, rsi
call fcn.18005c1f0
test byte [r14 + 0x1ab8], 4
je 0x180059246
movsd xmm0, qword [r14 + 0x1ae0]
movsd qword [rsi + 0x30], xmm0
jmp 0x180059253
cmp r12d, r13d
je 0x180059253
mov qword [rsi + 0x30], 0
test byte [r14 + 0x1ab8], 8
je 0x180059285
mov eax, dword [r14 + 0x1ac4]
movzx ecx, byte [r14 + 0x1ae8]
test eax, eax
je 0x180059278
test dword [rsi + 0xac], eax
je 0x180059285
and dword [rsi + 0xac], 0xfffffff1
mov byte [rsi + 0x81], cl
test byte [r14 + 0x1ab8], 0x20
je 0x180059297
mov rcx, rsi
call fcn.18005b310
cmp byte [rsi + 0x84], 0
je 0x1800592b5
and dword [rsi + 0xa4], 0xfffffff7
and dword [rsi + 0xa8], 0xfffffff7
and dword [rsi + 0xac], 0xfffffff7
mov r8d, 1
cmp r12d, r13d
je 0x18005af34
mov r13, qword [rsp + 0x68]
mov eax, r15d
movaps xmmword [rsp + 0x170], xmm6
and eax, 0x3000000
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
movaps xmmword [rsp + 0x130], xmm10
movaps xmmword [rsp + 0x120], xmm11
movaps xmmword [rsp + 0x110], xmm12
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xe0], xmm15
mov dword [rsp + 0x3c], eax
mov qword [rsi + 0x358], r13
mov qword [rsi + 0x370], rsi
mov qword [rsi + 0x368], rsi
mov qword [rsi + 0x360], rsi
test r13, r13
je 0x180059378
cmp eax, 0x1000000
jne 0x18005935a
mov rax, qword [r13 + 0x360]
mov qword [rsi + 0x360], rax
bt r15d, 0x1b
jb 0x180059378
test r15d, 0x5000000
je 0x180059378
mov rax, qword [r13 + 0x368]
mov qword [rsi + 0x368], rax
test dword [rsi + 0xc], 0x800000
je 0x1800593cc
mov rax, rsi
cmp qword [rax + 0x358], 0
jne 0x1800593a8
mov r8d, 0x1486
lea rdx, [0x18010cd20]
lea rcx, str.window__RootWindowForNav__ParentWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x370]
mov rax, qword [rax + 0x358]
mov qword [rsi + 0x370], rax
test dword [rax + 0xc], 0x800000
jne 0x180059384
mov r8d, 1
mov byte [rsi + 0x7e], 1
mov byte [rsi + 0x86], 0
mov dword [rsi + 0x230], 0xff7fffff
mov dword [rsi + 0x234], 0xff7fffff
mov dword [rsi + 0x238], 0x7f7fffff
mov dword [rsi + 0x23c], 0x7f7fffff
mov ecx, dword [rdi + 4]
cmp ecx, 1
jge 0x18005942c
test ecx, ecx
je 0x180059416
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005941b
mov eax, 8
cmp eax, 1
mov edx, r8d
mov rcx, rdi
cmovg edx, eax
call fcn.1800644d0
mov r12d, 1
mov dword [rdi], r12d
cmp byte [rsi + 0x3a8], 0
je 0x18005947c
mov rcx, qword [rsi + 0x2a8]
mov edx, dword [rsi + 0x3ac]
add rcx, 0x10
mov byte [rsi + 0x3a8], 0
call fcn.1800643a0
mov rcx, qword [rsi + 0x2a8]
mov edx, dword [rsi + 0x3b0]
add rcx, 0x20
call fcn.180064120
mov qword [rsi + 0x3ac], 0
cmp qword [r14 + 0x1bd8], 0
mov r9, qword [rsp + 0x58]
je 0x180059554
test dword [rsi + 0xc], 0x80000
jne 0x180059554
test r9, r9
je 0x180059554
mov r12, qword [rbp - 0x58]
mov r9, qword [rsi]
mov rax, r12
mov r8, r9
sub r8, r12
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800594d3
inc rax
test ecx, ecx
jne 0x1800594c0
test edx, edx
je 0x180059549
movsxd rdi, dword [rsi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x1800594e2
inc rbx
cmp rdi, rbx
jae 0x180059535
test r9, r9
je 0x18005950b
mov rax, qword [0x18012f970]
test rax, rax
je 0x18005950b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18012f970]
test rax, rax
je 0x180059526
inc dword [rax + 0x3bc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov rdi, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], rax
mov dword [rsi + 0x48], edi
mov r9, qword [rsp + 0x58]
mov r12d, 1
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180056d70
lea r10, [rsi + 0x28]
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rsi + 0x9c]
movss dword [r10], xmm3
movss dword [r10 + 4], xmm4
test eax, eax
jle 0x18005958b
dec eax
mov dword [rsi + 0x9c], eax
mov eax, dword [rsi + 0xa0]
test eax, eax
jle 0x18005959d
dec eax
mov dword [rsi + 0xa0], eax
movzx ebx, byte [rsp + 0x33]
test r9, r9
jne 0x1800595b9
test bl, bl
je 0x1800595b2
cmp byte [rsp + 0x30], r9b
jne 0x1800595b9
mov dword [rsi + 0xa0], r12d
xor edx, edx
cmp byte [rsp + 0x32], dl
je 0x1800595fa
test r15d, 0x6000000
je 0x1800595fa
mov dword [rsi + 0xa0], r12d
test r15b, 0x40
je 0x1800595fa
test bl, bl
jne 0x1800595e1
mov dword [rsi + 0x20], edx
mov dword [rsi + 0x18], edx
movzx edi, byte [rsp + 0x30]
test dil, dil
jne 0x1800595f1
mov dword [rsi + 0x24], edx
mov dword [rsi + 0x1c], edx
mov qword [r10], 0
jmp 0x1800595ff
movzx edi, byte [rsp + 0x30]
mov rcx, qword [0x18012f970]
movss xmm0, dword [rcx + 0x1914]
mov qword [rcx + 0x1a18], rsi
mov rax, qword [rsi + 0x358]
mulss xmm0, dword [rsi + 0x2a0]
test rax, rax
je 0x180059631
mulss xmm0, dword [rax + 0x2a0]
mov eax, r15d
movss dword [rcx + 0x1928], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1910], xmm0
mov dword [rsp + 0x50], eax
je 0x18005965a
movss xmm1, dword [r14 + 0x1584]
jmp 0x18005967e
test r15d, 0x6000000
je 0x180059675
bt r15d, 0x1b
jb 0x180059675
movss xmm1, dword [r14 + 0x158c]
jmp 0x18005967e
movss xmm1, dword [r14 + 0x1568]
movss dword [rsi + 0x44], xmm1
mov eax, r15d
movsd xmm0, qword [r14 + 0x155c]
and eax, 0x5010000
movsd qword [rsi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x1800596c6
ucomiss xmm1, xmm14
jp 0x1800596c6
jne 0x1800596c6
bt r15d, 0xa
jae 0x1800596ba
movss xmm0, dword [r14 + 0x1560]
jmp 0x1800596be
movaps xmm0, xmm14
movss dword [rsi + 0x3c], xmm0
mov dword [rsi + 0x38], edx
movss xmm0, dword [rsi + 0x38]
maxss xmm0, dword [r14 + 0x15a0]
maxss xmm0, dword [r14 + 0x1b14]
movss dword [rsi + 0x14c], xmm0
mov eax, dword [r14 + 0x1b18]
mov dword [rsi + 0x150], eax
test r15b, 0x21
jne 0x180059836
mov edx, dword [rsi + 0xc]
test dl, 1
je 0x18005970a
movaps xmm2, xmm14
jmp 0x18005973e
mov rax, qword [rsi + 0x358]
movss xmm0, dword [rsi + 0x2a0]
mulss xmm0, dword [rcx + 0x1914]
test rax, rax
je 0x18005972e
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rsi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rsi + 0x14]
addss xmm3, dword [rsi + 0x20]
addss xmm2, dword [rsi + 0x14]
cmp qword [r14 + 0x1a20], rsi
jne 0x1800597f6
cmp dword [r14 + 0x1a4c], 0
jne 0x1800597f6
cmp dword [r14 + 0x1a54], 0
jne 0x1800597f6
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rcx + 0x15b0]
movss xmm0, dword [rcx + 0x15b4]
maxss xmm4, dword [rax + 0x230]
minss xmm3, dword [rax + 0x238]
maxss xmm5, dword [rax + 0x234]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x1800597f6
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x1800597f6
comiss xmm3, xmm1
jbe 0x1800597f6
comiss xmm2, xmm0
jbe 0x1800597f6
cmp byte [r14 + 0x425], 0
je 0x1800597f6
mov byte [rsi + 0x82], 1
cmp byte [rsi + 0x82], 0
je 0x18005983d
cmp byte [rsi + 0x81], 0
sete al
mov byte [rsi + 0x81], al
bt edx, 8
jb 0x180059828
comiss xmm14, dword [rcx + 0x2ef8]
jb 0x180059828
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rsi
call fcn.18005b310
lea r10, [rsi + 0x28]
jmp 0x18005983d
mov byte [rsi + 0x81], 0
mov r8, r10
mov byte [rsi + 0x82], 0
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180056e30
movzx r12d, byte [rsp + 0x31]
mov eax, r15d
and eax, 0x40
mov dword [rsp + 0x70], eax
je 0x18005989f
cmp byte [rsi + 0x81], 0
jne 0x18005989f
test bl, bl
jne 0x180059883
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test dil, dil
jne 0x180059942
movss xmm0, dword [rsp + 0x4c]
mov r12b, 1
movss dword [rsi + 0x24], xmm0
jmp 0x180059942
movzx eax, byte [rsi + 0x94]
test al, al
jg 0x1800598b7
cmp byte [rsi + 0x95], 0
jle 0x180059942
test bl, bl
jne 0x1800598e4
test al, al
jle 0x1800598e4
cmp byte [rsi + 0x97], bl
je 0x1800598d4
movss xmm0, dword [rsi + 0x20]
maxss xmm0, dword [rsp + 0x48]
jmp 0x1800598da
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test dil, dil
jne 0x180059916
cmp byte [rsi + 0x95], dil
jle 0x180059916
cmp byte [rsi + 0x97], dil
je 0x180059908
movss xmm0, dword [rsi + 0x24]
maxss xmm0, dword [rsp + 0x4c]
jmp 0x18005990e
movss xmm0, dword [rsp + 0x4c]
movss dword [rsi + 0x24], xmm0
mov r12b, 1
cmp byte [rsi + 0x81], 0
jne 0x180059942
test dword [rsi + 0xc], 0x100
mov rcx, qword [0x18012f970]
jne 0x180059942
comiss xmm14, dword [rcx + 0x2ef8]
jb 0x180059942
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rsi + 0x20]
lea rcx, [rbp - 0x80]
mov rdx, rsi
call fcn.180056ad0
cmp byte [rsi + 0x81], 0
mov ebx, dword [rsp + 0x50]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsi + 0x20], xmm3
movss dword [rsi + 0x24], xmm0
je 0x1800599e5
test ebx, ebx
jne 0x1800599e5
test byte [rsi + 0xc], 1
mov rcx, qword [0x18012f970]
je 0x180059989
movaps xmm2, xmm14
jmp 0x1800599bd
mov rax, qword [rsi + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rsi + 0x2a0]
test rax, rax
je 0x1800599ad
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rsi + 0x10]
addss xmm2, dword [rsi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rsi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x60], xmm0
jmp 0x1800599f0
movsd xmm0, qword [rsi + 0x20]
movsd qword [rsp + 0x60], xmm0
mov edx, dword [rsi + 0xc]
lea rax, [rsp + 0x60]
movsd xmm0, qword [rax]
mov rax, qword [0x18012f970]
movsd qword [rsi + 0x18], xmm0
test dl, 1
je 0x180059a13
movaps xmm1, xmm14
jmp 0x180059a47
mov rcx, qword [rsi + 0x358]
movss xmm0, dword [rax + 0x1914]
mulss xmm0, dword [rsi + 0x2a0]
test rcx, rcx
je 0x180059a37
mulss xmm0, dword [rcx + 0x2a0]
movss xmm1, dword [rax + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt edx, 0xa
jae 0x180059a90
mov rcx, qword [rsi + 0x358]
movss xmm12, dword [rax + 0x1914]
mulss xmm12, dword [rsi + 0x2a0]
test rcx, rcx
je 0x180059a74
mulss xmm12, dword [rcx + 0x2a0]
movss xmm0, dword [rax + 0x1594]
addss xmm12, dword [rsi + 0x150]
addss xmm0, xmm0
addss xmm12, xmm0
jmp 0x180059a94
movaps xmm12, xmm14
cmp byte [rsp + 0x32], 0
addss xmm12, xmm1
movzx edi, byte [rsp + 0x34]
je 0x180059b0a
cmp dword [rsp + 0x38], 0
mov dword [rsi + 0x98], 0xffffffff
je 0x180059b0a
test dil, dil
jne 0x180059b0a
cmp dword [r14 + 0x1b70], 0
jg 0x180059adf
mov r8d, 0x502
lea rdx, [0x18010cb90]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r14 + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x1b78]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rsi + 0x10], xmm0
movss dword [rsi + 0x14], xmm1
test ebx, ebx
je 0x180059bb8
test r13, r13
je 0x180059b1e
cmp byte [r13 + 0x7e], 0
jne 0x180059b38
mov r8d, 0x159b
lea rdx, [0x18010cd20]
lea rcx, str.parent_window__parent_window__Active
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rbx, [r13 + 0x158]
movzx eax, word [rbx]
mov word [rsi + 0x8a], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180059b7d
inc r8d
test ecx, ecx
je 0x180059b66
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180059b6b
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180063fb0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov r8d, dword [rsp + 0x38]
mov qword [rax + rcx*8], rsi
inc dword [rbx]
mov eax, dword [rsp + 0x3c]
test r8d, r8d
jne 0x180059bc3
test dil, dil
jne 0x180059bc3
mov ebx, dword [rsp + 0x50]
cmp eax, 0x3000000
je 0x180059bc7
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rsi + 0x10], xmm0
jmp 0x180059bc7
mov r8d, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
jmp 0x180059bc7
mov ebx, dword [rsp + 0x50]
movss xmm1, dword [rsi + 0xb0]
ucomiss xmm1, dword [0x1801168dc]
jp 0x180059bda
je 0x180059c2b
cmp dword [rsi + 0xa0], 0
jne 0x180059c2b
movss xmm0, dword [rsi + 0xb8]
lea rdx, [rsp + 0x60]
mulss xmm0, dword [rsi + 0x20]
xor r8d, r8d
mov rcx, rsi
subss xmm1, xmm0
movss xmm0, dword [rsi + 0xb4]
movss dword [rsp + 0x60], xmm1
movss xmm1, dword [rsi + 0xbc]
mulss xmm1, dword [rsi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x64], xmm0
call fcn.18005c0e0
jmp 0x180059c75
bt r15d, 0x1c
jb 0x180059c56
test r8d, r8d
je 0x180059c43
test dil, dil
jne 0x180059c43
cmp dword [rsp + 0x40], 0
jg 0x180059c56
bt r15d, 0x19
jae 0x180059c7a
test dil, dil
jne 0x180059c7a
cmp eax, 0x3000000
je 0x180059c7a
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.18005e340
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rsi + 0x10], xmm0
movss dword [rsi + 0x14], xmm1
mov r8d, dword [rsp + 0x38]
mov rax, qword [0x18012f970]
movss dword [rbp - 0x50], xmm14
movss dword [rbp - 0x4c], xmm14
movss xmm3, dword [rax + 0x10]
movss xmm6, dword [rax + 0x14]
movss dword [rsp + 0x38], xmm3
movss dword [rbp - 0x48], xmm3
movss dword [rsp + 0x78], xmm6
movss dword [rbp - 0x44], xmm6
test dil, dil
jne 0x180059dcf
test ebx, ebx
jne 0x180059dcf
cmp byte [rsi + 0x94], bl
jg 0x180059dcf
cmp byte [rsi + 0x95], bl
jg 0x180059dcf
movss xmm0, dword [r14 + 0x10]
comiss xmm0, xmm14
jbe 0x180059dcf
movss xmm0, dword [r14 + 0x14]
comiss xmm0, xmm14
jbe 0x180059dcf
movss xmm5, dword [r14 + 0x15f0]
movss xmm4, dword [r14 + 0x15ec]
maxss xmm5, dword [r14 + 0x15f8]
maxss xmm4, dword [r14 + 0x15f4]
cmp byte [rax + 0xcc], bl
je 0x180059d6f
test byte [rsi + 0xc], 1
jne 0x180059d6f
mov rcx, qword [rsi + 0x358]
movss xmm0, dword [rax + 0x1914]
mulss xmm0, dword [rsi + 0x2a0]
test rcx, rcx
je 0x180059d4c
mulss xmm0, dword [rcx + 0x2a0]
movss xmm1, dword [rax + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rsi + 0x18]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
jmp 0x180059d7a
movsd xmm0, qword [rsi + 0x18]
movsd qword [rsp + 0x60], xmm0
lea rax, [rsp + 0x60]
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm14
movaps xmm0, xmm1
addss xmm0, dword [rsi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm14
minss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [rsi + 0x14]
movss dword [rsi + 0x10], xmm3
maxss xmm0, xmm5
subss xmm0, xmm2
minss xmm1, xmm0
movss dword [rsi + 0x14], xmm1
cvttss2si eax, dword [rsi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rsi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rsi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x14], xmm0
test ebx, ebx
je 0x180059e00
movss xmm2, dword [r14 + 0x1580]
jmp 0x180059e23
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180059e1a
movss xmm2, dword [r14 + 0x1588]
jmp 0x180059e23
movss xmm2, dword [r14 + 0x1564]
xor dl, dl
movss dword [rsi + 0x40], xmm2
mov dword [rsp + 0x40], edx
cmp byte [rsp + 0x32], dl
je 0x180059e5e
bt r15d, 0xc
jb 0x180059e5e
mov ebx, dword [rsp + 0x3c]
test r8d, r8d
je 0x180059e4b
mov byte [rsp + 0x40], 1
jmp 0x180059e62
test ebx, ebx
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [rsp + 0x40], edx
jmp 0x180059e62
mov ebx, dword [rsp + 0x3c]
addss xmm2, dword [0x180116700]
xorps xmm0, xmm0
mov dword [rsp + 0x74], 0xffffffff
xor ecx, ecx
cmp byte [r14 + 0xcb], cl
movups xmmword [rbp - 0x40], xmm0
setne cl
movss xmm0, dword [r14 + 0x1910]
inc ecx
cmp byte [rsi + 0x81], 0
movaps xmm1, xmm0
mulss xmm0, dword [0x1801166a4]
mov dword [rsp + 0x60], ecx
mulss xmm1, dword [0x180116718]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm15, eax
cvtdq2ps xmm15, xmm15
jne 0x180059ef0
lea rax, [rbp - 0x40]
mov r9d, ecx
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x48]
call fcn.180057280
test al, al
je 0x180059ef0
mov r12b, 1
movzx ecx, r12b
jmp 0x180059ef5
movzx ecx, byte [rsp + 0x31]
cmp byte [rsi + 0x81], 0
movzx eax, byte [rsp + 0x74]
mov byte [rsi + 0x87], al
jne 0x18005a032
cmp qword [rsp + 0x58], 0
movss xmm2, dword [rsi + 0x208]
movss xmm3, dword [rsi + 0x20c]
subss xmm2, dword [rsi + 0x200]
subss xmm3, dword [rsi + 0x204]
movss xmm4, dword [rsi + 0x24]
movss xmm5, dword [rsi + 0x20]
subss xmm4, xmm12
addss xmm2, dword [rsi + 0x74]
addss xmm3, dword [rsi + 0x78]
jne 0x180059f5c
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
jmp 0x180059f89
movss xmm0, dword [rsi + 0x38]
lea rax, [rsp + 0x58]
movss xmm1, dword [rsi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rsi + 0x28]
addss xmm1, dword [rsi + 0x2c]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180059f99
movaps xmm5, xmm2
test r12b, r12b
jne 0x180059fa1
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x180059fb7
comiss xmm1, xmm4
jbe 0x180059fb3
test r15b, 8
je 0x180059fb7
xor cl, cl
jmp 0x180059fb9
mov cl, 1
mov byte [rsi + 0x7d], cl
lea rdx, [r14 + 0x15c0]
bt r15d, 0xf
jb 0x180059ffa
test cl, cl
je 0x180059fd4
movss xmm0, dword [rdx]
jmp 0x180059fd8
movaps xmm0, xmm14
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180059ff0
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x180059ffa
mov byte [rsi + 0x7c], 0
movaps xmm1, xmm14
jmp 0x18005a01a
mov byte [rsi + 0x7c], 1
test cl, cl
jne 0x18005a016
comiss xmm1, xmm4
jbe 0x18005a011
test r15b, 8
jne 0x18005a011
mov cl, 1
jmp 0x18005a013
xor cl, cl
mov byte [rsi + 0x7d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x18005a024
movss xmm0, dword [rdx]
jmp 0x18005a028
movaps xmm0, xmm14
movss dword [rsi + 0x74], xmm0
movss dword [rsi + 0x78], xmm1
mov r12d, r15d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x18005a054
lea rax, [r13 + 0x230]
cmp ebx, 0x3000000
jne 0x18005a058
lea rax, [rbp - 0x50]
test byte [rsi + 0xc], 1
movss xmm7, dword [rsi + 0x10]
movss xmm5, dword [rsi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rsi + 0x18]
movups xmm6, xmmword [rax]
mov rcx, qword [0x18012f970]
movaps xmm4, xmm5
addss xmm4, dword [rsi + 0x1c]
je 0x18005a088
movaps xmm0, xmm14
jmp 0x18005a0bc
mov rax, qword [rsi + 0x358]
movss xmm1, dword [rcx + 0x1914]
mulss xmm1, dword [rsi + 0x2a0]
test rax, rax
je 0x18005a0ac
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rbp - 0x80], xmm7
movaps xmm1, xmm5
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rsi + 0x14]
mov eax, r15d
addss xmm2, dword [rsi + 0x20]
movss dword [rbp - 0x7c], xmm0
and eax, 0x401
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x78], xmm2
movss dword [rsi + 0x1f0], xmm7
movss dword [rsi + 0x1f4], xmm5
movss dword [rsi + 0x1f8], xmm3
movaps xmm3, xmm6
movss dword [rsi + 0x1fc], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rsi + 0x1f0]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rsi + 0x1f0], xmm0
movss dword [rsi + 0x1f4], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rsi + 0x1f8]
movss xmm0, dword [rsi + 0x1fc]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rsi + 0x1f8], xmm1
movss dword [rsi + 0x1fc], xmm0
movss xmm9, dword [rsi + 0x10]
movss xmm7, dword [rsi + 0x14]
movaps xmm10, xmm9
movss dword [rsi + 0x200], xmm9
movaps xmm11, xmm7
addss xmm11, xmm12
addss xmm10, dword [rsi + 0x18]
addss xmm7, dword [rsi + 0x1c]
movss dword [rsi + 0x204], xmm11
subss xmm10, dword [rsi + 0x74]
subss xmm7, dword [rsi + 0x78]
movss dword [rsi + 0x208], xmm10
movss dword [rsi + 0x20c], xmm7
cmp eax, 1
jne 0x18005a1c7
movss xmm8, dword [rsi + 0x44]
jmp 0x18005a1d0
movss xmm8, dword [r14 + 0x159c]
movss xmm13, dword [0x1801166c8]
lea r13, [rsi + 0x210]
movss xmm0, dword [rsi + 0x38]
addss xmm9, xmm13
mulss xmm0, xmm13
addss xmm11, xmm13
addss xmm10, xmm13
addss xmm7, xmm13
cvttss2si eax, xmm0
subss xmm7, dword [rsi + 0x44]
addss xmm11, xmm8
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rsi + 0x44]
addss xmm9, xmm1
subss xmm10, xmm1
cvttss2si eax, xmm9
movd xmm9, eax
cvttss2si eax, xmm11
cvtdq2ps xmm9, xmm9
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm10
movss dword [rsi + 0x214], xmm0
movss dword [r13], xmm9
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm7
movss dword [rsi + 0x218], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x21c], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm4, xmm0
jbe 0x18005a281
movaps xmm1, xmm4
jmp 0x18005a288
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm9
jbe 0x18005a293
movaps xmm0, xmm6
jmp 0x18005a29b
movaps xmm0, xmm3
minss xmm0, xmm9
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm4, xmm0
ja 0x18005a2b9
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x18005a2c9
movaps xmm3, xmm6
jmp 0x18005a2cd
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm4
movss xmm0, dword [rsi + 0x18]
comiss xmm0, xmm14
jbe 0x18005a2f7
test r15d, 0x2000040
jne 0x18005a2f7
mulss xmm0, dword [0x1801166d4]
jmp 0x18005a308
movss xmm0, dword [r14 + 0x1910]
mulss xmm0, dword [0x180116830]
cvttss2si eax, xmm0
mov r8b, 1
lea rcx, [rbp - 0x70]
mov rdx, rsi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x258], xmm0
movss xmm0, dword [rsi + 0x208]
subss xmm0, dword [rsi + 0x200]
movss xmm1, dword [rsi + 0x38]
addss xmm1, xmm1
addss xmm1, dword [rsi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss xmm1, dword [rsi + 0x3c]
addss xmm1, xmm1
movss dword [rsi + 0x5c], xmm0
movss xmm0, dword [rsi + 0x20c]
subss xmm0, dword [rsi + 0x204]
addss xmm1, dword [rsi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss dword [rsi + 0x60], xmm0
call fcn.18005cdd0
mov rcx, qword [rsi + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x54], xmm0
movss dword [rsi + 0x58], xmm1
mov dword [rsi + 0x64], 0x7f7fffff
mov dword [rsi + 0x68], 0x7f7fffff
call fcn.18006c160
mov rax, qword [r14 + 0x1908]
mov rcx, qword [rsi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18006c820
mov rcx, qword [0x18012f970]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a18]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a18]
mov rcx, qword [rbx + 0x2a8]
call fcn.18006c6f0
mov rdi, qword [rbx + 0x2a8]
cmp dword [rdi + 0x60], 0
jg 0x18005a433
mov r8d, 0x502
lea rdx, [0x18010cb90]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x68]
movsxd rcx, dword [rdi + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x230], eax
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov r9, qword [0x18012f970]
bt r15d, 0x1b
jae 0x18005a4d9
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x18005a4c0
mov r8, qword [r9 + 0x1b68]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x18005a4b6
test dword [rax + 0xc], 0x8000000
jne 0x18005a4c2
sub r8, 0x30
sub rdx, 1
jns 0x18005a4a5
xor eax, eax
cmp rsi, rax
jne 0x18005a4d9
cmp dword [rsi + 0xa0], 0
jg 0x18005a4d9
mov cl, 1
mov edx, 0x3a0
jmp 0x18005a4e0
xor cl, cl
mov edx, 0x390
mov rax, qword [r14 + 0x1bd0]
test rax, rax
je 0x18005a4f9
cmp rsi, qword [rax + 0x360]
jne 0x18005a4f9
mov bl, 1
jmp 0x18005a4fb
xor bl, bl
test cl, cl
jne 0x18005a507
test bl, bl
je 0x18005a64f
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rbp - 0x70]
movss xmm0, dword [r14 + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x70], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x64], xmm1
call fcn.18004f020
mov rcx, qword [rsi + 0x2a8]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x48]
movss dword [rsp + 0x20], xmm14
call fcn.18006e960
test bl, bl
je 0x18005a64f
movss xmm11, dword [rsp + 0x38]
cmp rsi, qword [r14 + 0x1bd0]
jne 0x18005a656
movss xmm0, dword [r14 + 0x1910]
movss xmm2, dword [rsi + 0x10]
movss xmm3, dword [rsi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rsi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rsi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm14, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x50], xmm1
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x4c], xmm4
movss dword [rbp - 0x44], xmm3
jb 0x18005a5de
comiss xmm14, xmm4
jb 0x18005a5de
comiss xmm2, xmm11
jb 0x18005a5de
comiss xmm3, dword [rsp + 0x78]
jae 0x18005a656
mov rax, qword [0x18012f970]
lea rcx, [rbp - 0x70]
movss xmm0, dword [r14 + 0x1be4]
mulss xmm0, dword [0x1801166a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x70], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x64], xmm1
call fcn.18004f020
movss xmm0, dword [r14 + 0x1564]
lea r8, [rbp - 0x48]
mov rcx, qword [rsi + 0x2a8]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.18006e960
jmp 0x18005a656
movss xmm11, dword [rsp + 0x38]
xor dil, dil
cmp r12d, 0x1000000
jne 0x18005a6c3
cmp dword [rsp + 0x3c], 0x3000000
je 0x18005a6c3
mov rbx, qword [rsi + 0x2a8]
cmp dword [rbx], 0
jg 0x18005a692
mov r8d, 0x502
lea rdx, [0x18010cb90]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx]
mov r12, qword [rsp + 0x68]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x18005a6c8
mov rax, qword [r12 + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x18005a6c8
mov dil, 1
mov qword [rsi + 0x2a8], rax
jmp 0x18005a6c8
mov r12, qword [rsp + 0x68]
mov rax, qword [r14 + 0x1bc8]
test rax, rax
jne 0x18005a6db
mov rax, qword [r14 + 0x1b80]
cmp byte [rsp + 0x40], 0
jne 0x18005a6fc
test rax, rax
je 0x18005a6f7
mov rax, qword [rax + 0x368]
cmp qword [rsi + 0x368], rax
je 0x18005a6fc
xor r8b, r8b
jmp 0x18005a6ff
mov r8b, 1
mov r9d, dword [rsp + 0x60]
lea rax, [rbp - 0x40]
movss dword [rsp + 0x28], xmm15
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1800580d0
movaps xmm15, xmmword [rsp + 0xe0]
test dil, dil
je 0x18005a73c
lea rax, [rsi + 0x2b0]
mov qword [rsi + 0x2a8], rax
cmp qword [r14 + 0x1bd0], rsi
jne 0x18005a8c2
movss xmm1, dword [r14 + 0x1910]
movss xmm7, dword [rsi + 0x10]
movss xmm6, dword [rsi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rsi + 0x18]
movss xmm2, dword [rsi + 0x40]
subss xmm9, xmm1
movaps xmm8, xmm6
movaps xmm10, xmm2
addss xmm6, dword [rsi + 0x1c]
maxss xmm10, dword [r14 + 0x1564]
subss xmm8, xmm1
comiss xmm14, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18005a7d9
comiss xmm14, xmm8
jb 0x18005a7d9
comiss xmm7, xmm11
jb 0x18005a7d9
comiss xmm6, dword [rsp + 0x78]
jb 0x18005a7d9
xorps xmm1, xmmword [0x180116f00]
movaps xmm10, xmm2
subss xmm1, dword [0x180116700]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18012f970]
lea rcx, [rbp - 0x40]
movss xmm0, dword [r14 + 0x1be4]
mov rbx, qword [rsi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x34], xmm1
call fcn.18004f020
mov edi, eax
test eax, 0xff000000
je 0x18005a8c2
test byte [rbx + 0x30], 1
addss xmm9, xmm13
addss xmm8, xmm13
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm10
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rbx
movss dword [rsp + 0x48], xmm9
movss dword [rsp + 0x4c], xmm8
je 0x18005a869
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x18005a879
subss xmm7, dword [0x1801166c4]
subss xmm6, dword [0x1801166c4]
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x5c], xmm6
call fcn.18006e380
movss xmm0, dword [0x1801167c4]
mov r9d, edi
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.18006caf0
xor r8d, r8d
mov dword [rbx + 0x80], r8d
jmp 0x18005a8c5
xor r8d, r8d
movss xmm6, dword [rsi + 0x30]
mov ecx, r15d
movaps xmm13, xmmword [rsp + 0x100]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm14
jp 0x18005a924
jne 0x18005a924
movss xmm0, dword [rsi + 0x38]
mov eax, r15d
movss xmm1, dword [rsi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rsi + 0x74]
cmp eax, 0x800
jne 0x18005a919
movss xmm8, dword [rsi + 0x28]
maxss xmm8, xmm1
jmp 0x18005a928
movaps xmm8, xmm14
maxss xmm8, xmm1
jmp 0x18005a928
movaps xmm8, xmm6
movss xmm5, dword [rsi + 0x34]
ucomiss xmm5, xmm14
jp 0x18005a96a
jne 0x18005a96a
movss xmm0, dword [rsi + 0x3c]
movss xmm1, dword [rsi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm12
subss xmm1, dword [rsi + 0x78]
test cl, cl
je 0x18005a960
movss xmm7, dword [rsi + 0x2c]
maxss xmm7, xmm1
jmp 0x18005a96d
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18005a96d
movaps xmm7, xmm5
ucomiss xmm6, xmm14
movss xmm4, dword [rsi + 0x38]
movss xmm10, dword [rsi + 0x54]
movaps xmm1, xmm4
maxss xmm1, dword [rsi + 0x44]
movss xmm0, dword [rsi + 0x200]
movss xmm9, dword [rsi + 0x3c]
subss xmm0, xmm10
movss xmm11, dword [rsi + 0x58]
addss xmm1, xmm0
movss xmm0, dword [rsi + 0x204]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rsi + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rsi + 0x220], xmm3
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x150]
cvttss2si eax, xmm1
movss dword [rsi + 0x228], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rsi + 0x224], xmm2
addss xmm2, xmm7
movss xmm7, dword [rsi + 0x14]
movaps xmm1, xmm7
subss xmm1, xmm11
movss dword [rsi + 0x22c], xmm2
movss xmm2, dword [rsi + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm10
addss xmm1, xmm9
addss xmm3, xmm4
addss xmm1, xmm12
movss dword [rsi + 0x240], xmm3
movss dword [rsi + 0x244], xmm1
jp 0x18005aa54
jne 0x18005aa54
movss xmm6, dword [rsi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm6, xmm0
subss xmm6, dword [rsi + 0x74]
ucomiss xmm5, xmm14
addss xmm3, xmm6
movaps xmm6, xmmword [rsp + 0x170]
movss dword [rsi + 0x248], xmm3
jp 0x18005aa8c
jne 0x18005aa8c
movss xmm5, dword [rsi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm5, xmm0
subss xmm5, xmm12
subss xmm5, dword [rsi + 0x78]
mov qword [rsi + 0x1e0], 0
addss xmm12, xmm9
movaps xmm9, xmmword [rsp + 0x140]
addss xmm4, xmm14
addss xmm1, xmm5
subss xmm12, xmm11
movaps xmm11, xmmword [rsp + 0x120]
subss xmm4, xmm10
movaps xmm10, xmmword [rsp + 0x130]
movss dword [rsi + 0x24c], xmm1
addss xmm12, xmm7
movaps xmm7, xmmword [rsp + 0x160]
movss dword [rsi + 0x1dc], xmm4
addss xmm4, xmm14
movss dword [rsi + 0xe4], xmm12
movss dword [rsi + 0xd4], xmm12
addss xmm4, xmm2
movss dword [rsi + 0xdc], xmm12
movss dword [rsi + 0xec], xmm12
movaps xmm12, xmmword [rsp + 0x110]
movss dword [rsi + 0xe0], xmm4
movss dword [rsi + 0xd0], xmm4
movss dword [rsi + 0xd8], xmm4
movss dword [rsi + 0xe8], xmm4
mov qword [rsi + 0xf8], 0
mov qword [rsi + 0xf0], 0
mov qword [rsi + 0x100], 0
mov byte [rsi + 0x148], 0
movss xmm0, dword [rsi + 0x60]
comiss xmm0, xmm14
seta al
mov byte [rsi + 0x149], al
mov eax, dword [rsi + 0x144]
mov dword [rsi + 0x140], eax
mov dword [rsi + 0x144], r8d
mov byte [rsi + 0x14a], 0
mov ecx, dword [rsi + 0x15c]
test ecx, ecx
jns 0x18005abbb
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.180063fb0
xor r8d, r8d
mov dword [rsi + 0x158], r8d
mov eax, 1
mov dword [rsi + 0x170], eax
test r12, r12
je 0x18005abf5
mov eax, dword [r12 + 0x170]
mov dword [rsi + 0x174], eax
mov qword [rsi + 0x178], 0xffffffffffffffff
mov eax, dword [r12 + 0x180]
jmp 0x18005ac09
mov dword [rsi + 0x174], eax
mov eax, r8d
mov qword [rsi + 0x178], 0xffffffffffffffff
mov dword [rsi + 0x180], eax
lea rbx, [rsi + 0x190]
mov eax, dword [rsi + 0x258]
mov dword [rsi + 0x184], eax
mov dword [rsi + 0x188], 0xbf800000
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18005ac4f
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1800644d0
xor r8d, r8d
mov dword [rbx], r8d
mov ecx, dword [rsi + 0x1a4]
test ecx, ecx
jns 0x18005ac7c
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.1800644d0
xor r8d, r8d
mov dword [rsi + 0x1a0], r8d
mov ecx, dword [rsi + 0x1b4]
test ecx, ecx
jns 0x18005acad
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.1800644d0
xor r8d, r8d
mov dword [rsi + 0x1b0], r8d
lea rax, [rsi + 0x280]
mov qword [rsi + 0x1e8], r8
lea rcx, [rsi + 0x1c0]
mov qword [rsi + 0x108], 0
xor edx, edx
mov qword [rsi + 0x168], rax
call fcn.180063940
movss xmm0, dword [r14 + 0x15a0]
xor edx, edx
movss dword [rsi + 0x25c], xmm0
mov qword [rsi + 0x260], rdx
cmp byte [rsp + 0x32], dl
je 0x18005ad11
xor eax, eax
mov qword [rsi + 0x274], rax
mov dword [rsi + 0x27c], eax
movss xmm1, dword [rsi + 0x260]
cvttss2si eax, xmm1
addss xmm1, dword [rsi + 0x274]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x268], xmm0
movss dword [rsi + 0x260], xmm1
mov dword [rsi + 0x274], edx
movss xmm0, dword [rsi + 0x278]
comiss xmm0, xmm14
jbe 0x18005ad68
movss xmm0, dword [rsi + 0x25c]
addss xmm0, dword [rsi + 0x260]
movss dword [rsi + 0x260], xmm0
movss xmm1, dword [rsi + 0x260]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x26c], xmm0
addss xmm1, dword [rsi + 0x278]
movss dword [rsi + 0x260], xmm1
mov dword [rsi + 0x278], edx
movss xmm0, dword [rsi + 0x27c]
comiss xmm0, xmm14
jbe 0x18005adaf
addss xmm1, dword [rsi + 0x25c]
mov edi, dword [rsp + 0x50]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x270], xmm0
addss xmm1, dword [rsi + 0x27c]
movss dword [rsi + 0x260], xmm1
mov dword [rsi + 0x27c], edx
test edi, edi
je 0x18005ae3c
mov eax, dword [r12 + 0x180]
cmp dword [rsi + 0x180], eax
je 0x18005ae3c
mov dword [rsi + 0x180], eax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18005ae2a
inc r8d
test ecx, ecx
je 0x18005ae13
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ae18
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800644d0
movsxd rdx, dword [rbx]
mov eax, dword [rsi + 0x180]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
lea r12, [rsi + 0x94]
movzx eax, byte [r12]
test al, al
jle 0x18005ae52
dec al
mov byte [r12], al
movzx eax, byte [rsi + 0x95]
test al, al
jle 0x18005ae65
dec al
mov byte [rsi + 0x95], al
cmp byte [rsp + 0x40], 0
je 0x18005ae7e
mov rcx, rsi
call fcn.18005b310
xor edx, edx
mov rcx, rsi
call fcn.18005f0e0
and r15d, 1
jne 0x18005ae94
mov r8, qword [rbp - 0x58]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180058790
mov eax, dword [rsi + 0x4c]
movss xmm1, dword [rbp - 0x80]
movss xmm4, dword [rbp - 0x78]
movss xmm5, dword [rbp - 0x74]
movss xmm3, dword [rbp - 0x7c]
mov dword [rsi + 0x110], eax
mov rax, qword [0x18012f970]
movss xmm2, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm1, xmm2
addss xmm4, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm5, xmm0
subss xmm3, xmm0
comiss xmm2, xmm1
jb 0x18005af03
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm3
jb 0x18005af03
comiss xmm4, xmm2
jbe 0x18005af03
comiss xmm5, xmm0
jbe 0x18005af03
mov eax, 1
jmp 0x18005af05
xor eax, eax
movups xmm0, xmmword [rbp - 0x80]
mov dword [rsi + 0x114], eax
lea rdx, [rsi + 0x218]
mov r8b, 1
mov rcx, r13
movups xmmword [rsi + 0x118], xmm0
call fcn.1800552f0
mov r13, r12
mov byte [rsi + 0x80], 0
jmp 0x18005afb1
mov rax, qword [0x18012f970]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rsi
mov rcx, qword [rsi + 0x358]
mulss xmm0, dword [rsi + 0x2a0]
test rcx, rcx
je 0x18005af66
mulss xmm0, dword [rcx + 0x2a0]
mov ebx, r15d
movss dword [rax + 0x1928], xmm0
mov edi, r15d
movss dword [rax + 0x1910], xmm0
and ebx, r8d
lea rdx, [rsi + 0x218]
mov r8b, 1
lea rcx, [rsi + 0x210]
and edi, 0x1000000
lea r13, [rsi + 0x94]
and r15d, 0x40
call fcn.1800552f0
mov dword [rsp + 0x70], r15d
mov r12, r13
mov r15d, ebx
inc word [rsi + 0x88]
mov rbx, qword [rsp + 0x1c8]
test edi, edi
mov rdi, qword [rsp + 0x198]
mov dword [r14 + 0x1ab8], 0
je 0x18005b094
test r15d, r15d
jne 0x18005affa
mov r8d, 0x16d0
lea rdx, [0x18010cd20]
lea rcx, str._flags__ImGuiWindowFlags_NoTitleBar____0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rsp + 0x70], 0
jne 0x18005b040
cmp byte [r13], 0
jg 0x18005b040
cmp byte [rsi + 0x95], 0
jg 0x18005b040
movss xmm0, dword [rsi + 0x1f0]
comiss xmm0, dword [rsi + 0x1f8]
jae 0x18005b033
movss xmm0, dword [rsi + 0x1f4]
comiss xmm0, dword [rsi + 0x1fc]
jb 0x18005b040
mov edx, 1
mov dword [rsi + 0x9c], edx
jmp 0x18005b045
mov edx, 1
mov rax, qword [rsp + 0x68]
lea rcx, [rsi + 0x9c]
test rax, rax
je 0x18005b09b
cmp byte [rax + 0x81], 0
jne 0x18005b071
cmp dword [rax + 0x9c], 0
jg 0x18005b071
lea rcx, [rsi + 0x9c]
jmp 0x18005b07a
lea rcx, [rsi + 0x9c]
mov dword [rcx], edx
cmp byte [rax + 0x81], 0
jne 0x18005b08c
cmp dword [rax + 0xa0], 0
jle 0x18005b09b
mov dword [rsi + 0xa0], edx
jmp 0x18005b09b
lea rcx, [rsi + 0x9c]
comiss xmm14, dword [r14 + 0x1558]
mov edx, 1
mov r14, qword [rsp + 0x188]
mov r15, qword [rsp + 0x180]
mov r13, qword [rsp + 0x190]
movaps xmm14, xmmword [rsp + 0xf0]
jb 0x18005b0cd
mov dword [rcx], edx
cmp dword [rcx], 0
jg 0x18005b0df
cmp dword [rsi + 0xa0], 0
jg 0x18005b0df
xor cl, cl
jmp 0x18005b0e1
mov cl, 1
xor al, al
mov byte [rsi + 0x85], cl
cmp byte [rsi + 0x81], al
jne 0x18005b0fa
cmp byte [rsi + 0x7e], al
je 0x18005b0fa
test cl, cl
je 0x18005b115
cmp byte [r12], al
jg 0x18005b115
cmp byte [rsi + 0x95], al
jg 0x18005b115
cmp dword [rsi + 0xa0], 0
movzx eax, al
cmovle eax, edx
mov byte [rsi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1800b2700
add rsp, 0x1a0
pop r12
pop rsi
pop rbp
ret