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

Disassembly:
push rbx
push rbp
push r12
push r15
sub rsp, 0x78
mov rbp, qword [0x140081880]
mov rbx, rcx
mov r12d, dword [rcx + 0xc]
mov dword [rcx + 0x4c], 0xffffffff
cmp dword [rbp + 0x1ef0], 0
jg 0x14001c6b3
mov r8d, 0x6c7
lea rdx, [0x14004ea10]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test dword [rbp + 0x1a6c], 0x400
mov rax, qword [rbp + 0x1ef8]
mov r15, qword [rax]
jne 0x14001c6ee
mov qword [rbx + 0x38], r15
mov eax, dword [r15]
mov dword [rbx + 0x40], eax
cmp qword [r15 + 0x88], rbx
sete al
mov byte [rbx + 0xce], al
add rsp, 0x78
pop r15
pop r12
pop rbp
pop rbx
ret
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rdi
xor edi, edi
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0x70], r14
mov r14d, r12d
and r14d, 0x6000000
movaps xmmword [rsp + 0x40], xmm8
mov dword [rsp + 0x30], r14d
mov byte [rbx + 0xce], 0
je 0x14001c73b
cmp byte [rbx + 0xd5], dil
je 0x14001c73b
mov qword [rbx + 0x38], rdi
mov dword [rbx + 0x40], edi
test dword [rbp + 0x1dc0], 0x100
jne 0x14001c7c2
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14001c7c2
mov rax, qword [rbx + 0x3c8]
test rax, rax
je 0x14001c772
cmp byte [rax + 0xd7], dil
jne 0x14001c772
mov rax, qword [rax + 0x38]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x14001c7c2
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x14001c7c2
call fcn.14001ae30
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x14001c7c2
movss xmm0, dword [rbx + 0x44]
lea r8, [rbx + 0x44]
movss xmm1, dword [0x14005ba44]
ucomiss xmm0, xmm1
jp 0x14001c79f
je 0x14001c7c2
movss xmm0, dword [rbx + 0x48]
ucomiss xmm0, xmm1
jp 0x14001c7ab
je 0x14001c7c2
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.14001c2f0
mov qword [rbx + 0x38], rax
movss xmm8, dword [0x14005ba64]
xor r13b, r13b
test dword [rbp + 0x1dc0], 0x100
je 0x14001c7fd
mov ecx, dword [rbp + 0x1e24]
lea rsi, [rbx + 0x38]
call fcn.14001ae30
mov qword [rsi], rax
mov r13b, 1
mov eax, dword [rbp + 0x1e24]
mov dword [rbx + 0x40], eax
jmp 0x14001c981
test r12d, 0x11000000
jne 0x14001c96f
bt r12d, 0x19
jae 0x14001c824
mov rax, qword [rbp + 0x1f10]
lea rsi, [rbx + 0x38]
mov qword [rsi], rax
jmp 0x14001c981
mov rax, qword [0x140081880]
cmp byte [rax + 0xcb], dil
jne 0x14001c83d
test dword [rbx + 0x1c], 0x800
je 0x14001c871
test dword [rax + 0x1a6c], 0x400
je 0x14001c871
test byte [rbx + 0x429], 1
jne 0x14001c871
mov eax, dword [rbx + 0xc]
test eax, 0x13000000
jne 0x14001c871
and eax, 0xc000000
cmp eax, 0x4000000
je 0x14001c871
lea rsi, [rbx + 0x38]
jmp 0x14001c8f2
mov rax, qword [rbp + 0x1d38]
test rax, rax
je 0x14001c90e
cmp qword [rax + 0x3d8], rbx
jne 0x14001c90e
cmp qword [0x140081880], rdi
jne 0x14001c8b1
mov r8d, 0x13a0
lea rdx, [0x14004ec60]
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140081880]
movss xmm0, dword [rax + 0x120]
comiss xmm0, xmm8
movss xmm1, dword [rax + 0x124]
jb 0x14001c90e
comiss xmm1, xmm8
jb 0x14001c90e
mov rax, qword [rbx + 0x38]
lea rsi, [rbx + 0x38]
test rax, rax
je 0x14001c981
cmp qword [rax + 0x88], rbx
jne 0x14001c981
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.14001c2f0
mov qword [rsi], rax
jmp 0x14001c981
mov rax, qword [rbx + 0x38]
lea rsi, [rbx + 0x38]
test rax, rax
je 0x14001c981
cmp rbx, qword [rax + 0x88]
jne 0x14001c981
cmp dword [rbp + 0x1d6c], edi
jne 0x14001c981
mov r14, qword [0x140081880]
cmp dword [r14 + 0x1ef0], edi
jg 0x14001c956
mov r8d, 0x6c7
lea rdx, [0x14004ea10]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [r14 + 0x1ef8]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.14001afb0
mov r14d, dword [rsp + 0x30]
jmp 0x14001c981
mov rax, qword [rbx + 0x3c8]
lea rsi, [rbx + 0x38]
mov rcx, qword [rax + 0x38]
mov qword [rsi], rcx
cmp qword [rsi], rdi
jne 0x14001c9af
mov rdx, r15
mov rcx, rbx
call fcn.14001afb0
test al, al
jne 0x14001c9af
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.14001c2f0
mov qword [rsi], rax
test r13b, r13b
mov r13, qword [rsp + 0xb8]
jne 0x14001cc73
test r14d, r14d
je 0x14001cb87
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
bt r12d, 0x19
jae 0x14001c9e3
lea rax, [rbp + 0x120]
jmp 0x14001ca22
cmp dword [rbp + 0x1ee0], edi
jg 0x14001ca05
mov r8d, 0x6d1
lea rdx, [0x14004ea10]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbp + 0x1ee0]
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x1ee8]
add rax, 0xfffffffffffffff8
shl rcx, 4
add rax, rcx
movss xmm6, dword [rax]
movss xmm7, dword [rax + 4]
cmp byte [rbp + 0x1fa6], dil
jne 0x14001ca4b
cmp byte [rbp + 0x1fa7], dil
je 0x14001ca4b
cmp qword [rbp + 0x1f50], rdi
je 0x14001ca4b
xor bpl, bpl
jmp 0x14001ca4e
mov bpl, 1
cmp qword [0x140081880], rdi
jne 0x14001ca71
mov r8d, 0x13a0
lea rdx, [0x14004ec60]
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
comiss xmm6, xmm8
jb 0x14001ca81
comiss xmm7, xmm8
jb 0x14001ca81
mov al, 1
jmp 0x14001ca83
xor al, al
cmp byte [rbx + 0xd5], dil
jne 0x14001ca95
test r12d, 0x12000000
je 0x14001ca9e
test bpl, bpl
je 0x14001cacd
test al, al
jne 0x14001caba
mov rax, qword [rsi]
movsx edi, word [rax + 0x80]
mov dword [rbx + 0x4c], edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x14001cc73
movss dword [rsp + 0x38], xmm6
lea r15, [rsp + 0x38]
movss dword [rsp + 0x3c], xmm7
jmp 0x14001cada
lea rcx, [rsp + 0x30]
call fcn.140016160
mov r15, rax
mov r14, qword [0x140081880]
mov ecx, dword [r14 + 0x1618]
test ecx, ecx
jle 0x14001cb70
mov rbp, rdi
mov rsi, rdi
test rbp, rbp
js 0x14001caff
cmp edi, ecx
jl 0x14001cb19
mov r8d, 0x6c7
lea rdx, [0x14004ea10]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x1620]
movss xmm4, dword [r15]
movss xmm0, dword [rsi + rax]
comiss xmm4, xmm0
movss xmm3, dword [rsi + rax + 4]
movaps xmm1, xmm0
addss xmm1, dword [rsi + rax + 8]
movaps xmm2, xmm3
addss xmm2, dword [rsi + rax + 0xc]
jb 0x14001cb5c
movss xmm0, dword [r15 + 4]
comiss xmm0, xmm3
jb 0x14001cb5c
comiss xmm1, xmm4
jbe 0x14001cb5c
comiss xmm2, xmm0
ja 0x14001cb75
mov ecx, dword [r14 + 0x1618]
inc edi
inc rbp
add rsi, 0x24
cmp edi, ecx
jl 0x14001caf6
mov edi, 0xffffffff
mov dword [rbx + 0x4c], edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x14001cc73
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001cc5d
mov rax, qword [rcx + 0x88]
cmp rbx, rax
je 0x14001cc5d
test rax, rax
je 0x14001cc5d
bt r12d, 0x18
jb 0x14001cc5d
movzx eax, byte [rbx + 0x429]
test al, 1
je 0x14001cbca
test al, 2
jne 0x14001cbca
xor dl, dl
jmp 0x14001cbcc
mov dl, 1
test dword [rbx + 0xc], 0x20000000
je 0x14001cbfc
mov eax, dword [rbp + 0x1c90]
cmp dword [rcx + 0x64], eax
jge 0x14001cbfc
test dl, dl
je 0x14001cbfc
mov qword [rcx + 0x88], rbx
mov eax, dword [rbx + 8]
mov rcx, qword [rsi]
mov dword [rcx], eax
mov rax, qword [rbx + 0x38]
mov dword [rax + 0x6c], edi
jmp 0x14001cc73
mov rdi, qword [0x140081880]
cmp dword [rdi + 0x1ef0], 0
jg 0x14001cc26
mov r8d, 0x6c7
lea rdx, [0x14004ea10]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [rdi + 0x1ef8]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.14001afb0
test al, al
jne 0x14001cc73
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
call fcn.14001c2f0
mov qword [rbx + 0x38], rax
jmp 0x14001cc73
cmp dword [rbx + 0x4c], edi
jge 0x14001cc73
bt r12d, 0x18
jb 0x14001cc73
movsx eax, word [rcx + 0x80]
mov dword [rbx + 0x4c], eax
mov rcx, qword [rbx + 0x38]
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb0]
cmp rbx, qword [rcx + 0x88]
mov rsi, qword [rsp + 0xa8]
sete al
mov byte [rbx + 0xce], al
mov eax, dword [rcx]
mov dword [rbx + 0x40], eax
add rsp, 0x78
pop r15
pop r12
pop rbp
pop rbx
ret