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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, qword [0x140067ef8]
mov rdi, rcx
mov eax, dword [rcx + 0x9c]
mov r13, rdx
movzx ecx, byte [rcx + 0xb4]
inc eax
mov qword [rsp + 0x40], r12
mov edx, dword [r12 + 0x1b18]
mov dword [rsp + 0x5c], edx
mov dword [rsp + 0x60], eax
test cl, 0x20
je 0x1400215f2
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x1400215f7
mov byte [rsp + 0x30], 0
xor esi, esi
lea r9d, [rsi + 1]
cmp dword [rdi + 0xac], esi
je 0x14002160e
mov dword [rsp + 0x58], r9d
cmp eax, edx
je 0x140021612
mov dword [rsp + 0x58], esi
and cl, 0xdf
mov dword [rdi + 0xac], esi
xor bl, bl
mov byte [rdi + 0xb4], cl
mov rax, qword [rdi + 0x10]
mov r8, rdi
mov dword [rsp + 0x34], ebx
mov qword [rsp + 0x48], rdi
test rax, rax
je 0x140021653
nop dword [rax + rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021640
mov r8, qword [rsp + 0x48]
mov rax, qword [r12 + 0x1ea0]
test rax, rax
je 0x14002166c
cmp qword [rax + 0x448], rdi
sete bl
jmp 0x140021699
mov rdx, qword [r12 + 0x1d70]
test rdx, rdx
je 0x14002169d
mov rax, qword [r13 + 0x3e8]
cmp qword [rdx + 0x3f8], rax
jne 0x14002169d
mov eax, dword [rdi]
cmp dword [r8 + 0xa4], eax
movzx ebx, bl
cmove ebx, r9d
mov dword [rsp + 0x34], ebx
mov eax, dword [rdi + 8]
test eax, 0x3000
jne 0x140022289
movzx ecx, byte [r13 + 0xc4]
mov qword [rsp + 0x1a0], r14
mov qword [rsp + 0x150], r15
movaps xmmword [rsp + 0x140], xmm6
shr eax, 0xa
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x100], xmm10
mov byte [rsp + 0x38], cl
test r9b, al
jne 0x1400216f6
mov byte [r13 + 0xc4], sil
mov dword [r13 + 0x184], r9d
mov rcx, qword [r12 + 0x1b90]
lea rdx, [rbp - 0x38]
mov eax, dword [rdi]
add rcx, 0x108
mov dword [rbp - 0x38], eax
call fcn.140028360
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x68], rax
mov r14, rax
test rax, rax
jne 0x140021730
mov rcx, rdi
call fcn.140022300
mov r14, qword [rdi + 0x38]
and byte [rdi + 0xb4], 0xfd
movzx eax, bl
mov r15d, dword [rdi + 4]
add al, al
or byte [rdi + 0xb4], al
or r15d, dword [rdi + 8]
mov dword [rsp + 0x3c], esi
bt r15d, 0xe
jb 0x1400217ab
cmp dword [r12 + 0x1664], 0xffffffff
je 0x1400217ab
shr r15d, 0xf
mov bl, 1
not r15b
and r15b, bl
mov dword [rbp - 0x38], r15d
call fcn.1400144e0
test al, al
je 0x1400217bc
mov rdx, r14
mov rcx, rdi
call fcn.140021380
test eax, eax
je 0x140021790
mov dword [r14 + 0x1c], eax
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x34]
movzx eax, byte [rdi + 0xb4]
shr al, 1
and al, bl
mov dword [rbp - 0x38], r15d
or dl, al
mov dword [rsp + 0x34], edx
jmp 0x1400217c0
shr r15d, 0xf
xor bl, bl
not r15b
and r15b, 1
mov dword [rbp - 0x38], r15d
mov edx, dword [rsp + 0x34]
movss xmm6, dword [rdi + 0x44]
mov rcx, qword [0x140067ef8]
movaps xmm5, xmm6
movss xmm3, dword [rdi + 0x40]
movzx eax, byte [rdi + 0xb4]
movaps xmm7, xmm3
movss dword [rbp - 0x4c], xmm6
movaps xmm4, xmm3
movss xmm1, dword [rcx + 0x167c]
movss xmm2, dword [rcx + 0x1a30]
addss xmm1, xmm1
movss dword [rbp - 0x30], xmm3
movaps xmm0, xmm2
movss dword [rbp - 0x2c], xmm6
addss xmm0, xmm6
addss xmm7, dword [rdi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x28], xmm7
movaps xmm0, xmm7
movss dword [rbp - 0x44], xmm1
movss dword [rbp - 0x24], xmm1
movss xmm1, dword [rcx + 0x1678]
addss xmm4, xmm1
subss xmm0, xmm1
movss dword [rbp - 0x50], xmm4
movss dword [rbp - 0x48], xmm0
test al, 4
je 0x14002184d
subss xmm0, xmm2
movss dword [rbp - 0x48], xmm0
test al, 8
je 0x140021896
cmp dword [rcx + 0x1664], esi
jne 0x140021864
addss xmm2, xmm4
movss dword [rbp - 0x50], xmm2
jmp 0x140021896
cmp dword [rcx + 0x1664], 1
jne 0x140021896
addss xmm1, xmm2
subss xmm0, xmm1
movaps xmm1, xmm0
movss dword [rbp - 0x48], xmm0
unpcklps xmm1, xmm6
movaps xmm0, xmm1
movsd qword [rsp + 0x50], xmm1
movss xmm3, dword [rsp + 0x50]
shufps xmm0, xmm0, 0x55
movaps xmm5, xmm0
movss dword [rsp + 0x50], xmm3
movss dword [rsp + 0x54], xmm5
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x20], xmm0
test dl, dl
je 0x1400218bc
mov eax, dword [r12 + 0x1b18]
mov dword [rdi + 0xa0], eax
cmp byte [r13 + 0xc2], sil
je 0x1400218cc
mov eax, 0xc
jmp 0x1400218d8
test dl, dl
mov rax, rsi
setne al
add rax, 0xa
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x16fc]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1640]
lea rcx, [rbp - 0x50]
movss dword [rbp - 0x44], xmm0
call fcn.140005370
movss xmm0, dword [r13 + 0x78]
lea r8, [rbp - 0x28]
mov rcx, qword [r13 + 0x318]
lea rdx, [rbp - 0x30]
mov r9d, eax
mov dword [rsp + 0x28], 3
movss dword [rsp + 0x20], xmm0
call fcn.1400353a0
test bl, bl
je 0x1400219dc
cmp dword [r13 + 0x108], esi
jg 0x140021957
mov r8d, 0x5cd
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r13 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r13 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004e00
mov rcx, qword [0x140067ef8]
cmp dword [rcx + 0x1be8], eax
jne 0x14002198d
mov dword [rcx + 0x1bec], eax
cmp dword [rcx + 0x1c28], eax
jne 0x14002199c
mov byte [rcx + 0x1c2c], 1
mov r8, rdi
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.140041190
test al, al
je 0x1400219b4
call fcn.140014580
mov rax, qword [0x140067ef8]
mov ecx, dword [rax + 0x1be8]
test ecx, ecx
je 0x1400219dc
mov rax, qword [rax + 0x1b90]
cmp ecx, dword [rax + 0x15c]
jne 0x1400219dc
mov eax, dword [r14 + 0x18]
mov dword [rsp + 0x3c], eax
mov eax, dword [r14]
mov r15d, esi
mov dword [rsp + 0x50], eax
mov eax, dword [rdi + 0x28]
test eax, eax
jle 0x140021a67
nop dword [rax]
test rsi, rsi
js 0x1400219fa
cmp r15d, eax
jl 0x140021a14
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax + rsi*8]
mov rax, qword [r12 + 0x1d70]
test rax, rax
je 0x140021a39
cmp qword [rax + 0x3f0], rbx
jne 0x140021a39
mov eax, dword [rbx + 8]
mov dword [r14 + 0x18], eax
mov edx, dword [rbx + 8]
mov rcx, r14
call fcn.140045220
test rax, rax
jne 0x140021a59
mov r8, rbx
mov edx, 0x400000
mov rcx, r14
call fcn.1400452e0
mov eax, dword [rdi + 0x28]
inc r15d
inc rsi
cmp r15d, eax
jl 0x1400219f0
mov r15d, dword [r14]
lea ebx, [r15 - 1]
test ebx, ebx
js 0x140021aec
movsxd rax, ebx
lea rsi, [rax + rax*2]
shl rsi, 4
nop dword [rax]
test ebx, ebx
js 0x140021a89
cmp ebx, dword [r14]
jl 0x140021aa3
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
test dword [rsi + rax + 4], 0x400000
je 0x140021aec
test ebx, ebx
js 0x140021aba
cmp ebx, dword [r14]
jl 0x140021ad4
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
mov r15d, ebx
and dword [rsi + rax + 4], 0xffbfffff
sub rsi, 0x30
sub ebx, 1
jns 0x140021a80
mov ecx, dword [r14]
cmp ecx, r15d
jle 0x140021b24
lea eax, [r15 + 1]
cmp ecx, eax
jle 0x140021b24
sub ecx, r15d
movsxd rax, r15d
movsxd rdx, ecx
lea r9, [0x140021330]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
cmp qword [rsp + 0x68], 0
jne 0x140021b47
mov edx, dword [rdi + 0xa8]
mov rcx, r14
call fcn.140045220
test rax, rax
je 0x140021b47
mov eax, dword [rdi + 0xa8]
jmp 0x140021b84
mov eax, dword [r14]
cmp eax, dword [rsp + 0x50]
jle 0x140021b8c
test eax, eax
jg 0x140021b6e
mov r8d, 0x5cd
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r14]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [r14 + 0x18], eax
mov dword [r14 + 0x1c], eax
cmp byte [r13 + 0xc2], 0
mov r8d, 0x500003
jne 0x140021baa
cmp byte [rsp + 0x34], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.140043bf0
mov eax, dword [rdi + 0x28]
xor r15d, r15d
mov qword [rdi + 0x80], r15
mov r12d, r15d
test eax, eax
jle 0x140021d08
test r15, r15
js 0x140021bdb
cmp r12d, eax
jl 0x140021bf5
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rsp + 0x30], 0
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax + r15*8]
lea rsi, [rbx + 8]
jne 0x140021c10
mov eax, dword [rsp + 0x58]
cmp eax, dword [rsi]
jne 0x140021c26
cmp byte [rbx + 0xc8], 0
je 0x140021c26
test dword [rbx + 0xc], 0x100000
je 0x140021cf3
mov rcx, qword [rsp + 0x40]
mov eax, dword [rbx + 0x2d8]
inc eax
cmp eax, dword [rcx + 0x1b18]
jge 0x140021c4d
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
je 0x140021cf3
lea rsi, [rbx + 8]
mov ecx, dword [rbx + 0xc]
lea r8, [rbp - 0x40]
mov rdx, qword [rbx]
mov eax, 0
shr ecx, 0x14
and ecx, 1
mov byte [rbp - 0x40], 1
mov r9d, ecx
mov qword [rsp + 0x20], rbx
or r9d, 4
test byte [r14 + 0x10], 8
cmove r9d, ecx
cmp byte [rbx + 0xc8], 0
mov rcx, r14
cmove r8, rax
call fcn.140045a60
cmp byte [rbp - 0x40], 0
jne 0x140021c9c
mov eax, dword [rsi]
mov dword [rdi + 0xac], eax
mov eax, dword [rsi]
cmp dword [r14 + 0x20], eax
jne 0x140021cab
mov qword [rdi + 0x80], rbx
mov eax, dword [r13 + 0x160]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [r13 + 0x164]
mov rax, qword [rsp + 0x40]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [rax + 0x1d70]
test rax, rax
je 0x140021cf3
cmp qword [rax + 0x3f0], rbx
jne 0x140021cf3
test byte [rbx + 0x188], 2
jne 0x140021cf3
mov eax, dword [rsi]
mov dword [r13 + 0x414], eax
mov eax, dword [rdi + 0x28]
inc r12d
inc r15
cmp r12d, eax
jl 0x140021bd1
xor r15d, r15d
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x140021d31
cmp byte [rsp + 0x34], 0
mov rcx, qword [rsp + 0x48]
jne 0x140021d2a
cmp qword [rcx + 0x80], 0
jne 0x140021d31
mov qword [rcx + 0x80], rax
cmp byte [rbp - 0x38], 0
xorps xmm10, xmm10
je 0x140021f75
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x140021f75
cmp byte [rax + 0xc8], 0
jne 0x140021e36
mov rcx, qword [0x140067ef8]
movaps xmmword [rsp + 0x120], xmm8
movaps xmmword [rsp + 0x110], xmm9
mov rax, qword [rcx + 0x1b90]
mov byte [rax + 0xc1], 1
mov rcx, qword [rcx + 0x1b90]
lea rdx, [rcx + 0x200]
add rcx, 0x210
or dword [rdx], 4
call fcn.140028360
mov rsi, qword [rsp + 0x40]
lea rdx, [rbp - 0x20]
mov rbx, qword [0x140067ef8]
mov dword [rbp - 0x20], r15d
movss xmm9, dword [rsi + 0x1708]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1ce8]
movss xmm6, dword [rsi + 0x16fc]
movss xmm7, dword [rsi + 0x1700]
movss xmm8, dword [rsi + 0x1704]
mulss xmm9, dword [0x14005da14]
movups xmmword [rbp - 0x1c], xmm0
call fcn.1400289e0
movss dword [rbx + 0x16fc], xmm6
movss dword [rbx + 0x1700], xmm7
movss dword [rbx + 0x1704], xmm8
movss dword [rbx + 0x1708], xmm9
movss xmm7, dword [rbp - 0x28]
movss xmm6, dword [rbp - 0x2c]
movaps xmm9, xmmword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0x120]
jmp 0x140021e3b
mov rsi, qword [rsp + 0x40]
cmp dword [r13 + 0x108], 0
addss xmm6, xmm10
movss xmm0, dword [rsi + 0x1678]
xorps xmm0, xmmword [0x14005dcb0]
addss xmm0, xmm0
movss dword [rsp + 0x4c], xmm6
subss xmm0, dword [rsi + 0x1a30]
addss xmm0, xmm7
movss dword [rsp + 0x48], xmm0
jg 0x140021e8f
mov r8d, 0x5cd
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r13 + 0x108]
lea rcx, str.CLOSE
mov r8, qword [r13 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004e00
mov rcx, qword [0x140067ef8]
cmp dword [rcx + 0x1be8], eax
jne 0x140021ec5
mov dword [rcx + 0x1bec], eax
cmp dword [rcx + 0x1c28], eax
jne 0x140021ed4
mov byte [rcx + 0x1c2c], 1
lea rdx, [rsp + 0x48]
mov ecx, eax
call fcn.140040e70
test al, al
je 0x140021f50
mov edx, dword [r14 + 0x20]
mov rcx, r14
call fcn.140045220
mov rbx, rax
test rax, rax
je 0x140021f50
mov ecx, dword [rax]
mov dword [rdi + 0xac], ecx
test dword [rax + 4], 0x200000
je 0x140021f23
mov r8d, 0x1c9c
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui_widgets.cpp
lea rcx, str.__tab__Flags__ImGuiTabItemFlags_Button_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rbx + 4], 1
mov eax, dword [rbx]
jne 0x140021f46
mov byte [rbx + 0x2a], 1
cmp dword [r14 + 0x20], eax
jne 0x140021f50
mov dword [rbx + 0x10], 0xffffffff
mov qword [r14 + 0x18], 0
jmp 0x140021f50
cmp dword [r14 + 0x20], eax
je 0x140021f50
mov dword [r14 + 0x1c], eax
mov rax, qword [rdi + 0x80]
mov r12d, 1
cmp byte [rax + 0xc8], 0
jne 0x140021f80
mov ecx, r12d
call fcn.140005750
call fcn.1400128b0
jmp 0x140021f80
mov rsi, qword [rsp + 0x40]
mov r12d, 1
cmp dword [r13 + 0x108], 0
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
jg 0x140021fb4
mov r8d, 0x5cd
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r13 + 0x108]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004e00
mov ebx, eax
mov rax, qword [0x140067ef8]
cmp dword [rax + 0x1be8], ebx
jne 0x140021fec
mov dword [rax + 0x1bec], ebx
cmp dword [rax + 0x1c28], ebx
jne 0x140021ffb
mov byte [rax + 0x1c2c], 1
mov eax, dword [rsi + 0x1bd4]
test eax, eax
je 0x140022015
cmp eax, ebx
je 0x140022015
cmp dword [rsi + 0x1be8], ebx
jne 0x1400221c3
lea r9, [rbp - 0x40]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov edx, ebx
call fcn.140040080
mov rcx, qword [0x140067ef8]
cmp dword [rsi + 0x1bd4], ebx
jne 0x140022076
mov dword [r13 + 0x15c], ebx
mov rdx, qword [rcx + 0x1b90]
mov eax, dword [rdx + 0x15c]
cmp dword [rcx + 0x1bd4], eax
jne 0x140022061
mov byte [rcx + 0x1bdc], 1
mov eax, dword [rdx + 0x15c]
cmp dword [rcx + 0x1be8], eax
jne 0x140022076
mov byte [rcx + 0x1bf5], 1
cmp byte [rbp - 0x40], 0
je 0x1400221c3
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x140022098
jne 0x140022098
mov eax, dword [r14 + 0x18]
mov dword [rsp + 0x3c], eax
mov edx, dword [r14 + 0x18]
mov rcx, r14
call fcn.140045220
test rax, rax
je 0x1400221c3
mov r9, qword [rax + 8]
test r9, r9
jne 0x1400220ba
mov r9, qword [rdi + 0x78]
mov rax, qword [rdi + 0x80]
xor r8b, r8b
mov rdx, qword [0x140067ef8]
test rax, rax
je 0x140022111
test byte [rax + 0xc], 4
jne 0x140022111
mov rax, qword [rdi + 0x10]
mov rcx, rdi
test rax, rax
je 0x1400220ee
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400220e2
cmp qword [rcx + 0x90], rdi
jne 0x140022101
cmp qword [rcx + 0x88], 0
je 0x140022111
mov eax, dword [rcx + 8]
shr eax, 0xa
test al, 1
movzx r8d, r8b
cmovne r8d, r12d
movss xmm0, dword [rdx + 0x434]
ucomiss xmm0, xmm10
jp 0x140022125
jne 0x140022125
mov cl, 1
jmp 0x140022127
xor cl, cl
cmp byte [rdx + 0x128], 0
jne 0x140022134
xor al, al
jmp 0x14002215f
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x14005da70]
comiss xmm10, xmm1
jbe 0x14002214d
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x1400221aa
test al, al
je 0x1400221c3
lea rcx, [rdx + 0x2f90]
mov qword [rbp - 0x60], r15
lea rdx, [rsp + 0x70]
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x70], 0xffffffff
mov dword [rbp - 0x6c], 0x3f000000
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x70], 2
mov qword [rbp - 0x58], rdi
call fcn.140028b70
jmp 0x1400221c3
test cl, cl
jne 0x1400221b2
test al, al
je 0x1400221c3
cmp qword [rdx + 0x1bb8], r9
je 0x1400221c3
mov rcx, r9
call fcn.140007ad0
mov edx, dword [r14 + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x100]
cmove edx, dword [rsp + 0x3c]
test edx, edx
je 0x140022204
mov rcx, r14
call fcn.140045220
mov rbx, rax
test rax, rax
je 0x140022204
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140022204
call fcn.140012490
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.140016300
call fcn.140043fd0
mov rax, qword [0x140067ef8]
mov r14, qword [rsp + 0x1a0]
mov rbx, qword [rax + 0x1b90]
cmp dword [rbx + 0x108], 0
jg 0x140022242
mov r8d, 0x5d9
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec dword [rbx + 0x108]
mov eax, dword [rdi + 8]
shr eax, 0xa
test al, 1
jne 0x140022265
movzx eax, byte [rsp + 0x38]
mov byte [r13 + 0xc4], al
mov dword [r13 + 0x184], r15d
mov r15, qword [rsp + 0x150]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004dcb0
add rsp, 0x158
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rdi + 0x28], esi
jle 0x140022295
mov rax, qword [rdi + 0x30]
mov rsi, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x80], rsi
movzx eax, bl
add al, al
or cl, al
mov byte [rdi + 0xb4], cl
test bl, bl
je 0x1400222be
mov eax, dword [r12 + 0x1b18]
mov dword [rdi + 0xa0], eax
test rsi, rsi
je 0x14002226d
test bl, bl
jne 0x1400222d1
cmp qword [r8 + 0x80], 0
jne 0x1400222d8
mov qword [r8 + 0x80], rsi
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14002226d
mov rax, qword [rdi + 0x80]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
jmp 0x14002226d