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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0xa8]
sub rsp, 0x190
mov rax, qword [0x180047040]
xor rax, rsp
mov qword [rbp - 0x38], rax
mov qword [r11 + 0x20], rsi
mov rbx, rcx
mov rsi, qword [0x180047ae8]
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x88], xmm10
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rcx
test rcx, rcx
je 0x18000b66d
cmp byte [rcx], 0
jne 0x18000b687
mov r8d, 0x1521
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str.name___0__name_0____0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rsi + 0x1a14], 0
jne 0x18000b6aa
mov r8d, 0x1522
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str.g.WithinFrameScope
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rsi + 0x1a08]
cmp dword [rsi + 0x1a0c], eax
jne 0x18000b6d2
mov r8d, 0x1523
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str.g.FrameCountEnded___g.FrameCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, rbx
call fcn.180009080
test rax, rax
mov qword [rsp + 0x50], rax
mov rdi, rax
xorps xmm10, xmm10
sete byte [rsp + 0x31]
test rax, rax
jne 0x18000b746
mov ecx, dword [rsi + 0x1b10]
and ecx, 2
je 0x18000b70e
movsd xmm0, qword [rsi + 0x1b30]
movsd qword [rsp + 0x48], xmm0
jmp 0x18000b717
mov qword [rsp + 0x40], 0
test ecx, ecx
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r8d, r14d
cmovne rax, rdx
mov rcx, rbx
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.180009150
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18000b75b
or r14d, 6
mov ecx, r14d
and ecx, 0x1800000
cmp ecx, 0x800000
jne 0x18000b786
mov r8d, 0x1533
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str.flags__ImGuiWindowFlags_ChildWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rsi + 0x1a48], 0
mov r13d, dword [rsi + 0x1a08]
mov r12d, dword [rdi + 0x278]
jne 0x18000b7aa
cmp byte [rsi + 0x1a15], 0
je 0x18000b7aa
mov al, 1
jmp 0x18000b7ac
xor al, al
mov byte [rdi + 0x86], al
lea eax, [r13 - 1]
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x38], eax
setl r15b
mov byte [rsp + 0x34], r15b
bt r14d, 0x1a
jae 0x18000b82b
movsxd rbx, dword [rsi + 0x1bd0]
cmp ebx, dword [rsi + 0x1bc0]
jl 0x18000b7fc
mov r8d, 0x52a
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, qword [rsi + 0x1bc8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x38]
or r15b, cl
mov byte [rsp + 0x34], r15b
test r15b, r15b
jne 0x18000b83d
test eax, eax
jg 0x18000b83d
mov byte [rdi + 0x84], r15b
jmp 0x18000b859
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor ecx, ecx
cmp r12d, r13d
je 0x18000b89c
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r13d
movsd xmm0, qword [rsi + 0x1a00]
mov word [rdi + 0x8c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1a68]
inc dword [rsi + 0x1a68]
mov word [rdi + 0x8e], ax
jmp 0x18000b8a0
mov r14d, dword [rdi + 0xc]
mov eax, dword [rsi + 0x1a48]
test eax, eax
jne 0x18000b8af
mov rax, rcx
jmp 0x18000b8e0
jg 0x18000b8cb
mov r8d, 0x534
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rsi + 0x1a48]
mov rax, qword [rsi + 0x1a50]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x18000b8f2
test r14d, 0x5000000
cmovne rcx, rax
jmp 0x18000b8f9
mov rcx, qword [rdi + 0x360]
mov qword [rsp + 0x48], rcx
test rcx, rcx
jne 0x18000b924
bt r14d, 0x18
jae 0x18000b924
mov r8d, 0x1557
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str.parent_window___0____flags__ImGuiWindowFlags_ChildWindow_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rdi + 0xc0], 0
jne 0x18000b93d
lea rdx, [rdi + 8]
lea rcx, [rdi + 0xc0]
call fcn.1800152c0
lea rbx, [rsi + 0x1a48]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18000b978
inc r8d
test ecx, ecx
je 0x18000b961
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000b966
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180015850
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x208]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov rcx, qword [0x180047ae8]
mov qword [rsi + 0x1a70], 0
mov eax, dword [rdi + 0xc0]
mov word [rdx], ax
mov eax, dword [rdi + 0x1f8]
mov word [rdx + 2], ax
mov eax, dword [rcx + 0x1bd0]
mov word [rdx + 4], ax
mov eax, dword [rcx + 0x1b90]
mov word [rdx + 6], ax
mov eax, dword [rcx + 0x1ba0]
mov word [rdx + 8], ax
add rdx, 0xa
mov eax, dword [rcx + 0x1bb0]
mov word [rdx], ax
lea rax, [rdi + 0x212]
cmp rdx, rax
je 0x18000ba02
mov r8d, 0x1a8f
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str.p__window__DC.StackSizesBackup____int__sizeof_window__DC.StackSizesBackup____sizeof_window__DC.StackSizesBackup___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
bt r14d, 0x1a
jae 0x18000ba5c
movsxd rbx, dword [rsi + 0x1bd0]
cmp ebx, dword [rsi + 0x1bc0]
jl 0x18000ba32
mov r8d, 0x52a
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rbx, [rbx + rbx*2]
shl rbx, 4
lea rcx, [rsi + 0x1bd0]
add rbx, qword [rsi + 0x1bc8]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.1800155f0
mov eax, dword [rbx]
mov dword [rdi + 0x90], eax
xor r15d, r15d
cmp dword [rsp + 0x38], r15d
jle 0x18000ba74
bt r14d, 0x18
jb 0x18000ba74
mov dword [rdi + 0x388], r15d
cmp r12d, r13d
je 0x18000bb32
mov rcx, qword [rsp + 0x48]
mov qword [rdi + 0x360], rcx
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test rcx, rcx
je 0x18000bade
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18000bac0
mov rax, qword [rcx + 0x368]
mov qword [rdi + 0x368], rax
bt r14d, 0x1b
jb 0x18000bade
test r14d, 0x5000000
je 0x18000bade
mov rax, qword [rcx + 0x370]
mov qword [rdi + 0x370], rax
test dword [rdi + 0xc], 0x800000
je 0x18000bb32
mov rax, rdi
nop word [rax + rax]
cmp qword [rax + 0x360], 0
jne 0x18000bb14
mov r8d, 0x1511
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, [0x180038360]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x378]
mov rax, qword [rax + 0x360]
mov qword [rdi + 0x378], rax
test dword [rax + 0xc], 0x800000
jne 0x18000baf0
xor cl, cl
xor dl, dl
test byte [rsi + 0x1b10], 1
mov byte [rsp + 0x33], dl
mov byte [rsp + 0x32], cl
mov byte [rsp + 0x30], cl
je 0x18000bbc6
mov r8d, dword [rsi + 0x1b14]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x33], dl
test r8d, ecx
je 0x18000bbb7
movss xmm0, dword [rsi + 0x1b2c]
movss xmm1, dword [rsi + 0x1b28]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180040740]
jbe 0x18000bbb7
movsd xmm0, qword [rsi + 0x1b20]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1b28]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18000bbc6
lea rdx, [rsi + 0x1b20]
mov rcx, rdi
call fcn.18000e3d0
test byte [rsi + 0x1b10], 2
je 0x18000bc27
mov r8d, dword [rsi + 0x1b18]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18000bbf6
movss xmm0, dword [rsi + 0x1b30]
comiss xmm0, xmm10
jbe 0x18000bbf6
mov byte [rsp + 0x32], 1
jmp 0x18000bc00
xor cl, cl
mov byte [rsp + 0x32], cl
test eax, eax
je 0x18000bc13
movss xmm0, dword [rsi + 0x1b34]
comiss xmm0, xmm10
mov byte [rsp + 0x30], 1
ja 0x18000bc18
mov byte [rsp + 0x30], 0
lea rdx, [rsi + 0x1b30]
mov rcx, rdi
call fcn.18000e4e0
test byte [rsi + 0x1b10], 4
je 0x18000bc3f
movsd xmm0, qword [rsi + 0x1b38]
movsd qword [rdi + 0x30], xmm0
jmp 0x18000bc4c
cmp r12d, r13d
je 0x18000bc4c
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1b10], 8
je 0x18000bc7b
mov eax, dword [rsi + 0x1b1c]
movzx ecx, byte [rsi + 0x1b40]
test eax, eax
je 0x18000bc6e
test dword [rdi + 0xac], eax
je 0x18000bc7b
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1b10], 0x20
je 0x18000bc8c
mov rcx, rdi
call fcn.18000dc10
cmp byte [rdi + 0x84], 0
je 0x18000bcaa
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r13d
je 0x18000d873
movaps xmmword [rsp + 0x160], xmm6
lea rcx, [rdi + 0xc0]
movaps xmmword [rsp + 0x150], xmm7
mov eax, r14d
movaps xmmword [rsp + 0x140], xmm8
and eax, 0x3000000
cmp qword [rbp - 0x68], 0
mov edx, ebx
movaps xmmword [rsp + 0x130], xmm9
movaps xmmword [rsp + 0x110], xmm11
movaps xmmword [rsp + 0x100], xmm12
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm14
movaps xmmword [rsp + 0xd0], xmm15
mov byte [rdi + 0x7e], bl
mov dword [rsp + 0x58], eax
setne al
mov byte [rdi + 0x87], al
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
call fcn.180015b70
cmp byte [rdi + 0x3b0], 0
je 0x18000bda1
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3b4]
add rcx, 0x10
mov byte [rdi + 0x3b0], 0
call fcn.180015ee0
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3b8]
add rcx, 0x20
call fcn.180015c50
mov qword [rdi + 0x3b4], 0
cmp qword [rsi + 0x1d10], 0
mov rcx, qword [rsp + 0x50]
je 0x18000be6f
test dword [rdi + 0xc], 0x80000
jne 0x18000be6f
test rcx, rcx
je 0x18000be6f
mov r12, qword [rbp - 0x60]
mov r9, qword [rdi]
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 0x18000bdf3
inc rax
test ecx, ecx
jne 0x18000bde0
test edx, edx
je 0x18000be6a
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18000be02
inc rbx
cmp r15, rbx
jae 0x18000be55
test r9, r9
je 0x18000be2b
mov rax, qword [0x180047ae8]
test rax, rax
je 0x18000be2b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180047ae8]
test rax, rax
je 0x18000be46
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 r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x48], r15d
mov rcx, qword [rsp + 0x50]
cmp byte [rdi + 0x81], 0
je 0x18000beaf
cmp byte [rdi + 0x94], 0
jg 0x18000beaf
cmp byte [rdi + 0x95], 0
jg 0x18000beaf
movss xmm0, dword [rdi + 0x2c]
movss xmm1, dword [rdi + 0x28]
unpcklps xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
movss xmm2, dword [rsp + 0x40]
shufps xmm0, xmm0, 0x55
jmp 0x18000bf3f
cmp byte [rdi + 0x85], 0
je 0x18000beef
cmp dword [rdi + 0xa0], 0
jne 0x18000beef
cmp dword [rdi + 0x9c], 0
jle 0x18000beef
movss xmm0, dword [rdi + 0x2c]
movss xmm2, dword [rdi + 0x28]
unpcklps xmm2, xmm0
movaps xmm1, xmm2
movsd qword [rsp + 0x40], xmm2
movss xmm2, dword [rsp + 0x40]
shufps xmm1, xmm1, 0x55
movaps xmm0, xmm1
jmp 0x18000bf3f
movss xmm1, dword [rdi + 0x30]
ucomiss xmm1, xmm10
jp 0x18000bf0c
jne 0x18000bf0c
movss xmm1, dword [rdi + 0xe8]
subss xmm1, dword [rdi + 0xe0]
movss xmm0, dword [rdi + 0x34]
ucomiss xmm0, xmm10
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jp 0x18000bf34
jne 0x18000bf34
movss xmm0, dword [rdi + 0xec]
subss xmm0, dword [rdi + 0xe4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm0
test eax, eax
jle 0x18000bf5b
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x18000bf6d
dec eax
mov dword [rdi + 0xa0], eax
movzx ebx, byte [rsp + 0x32]
test rcx, rcx
jne 0x18000bf8e
test bl, bl
je 0x18000bf81
cmp byte [rsp + 0x30], cl
jne 0x18000bf8e
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x18000bf93
mov eax, 1
movzx r13d, byte [rsp + 0x34]
xor edx, edx
test r13b, r13b
je 0x18000bfda
test r14d, 0x6000000
je 0x18000bfda
mov dword [rdi + 0xa0], eax
test r14b, 0x40
je 0x18000bfda
test bl, bl
jne 0x18000bfbf
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
jne 0x18000bfd0
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [rdi + 0x28], 0
jmp 0x18000bfe0
movzx r15d, byte [rsp + 0x30]
mov rcx, qword [0x180047ae8]
movss xmm0, dword [rcx + 0x192c]
mov qword [rcx + 0x1a70], rdi
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000c012
mulss xmm0, dword [rax + 0x2a8]
movss dword [rcx + 0x1940], xmm0
movss dword [rcx + 0x1928], xmm0
bt r14d, 0x18
jae 0x18000c033
movss xmm1, dword [rsi + 0x1594]
jmp 0x18000c055
test r14d, 0x6000000
je 0x18000c04d
bt r14d, 0x1b
jb 0x18000c04d
movss xmm1, dword [rsi + 0x159c]
jmp 0x18000c055
movss xmm1, dword [rsi + 0x1578]
mov rax, rdi
movss dword [rax + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x156c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x18000c09e
ucomiss xmm1, xmm10
jp 0x18000c09e
jne 0x18000c09e
bt r14d, 0xa
jae 0x18000c092
movss xmm0, dword [rsi + 0x1570]
jmp 0x18000c096
movaps xmm0, xmm10
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], edx
test r14b, 0x21
jne 0x18000c1dc
test byte [rdi + 0xc], 1
je 0x18000c0b4
movaps xmm2, xmm10
jmp 0x18000c0e8
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x192c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000c0d8
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 0x15a4]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1a78], rdi
jne 0x18000c19d
cmp dword [rsi + 0x1aa4], 0
jne 0x18000c19d
cmp dword [rsi + 0x1aac], 0
jne 0x18000c19d
mov rax, qword [rcx + 0x1a70]
movss xmm1, dword [rcx + 0x15c0]
movss xmm0, dword [rcx + 0x15c4]
maxss xmm4, dword [rax + 0x258]
minss xmm3, dword [rax + 0x260]
maxss xmm5, dword [rax + 0x25c]
minss xmm2, dword [rax + 0x264]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18000c19d
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x18000c19d
comiss xmm3, xmm1
jbe 0x18000c19d
comiss xmm2, xmm0
jbe 0x18000c19d
cmp byte [rsi + 0x42d], 0
je 0x18000c19d
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18000c1e3
cmp byte [rdi + 0x81], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
jne 0x18000c1d2
comiss xmm10, dword [rcx + 0x2f74]
jb 0x18000c1d2
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f74], eax
mov rcx, rdi
call fcn.18000dc10
jmp 0x18000c1e3
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180009800
movzx r12d, byte [rsp + 0x31]
test r14b, 0x40
je 0x18000c240
cmp byte [rdi + 0x81], 0
jne 0x18000c240
test bl, bl
jne 0x18000c224
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r15b, r15b
jne 0x18000c2e3
movss xmm0, dword [rsp + 0x44]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18000c2e3
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18000c258
cmp byte [rdi + 0x95], 0
jle 0x18000c2e3
test bl, bl
jne 0x18000c285
test al, al
jle 0x18000c285
cmp byte [rdi + 0x97], bl
je 0x18000c275
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x40]
jmp 0x18000c27b
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r15b, r15b
jne 0x18000c2b7
cmp byte [rdi + 0x95], r15b
jle 0x18000c2b7
cmp byte [rdi + 0x97], r15b
je 0x18000c2a9
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x44]
jmp 0x18000c2af
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x18000c2e3
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180047ae8]
jne 0x18000c2e3
comiss xmm10, dword [rcx + 0x2f74]
jb 0x18000c2e3
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f74], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.180009560
cmp byte [rdi + 0x81], 0
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm0
je 0x18000c380
bt r14d, 0x18
jb 0x18000c380
test byte [rdi + 0xc], 1
mov rcx, qword [0x180047ae8]
je 0x18000c32a
movaps xmm1, xmm10
jmp 0x18000c35e
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x192c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000c34e
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rcx + 0x15a4]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x60], xmm2
movss dword [rsp + 0x64], xmm1
jmp 0x18000c38b
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x60], xmm0
mov edx, dword [rdi + 0xc]
lea rax, [rsp + 0x60]
movsd xmm0, qword [rax]
mov rax, qword [0x180047ae8]
movsd qword [rdi + 0x18], xmm0
test dl, 1
je 0x18000c3ae
movaps xmm1, xmm10
jmp 0x18000c3e2
mov rcx, qword [rdi + 0x360]
movss xmm0, dword [rax + 0x192c]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18000c3d2
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [rax + 0x15a4]
addss xmm1, xmm1
addss xmm1, xmm0
bt edx, 0xa
jae 0x18000c42b
mov rcx, qword [rdi + 0x360]
movss xmm14, dword [rax + 0x192c]
mulss xmm14, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18000c40f
mulss xmm14, dword [rcx + 0x2a8]
movss xmm0, dword [rax + 0x15a4]
addss xmm14, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x18000c42f
movaps xmm14, xmm10
movzx r15d, byte [rsp + 0x33]
addss xmm14, xmm1
test r13b, r13b
je 0x18000c4a3
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x18000c4a3
test r15b, r15b
jne 0x18000c4a3
cmp dword [rsi + 0x1bd0], 0
jg 0x18000c478
mov r8d, 0x534
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rsi + 0x1bd0]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1bd8]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r13, qword [rsp + 0x48]
bt r14d, 0x18
jae 0x18000c553
test r13, r13
je 0x18000c4bf
cmp byte [r13 + 0x7e], 0
jne 0x18000c4d9
mov r8d, 0x1628
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
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 + 0x188]
movzx eax, word [rbx]
mov word [rdi + 0x8c], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18000c51e
inc r8d
test ecx, ecx
je 0x18000c507
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000c50c
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180015850
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x58]
bt r14d, 0x1a
jb 0x18000c557
test r15b, r15b
jne 0x18000c557
cmp ebx, 0x3000000
je 0x18000c557
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x18000c557
mov ebx, dword [rsp + 0x58]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180040830]
jp 0x18000c56a
je 0x18000c5bb
cmp dword [rdi + 0xa0], 0
jne 0x18000c5bb
movss xmm0, dword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0xb8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0x24]
mulss xmm1, dword [rdi + 0xbc]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.18000e3d0
jmp 0x18000c608
bt r14d, 0x1c
jb 0x18000c5e9
bt r14d, 0x1a
jae 0x18000c5d5
test r15b, r15b
jne 0x18000c5d5
cmp dword [rsp + 0x38], 0
jg 0x18000c5e9
bt r14d, 0x19
jae 0x18000c608
test r15b, r15b
jne 0x18000c608
cmp ebx, 0x3000000
je 0x18000c608
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180010260
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [0x180047ae8]
movss dword [rbp - 0x58], xmm10
movss dword [rbp - 0x54], xmm10
movss xmm3, dword [rax + 0x10]
movss xmm15, dword [rax + 0x14]
movss dword [rsp + 0x38], xmm3
movss dword [rbp - 0x50], xmm3
movss dword [rbp - 0x4c], xmm15
test r15b, r15b
jne 0x18000c761
bt r14d, 0x18
jb 0x18000c761
cmp byte [rdi + 0x94], r15b
jg 0x18000c761
cmp byte [rdi + 0x95], r15b
jg 0x18000c761
movss xmm4, dword [rsi + 0x15fc]
movaps xmm0, xmm3
movss xmm5, dword [rsi + 0x1600]
subss xmm0, xmm10
maxss xmm4, dword [rsi + 0x1604]
maxss xmm5, dword [rsi + 0x1608]
comiss xmm0, xmm10
jbe 0x18000c761
movaps xmm0, xmm15
subss xmm0, xmm10
comiss xmm0, xmm10
jbe 0x18000c761
cmp byte [rax + 0xcc], r15b
je 0x18000c700
test byte [rdi + 0xc], 1
jne 0x18000c700
mov rcx, qword [rdi + 0x360]
movss xmm0, dword [rax + 0x192c]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18000c6dd
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [rax + 0x15a4]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
jmp 0x18000c70b
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x48]
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm10
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm15
subss xmm1, xmm5
addss xmm5, xmm10
minss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm3
maxss xmm0, xmm5
subss xmm0, xmm2
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
bt r14d, 0x18
jae 0x18000c794
movss xmm2, dword [rsi + 0x1590]
jmp 0x18000c7b5
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18000c7ad
movss xmm2, dword [rsi + 0x1598]
jmp 0x18000c7b5
movss xmm2, dword [rsi + 0x1574]
xor dl, dl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x5c], edx
cmp byte [rsp + 0x34], dl
je 0x18000c7f1
bt r14d, 0xc
jb 0x18000c7f1
bt r14d, 0x1a
jae 0x18000c7db
mov byte [rsp + 0x5c], 1
jmp 0x18000c7f1
test r14d, 0x3000000
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [rsp + 0x5c], edx
addss xmm2, dword [0x1800407a8]
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0xffffffff
movups xmmword [rbp - 0x48], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1928]
cmp byte [rsi + 0xcb], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x180040760]
setne cl
mulss xmm1, dword [0x1800407b8]
inc ecx
cmp byte [rdi + 0x81], 0
addss xmm2, xmm0
mov dword [rsp + 0x48], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
jne 0x18000c881
lea rax, [rbp - 0x48]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
call fcn.180009c40
test al, al
je 0x18000c881
mov r12b, 1
movzx ecx, r12b
jmp 0x18000c886
movzx ecx, byte [rsp + 0x31]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x68]
mov byte [rdi + 0x88], al
jne 0x18000c9c5
cmp qword [rsp + 0x50], 0
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18000c8ed
mov qword [rbp - 0x78], 0
lea rax, [rbp - 0x78]
jmp 0x18000c917
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x70]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18000c927
movaps xmm5, xmm2
test r12b, r12b
jne 0x18000c92f
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18000c945
comiss xmm1, xmm4
jbe 0x18000c941
test r14b, 8
je 0x18000c945
xor cl, cl
jmp 0x18000c947
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x18000c985
test cl, cl
je 0x18000c95f
movss xmm0, dword [rsi + 0x15d0]
jmp 0x18000c963
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18000c97b
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18000c985
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm10
jmp 0x18000c9a9
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x18000c9a1
comiss xmm1, xmm4
jbe 0x18000c99c
test r14b, 8
jne 0x18000c99c
mov cl, 1
jmp 0x18000c99e
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15d0]
test cl, cl
je 0x18000c9b7
movss xmm0, dword [rsi + 0x15d0]
jmp 0x18000c9bb
movaps xmm0, xmm10
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18000c9e3
lea rax, [r13 + 0x258]
cmp ebx, 0x3000000
jne 0x18000c9e7
lea rax, [rbp - 0x58]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
mov rcx, qword [0x180047ae8]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x1c]
je 0x18000ca17
movaps xmm2, xmm10
jmp 0x18000ca4b
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x192c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000ca3b
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 0x15a4]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm5
movss dword [rsp + 0x74], xmm0
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x20]
movss dword [rsp + 0x70], xmm7
movaps xmm12, xmm14
mov eax, r14d
movss dword [rsp + 0x7c], xmm2
and eax, 0x401
movss dword [rsp + 0x78], xmm1
movss dword [rdi + 0x218], xmm7
movss dword [rdi + 0x21c], xmm5
movss dword [rdi + 0x220], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x224], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x218]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x218], xmm0
movss dword [rdi + 0x21c], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x220]
movss xmm0, dword [rdi + 0x224]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm0
movss xmm7, dword [rdi + 0x10]
movss xmm9, dword [rdi + 0x14]
movaps xmm11, xmm7
movss dword [rdi + 0x228], xmm7
addss xmm12, xmm9
addss xmm11, dword [rdi + 0x18]
addss xmm9, dword [rdi + 0x1c]
movss dword [rdi + 0x22c], xmm12
subss xmm11, dword [rdi + 0x74]
subss xmm9, dword [rdi + 0x78]
movss dword [rdi + 0x230], xmm11
movss dword [rdi + 0x234], xmm9
cmp eax, 1
jne 0x18000cb59
movss xmm8, dword [rdi + 0x44]
jmp 0x18000cb62
movss xmm8, dword [rsi + 0x15ac]
movss xmm13, dword [0x180040778]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm7, xmm13
mulss xmm0, xmm13
addss xmm12, xmm13
addss xmm11, xmm13
addss xmm9, xmm13
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm8
subss xmm9, dword [rdi + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm7, xmm1
subss xmm11, xmm1
cvttss2si eax, xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x238], xmm7
cvtsi2ss xmm0, eax
cvttss2si eax, xmm11
movss dword [rdi + 0x23c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x240], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x244], xmm0
movss xmm0, dword [rdi + 0x23c]
comiss xmm4, xmm0
jbe 0x18000cc0e
movaps xmm1, xmm4
jmp 0x18000cc15
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm7
jbe 0x18000cc1f
movaps xmm0, xmm6
jmp 0x18000cc26
movaps xmm0, xmm3
minss xmm0, xmm7
movss dword [rdi + 0x238], xmm0
movss dword [rdi + 0x23c], xmm1
movss xmm0, dword [rdi + 0x244]
comiss xmm4, xmm0
ja 0x18000cc4a
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x240]
comiss xmm6, xmm0
jbe 0x18000cc5c
movaps xmm3, xmm6
jmp 0x18000cc60
minss xmm3, xmm0
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x18000cc8e
test r14d, 0x2000040
jne 0x18000cc8e
mulss xmm0, dword [0x180040780]
jmp 0x18000cc9e
movss xmm0, dword [rsi + 0x1928]
mulss xmm0, dword [0x1800407f4]
cvttss2si eax, xmm0
mov rcx, rdi
mov r8b, 1
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x280], xmm0
lea rcx, [rbp - 0x80]
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
movss xmm1, dword [rdi + 0x38]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm2
movss dword [rdi + 0x60], xmm0
call fcn.18000f4f0
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.18001e5a0
mov rax, qword [rsi + 0x1920]
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18001ed20
mov rcx, qword [0x180047ae8]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a70]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a70]
mov rcx, qword [rbx + 0x2b0]
call fcn.18001eb30
mov r15, qword [rbx + 0x2b0]
cmp dword [r15 + 0x60], 0
jg 0x18000cdcd
mov r8d, 0x534
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r15 + 0x68]
movsxd rcx, dword [r15 + 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 + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
bt r14d, 0x1b
jae 0x18000ce6f
mov r8, qword [0x180047ae8]
mov eax, dword [r8 + 0x1bc0]
sub eax, 1
js 0x18000ce5b
mov r8, qword [r8 + 0x1bc8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x18000ce51
test dword [rax + 0xc], 0x8000000
jne 0x18000ce5d
sub r8, 0x30
sub rdx, 1
jns 0x18000ce40
xor eax, eax
cmp rdi, rax
jne 0x18000ce6f
cmp dword [rdi + 0xa0], 0
jg 0x18000ce6f
mov al, 1
jmp 0x18000ce71
xor al, al
mov rcx, qword [rsi + 0x1d08]
test rcx, rcx
je 0x18000ce8a
cmp rdi, qword [rcx + 0x368]
jne 0x18000ce8a
mov bl, 1
jmp 0x18000ce8c
xor bl, bl
test al, al
jne 0x18000ce98
test bl, bl
je 0x18000cf94
movss xmm1, dword [rsi + 0x1da8]
movzx ecx, al
add ecx, 0x2e
call fcn.180002f30
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x58]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x50]
movss dword [rsp + 0x20], xmm10
call fcn.180020ec0
test bl, bl
je 0x18000cf94
movss xmm12, dword [rsp + 0x38]
cmp rdi, qword [rsi + 0x1d08]
jne 0x18000cf9b
movss xmm0, dword [rsi + 0x1928]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm10, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x58], xmm1
movss dword [rbp - 0x50], xmm2
movss dword [rbp - 0x54], xmm4
movss dword [rbp - 0x4c], xmm3
jb 0x18000cf4b
comiss xmm10, xmm4
jb 0x18000cf4b
comiss xmm2, xmm12
jb 0x18000cf4b
comiss xmm3, xmm15
jae 0x18000cf9b
movss xmm1, dword [rsi + 0x1d1c]
mov ecx, 0x2d
mulss xmm1, dword [0x180040764]
call fcn.180002f30
movss xmm0, dword [rsi + 0x1574]
lea r8, [rbp - 0x50]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x58]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180020ec0
jmp 0x18000cf9b
movss xmm12, dword [rsp + 0x38]
mov eax, r14d
xor r15b, r15b
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18000d006
cmp dword [rsp + 0x58], 0x3000000
je 0x18000d006
mov rbx, qword [rdi + 0x2b0]
cmp dword [rbx], 0
jg 0x18000cfdd
mov r8d, 0x534
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x18000d006
mov rax, qword [r13 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x18000d006
mov r15b, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1d00]
test rax, rax
jne 0x18000d019
mov rax, qword [rsi + 0x1be0]
mov r12d, dword [rsp + 0x5c]
test r12b, r12b
jne 0x18000d03d
test rax, rax
je 0x18000d038
mov rax, qword [rax + 0x370]
cmp qword [rdi + 0x370], rax
je 0x18000d03d
xor r8b, r8b
jmp 0x18000d040
mov r8b, 1
movss xmm0, dword [rsp + 0x60]
lea rax, [rbp - 0x48]
mov r9d, dword [rsp + 0x48]
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18000a9f0
test r15b, r15b
je 0x18000d07a
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1d08], rdi
jne 0x18000d1d8
movss xmm1, dword [rsi + 0x1928]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm9, xmm1
movaps xmm8, xmm6
movaps xmm11, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm11, dword [rsi + 0x1574]
subss xmm8, xmm1
comiss xmm10, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18000d115
comiss xmm10, xmm8
jb 0x18000d115
comiss xmm7, xmm12
jb 0x18000d115
comiss xmm6, xmm15
jb 0x18000d115
xorps xmm1, xmmword [0x180040940]
movaps xmm11, xmm2
subss xmm1, dword [0x1800407a8]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
movss xmm1, dword [rsi + 0x1d1c]
mov ecx, 0x2d
mov rbx, qword [rdi + 0x2b0]
call fcn.180002f30
mov r15d, eax
test eax, 0xff000000
je 0x18000d1d8
test byte [rbx + 0x30], 1
addss xmm9, xmm13
addss xmm8, xmm13
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm11
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x18000d17f
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x18000d18f
subss xmm7, dword [0x180040774]
subss xmm6, dword [0x180040774]
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm6
call fcn.180020880
movss xmm0, dword [0x1800407cc]
mov r9d, r15d
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.18001eff0
xor r15d, r15d
mov dword [rbx + 0x80], r15d
jmp 0x18000d1db
xor r15d, r15d
movss xmm7, dword [rdi + 0x30]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0xd0]
movaps xmm13, xmmword [rsp + 0xf0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm7, xmm10
jp 0x18000d243
jne 0x18000d243
movss xmm0, dword [rdi + 0x38]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x18000d238
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x18000d247
movaps xmm9, xmm10
maxss xmm9, xmm1
jmp 0x18000d247
movaps xmm9, xmm7
movss xmm5, dword [rdi + 0x34]
ucomiss xmm5, xmm10
jp 0x18000d28c
jne 0x18000d28c
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x18000d281
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x18000d290
movaps xmm8, xmm10
maxss xmm8, xmm1
jmp 0x18000d290
movaps xmm8, xmm5
ucomiss xmm7, xmm10
movss xmm4, dword [rdi + 0x38]
movss xmm11, dword [rdi + 0x54]
movaps xmm0, xmm4
maxss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x228]
movss xmm6, dword [rdi + 0x3c]
subss xmm1, xmm11
movss xmm12, dword [rdi + 0x58]
addss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, dword [rdi + 0x44]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x22c]
subss xmm1, xmm12
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x248], xmm3
addss xmm3, xmm9
movaps xmm9, xmmword [rsp + 0x130]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x14]
subss xmm1, xmm12
movss dword [rdi + 0x250], xmm3
movss xmm3, dword [rdi + 0x10]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm6
movss dword [rdi + 0x24c], xmm2
addss xmm2, xmm8
movaps xmm8, xmmword [rsp + 0x140]
addss xmm1, xmm14
movss dword [rdi + 0x254], xmm2
movaps xmm2, xmm3
subss xmm2, xmm11
movss dword [rdi + 0x26c], xmm1
addss xmm2, xmm4
movss dword [rdi + 0x268], xmm2
jp 0x18000d37b
jne 0x18000d37b
movss xmm7, dword [rdi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x74]
ucomiss xmm5, xmm10
addss xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x150]
movss dword [rdi + 0x270], xmm2
jp 0x18000d3b1
jne 0x18000d3b1
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, xmm14
subss xmm5, dword [rdi + 0x78]
addss xmm6, xmm14
movaps xmm14, xmmword [rsp + 0xe0]
addss xmm4, xmm10
addss xmm1, xmm5
subss xmm6, xmm12
movaps xmm12, xmmword [rsp + 0x100]
subss xmm4, xmm11
movaps xmm11, xmmword [rsp + 0x110]
movss dword [rdi + 0x274], xmm1
movss dword [rdi + 0x108], xmm4
addss xmm4, xmm10
mov qword [rdi + 0x10c], 0
addss xmm6, dword [rdi + 0x14]
addss xmm4, xmm3
movss dword [rdi + 0xe0], xmm4
movss dword [rdi + 0xe4], xmm6
movss dword [rdi + 0xd0], xmm4
movss dword [rdi + 0xd4], xmm6
movss dword [rdi + 0xd8], xmm4
movss dword [rdi + 0xdc], xmm6
movsd xmm0, qword [rdi + 0xe0]
movaps xmm6, xmmword [rsp + 0x160]
movsd qword [rdi + 0xe8], xmm0
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov dword [rdi + 0x13c], r15d
mov dword [rdi + 0x140], 1
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x144], eax
mov dword [rdi + 0x148], r15d
test r13, r13
je 0x18000d4a8
mov eax, dword [r13 + 0x14c]
jmp 0x18000d4ab
mov eax, r15d
mov dword [rdi + 0x14c], eax
mov byte [rdi + 0x150], 0
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm10
seta al
cmp byte [rsp + 0x34], 0
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], 0
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15b0]
maxss xmm0, dword [rsi + 0x1b6c]
movss dword [rdi + 0x154], xmm0
mov eax, dword [rsi + 0x1b70]
mov dword [rdi + 0x158], eax
movss xmm0, dword [rsi + 0x15b0]
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], 0
je 0x18000d52b
xor eax, eax
mov qword [rdi + 0x174], rax
mov dword [rdi + 0x17c], eax
movss xmm1, dword [rdi + 0x160]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x174]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x168], xmm0
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x174], r15d
movss xmm0, dword [rdi + 0x178]
comiss xmm0, xmm10
jbe 0x18000d583
movss xmm0, dword [rdi + 0x15c]
addss xmm0, dword [rdi + 0x160]
movss dword [rdi + 0x160], xmm0
movss xmm1, dword [rdi + 0x160]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x16c], xmm0
addss xmm1, dword [rdi + 0x178]
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x178], r15d
movss xmm0, dword [rdi + 0x17c]
comiss xmm0, xmm10
jbe 0x18000d5cb
addss xmm1, dword [rdi + 0x15c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
addss xmm1, dword [rdi + 0x17c]
movss dword [rdi + 0x160], xmm1
mov qword [rdi + 0x17c], 0
mov dword [rdi + 0x184], r15d
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x18000d627
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x188]
test eax, eax
cmovg edx, eax
call fcn.180015850
mov dword [rdi + 0x188], r15d
lea rax, [rdi + 0x288]
mov qword [rdi + 0x198], rax
mov ebx, 1
mov qword [rdi + 0x1a0], r15
mov dword [rdi + 0x1a8], ebx
test r13, r13
je 0x18000d65c
mov eax, dword [r13 + 0x1a8]
jmp 0x18000d65e
mov eax, ebx
mov dword [rdi + 0x1ac], eax
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18000d722
mov eax, ecx
mov ebx, r15d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x18000d71d
mov rax, qword [0x180047ae8]
test rax, rax
je 0x18000d6ba
inc dword [rax + 0x3bc]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rdi + 0x1d0]
mov r15, rax
test rdx, rdx
je 0x18000d70d
movsxd r8, dword [rdi + 0x1c8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x1d0]
test rcx, rcx
je 0x18000d707
mov rax, qword [0x180047ae8]
test rax, rax
je 0x18000d707
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d0], r15
xor r15d, r15d
mov dword [rdi + 0x1cc], ebx
mov ebx, 1
lea rcx, [rdi + 0x1d8]
mov dword [rdi + 0x1c8], r15d
call fcn.1800159d0
lea rcx, [rdi + 0x1e8]
call fcn.1800159d0
lea rcx, [rdi + 0x1f8]
xor edx, edx
call fcn.1800151e0
test r13, r13
je 0x18000d772
mov eax, dword [r13 + 0x1b8]
lea rdx, [rdi + 0x1b8]
lea rcx, [rdi + 0x1c8]
mov dword [rdx], eax
call fcn.1800152c0
jmp 0x18000d779
mov dword [rdi + 0x1b8], r15d
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x18000d78c
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x18000d79f
dec al
mov byte [rdi + 0x95], al
test r12b, r12b
je 0x18000d7b6
mov rcx, rdi
call fcn.18000dc10
xor edx, edx
mov rcx, rdi
call fcn.180011090
test r14b, 1
jne 0x18000d7d1
mov r9, qword [rbp - 0x68]
lea rdx, [rsp + 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.18000b020
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x70]
movss xmm5, dword [rsp + 0x78]
movss xmm3, dword [rsp + 0x7c]
movss xmm4, dword [rsp + 0x74]
mov dword [rdi + 0x114], eax
mov rax, qword [0x180047ae8]
movss xmm2, dword [rax + 0x15c0]
movss xmm0, dword [rax + 0x15c4]
subss xmm1, xmm2
addss xmm5, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm3, xmm0
subss xmm4, xmm0
comiss xmm2, xmm1
jb 0x18000d83f
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm4
jb 0x18000d83f
comiss xmm5, xmm2
jbe 0x18000d83f
comiss xmm3, xmm0
mov eax, ebx
ja 0x18000d842
mov eax, r15d
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x118], eax
lea rdx, [rdi + 0x240]
lea rcx, [rdi + 0x238]
mov r8b, 1
movups xmmword [rdi + 0x11c], xmm0
call fcn.180007ec0
mov byte [rdi + 0x80], 0
jmp 0x18000d8d1
mov rax, qword [0x180047ae8]
movss xmm0, dword [rax + 0x192c]
mov qword [rax + 0x1a70], rdi
mov rcx, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18000d8a5
mulss xmm0, dword [rcx + 0x2a8]
lea rdx, [rdi + 0x240]
movss dword [rax + 0x1940], xmm0
lea rcx, [rdi + 0x238]
movss dword [rax + 0x1928], xmm0
movzx r8d, bl
call fcn.180007ec0
mov r13, qword [rsp + 0x48]
inc word [rdi + 0x8a]
mov r12, qword [rsp + 0x188]
mov dword [rsi + 0x1b10], r15d
mov r15, qword [rsp + 0x170]
bt r14d, 0x18
jae 0x18000d993
test r14b, 1
jne 0x18000d91a
mov r8d, 0x1762
lea rdx, str.E:ProjectsDrakensang_Internalimguiimgui.cpp
lea rcx, str._flags__ImGuiWindowFlags_NoTitleBar____0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14b, 0x40
jne 0x18000d95a
cmp byte [rdi + 0x94], 0
jg 0x18000d95a
cmp byte [rdi + 0x95], 0
jg 0x18000d95a
movss xmm0, dword [rdi + 0x218]
comiss xmm0, dword [rdi + 0x220]
jae 0x18000d954
movss xmm0, dword [rdi + 0x21c]
comiss xmm0, dword [rdi + 0x224]
jb 0x18000d95a
mov dword [rdi + 0x9c], ebx
test r13, r13
je 0x18000d993
cmp byte [r13 + 0x81], 0
jne 0x18000d973
cmp dword [r13 + 0x9c], 0
jle 0x18000d979
mov dword [rdi + 0x9c], ebx
cmp byte [r13 + 0x81], 0
jne 0x18000d98d
cmp dword [r13 + 0xa0], 0
jle 0x18000d993
mov dword [rdi + 0xa0], ebx
comiss xmm10, dword [rsi + 0x1568]
mov rsi, qword [rsp + 0x1c8]
mov r14, qword [rsp + 0x178]
mov r13, qword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x120]
jb 0x18000d9c4
mov dword [rdi + 0x9c], ebx
cmp dword [rdi + 0x9c], 0
jg 0x18000d9da
cmp dword [rdi + 0xa0], 0
jg 0x18000d9da
xor cl, cl
jmp 0x18000d9dc
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x18000d9f5
cmp byte [rdi + 0x7e], al
je 0x18000d9f5
test cl, cl
je 0x18000da12
cmp byte [rdi + 0x94], al
jg 0x18000da12
cmp byte [rdi + 0x95], al
jg 0x18000da12
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x38]
xor rcx, rsp
call fcn.180034a30
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret