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

Disassembly:
push rbp
push rsi
push r13
push r14
sub rsp, 0x48
mov rsi, rcx
mov rcx, qword [0x18009a020]
test rcx, rcx
jne 0x18004aa3b
mov r8d, 0xc58
lea rdx, str.C:UsersDisoxDesktop_redENGINE_FiveM_mainimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x18009a020]
lea r13, [rcx + 8]
mov qword [rsp + 0x70], rbx
cmp byte [r13 + 0xc1], 0
movzx ebp, byte [r13 + 0x141]
mov qword [rsp + 0x40], rdi
je 0x18004aa6d
movzx edi, byte [r13 + 0x143]
movzx ebx, byte [r13 + 0x140]
jmp 0x18004aa7d
movzx edi, byte [r13 + 0x140]
movzx ebx, byte [r13 + 0x142]
cmp qword [rcx + 0x1a18], 0
mov r14, rcx
jne 0x18004aaab
mov r8d, 0x1910
lea rdx, str.C:UsersDisoxDesktop_redENGINE_FiveM_mainimguiimgui.cpp
lea rcx, str.g.CurrentWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x18009a020]
mov rax, qword [r14 + 0x1a18]
cmp qword [r14 + 0x1b80], rax
jne 0x18004b367
mov rdx, qword [rcx + 0x1a20]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r15
mov r15d, 1
cmp rdx, qword [rcx + 0x1a18]
jne 0x18004ab37
mov rax, qword [rcx + 0x1b80]
test rax, rax
je 0x18004ab18
mov rax, qword [rax + 0x360]
test rax, rax
je 0x18004ab18
cmp byte [rax + 0x7f], 0
je 0x18004ab18
cmp rax, qword [rdx + 0x360]
je 0x18004ab18
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x18004ab37
bt r8d, 0x1a
jb 0x18004ab37
mov eax, dword [rcx + 0x1a60]
test eax, eax
je 0x18004ab30
cmp byte [rcx + 0x1a6d], 0
jne 0x18004ab30
cmp eax, dword [rdx + 0x4c]
jne 0x18004ab37
mov dword [rcx + 0x1e90], r15d
xor r12d, r12d
mov word [r13 + 0x399], 0x101
cmp byte [rsi + 0x59], r12b
jne 0x18004acc9
test dil, dil
je 0x18004ab7f
test bpl, bpl
jne 0x18004ab7f
test bl, bl
jne 0x18004ab7f
mov ecx, dword [rcx + 0x90]
call fcn.180008a70
test al, al
je 0x18004ab78
mov rcx, rsi
call fcn.180051220
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004acc9
test dil, dil
jne 0x18004abb7
test bpl, bpl
jne 0x18004abb7
test bl, bl
je 0x18004abb7
mov ecx, dword [rcx + 0x68]
call fcn.180008a70
test al, al
je 0x18004abb0
mov rcx, rsi
call fcn.180051220
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004acc9
test dil, dil
je 0x18004acce
test bpl, bpl
jne 0x18004ad2f
test bl, bl
jne 0x18004af8c
mov ecx, dword [rcx + 0x8c]
call fcn.180008a70
test al, al
je 0x18004ad26
mov rcx, rsi
call fcn.1800511e0
test al, al
je 0x18004b2b5
nop
mov eax, r15d
dec r15d
test eax, eax
jle 0x18004b2b5
movsxd rax, dword [rsi + 0x50]
mov rcx, rax
inc eax
mov dword [rsi + 0x50], eax
lea r14, [rcx + rcx*8]
shl r14, 4
add r14, qword [rsi + 0x38]
cmp qword [r14 + 0x40], r12
je 0x18004ac54
lea r8, [r14 + 0x58]
mov rcx, rsi
lea rdx, [r14 + 0x50]
call fcn.180048580
mov edx, dword [r14 + 0x50]
mov rcx, rsi
mov r8d, dword [r14 + 0x58]
sub r8d, edx
inc r8d
dec edx
call fcn.1800514a0
cmp qword [r14 + 0x10], r12
je 0x18004ac95
cmp qword [r14 + 0x18], 0xf
mov r8, r14
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x78], rax
jbe 0x18004ac70
mov r8, qword [r14]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.180048770
mov edx, dword [r14 + 0x20]
mov rcx, rsi
mov r8d, dword [r14 + 0x28]
sub r8d, edx
inc r8d
dec edx
call fcn.1800514a0
movups xmm0, xmmword [r14 + 0x78]
mov rcx, rsi
movups xmmword [rsi + 0x20], xmm0
movsd xmm1, qword [r14 + 0x88]
movsd qword [rsi + 0x30], xmm1
call fcn.1800527e0
mov rcx, rsi
call fcn.1800511e0
test al, al
jne 0x18004ac00
jmp 0x18004b2b5
test dil, dil
jne 0x18004ad2f
test bl, bl
jne 0x18004acf9
mov ecx, dword [rcx + 0x48]
call fcn.180008a70
test al, al
je 0x18004acf2
movzx r8d, bpl
mov edx, r15d
mov rcx, rsi
call fcn.18004f1d0
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
test dil, dil
jne 0x18004ad2f
test bl, bl
jne 0x18004afb9
mov ecx, dword [rcx + 0x4c]
call fcn.180008a70
test al, al
je 0x18004ad26
movzx r8d, bpl
mov edx, r15d
mov rcx, rsi
call fcn.18004f330
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
jmp 0x18004ad37
test bl, bl
jne 0x18004af8c
mov ecx, dword [rcx + 0x40]
call fcn.180008a70
test al, al
je 0x18004ad58
movzx r9d, dil
movzx r8d, bpl
mov rcx, rsi
call fcn.18004f4d0
jmp 0x18004b2b5
mov rax, qword [0x18009a020]
mov ecx, dword [rax + 0x44]
call fcn.180008a70
test al, al
je 0x18004ad80
movzx r9d, dil
movzx r8d, bpl
mov rcx, rsi
call fcn.18004f7c0
jmp 0x18004b2b5
mov rax, qword [0x18009a020]
mov ecx, dword [rax + 0x50]
call fcn.180008a70
test al, al
mov rax, qword [0x18009a020]
je 0x18004add3
mov rcx, qword [rax + 0x1a18]
movss xmm0, dword [rcx + 0x1c]
subss xmm0, dword [0x18008d5ac]
divss xmm0, dword [rsi + 0x30c]
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si edx, xmm0
movzx r8d, bpl
mov rcx, rsi
sub edx, 4
call fcn.18004f1d0
jmp 0x18004b2b5
mov ecx, dword [rax + 0x54]
call fcn.180008a70
test al, al
mov rax, qword [0x18009a020]
je 0x18004ae1f
mov rcx, qword [rax + 0x1a18]
movss xmm0, dword [rcx + 0x1c]
subss xmm0, dword [0x18008d5ac]
divss xmm0, dword [rsi + 0x30c]
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si edx, xmm0
movzx r8d, bpl
mov rcx, rsi
sub edx, 4
call fcn.18004f330
jmp 0x18004b2b5
mov ecx, dword [rax + 0x58]
call fcn.180008a70
test dil, dil
je 0x18004af4f
test al, al
je 0x18004af46
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x80], rbx
mov edi, ebx
mov qword [rsp + 0x78], r12
test ebx, ebx
jne 0x18004ae5a
mov rax, rbx
shr rax, 0x20
test eax, eax
je 0x18004ae6f
mov rax, qword [rsp + 0x78]
mov rcx, rsi
mov qword [rsi + 0x30], rax
mov byte [rsi + 0x68], r15b
call fcn.1800527e0
cmp dword [rsi + 0x30], edi
jne 0x18004ae84
mov eax, dword [rsp + 0x84]
cmp dword [rsi + 0x34], eax
je 0x18004b2b5
mov rax, qword [rsi + 0x30]
test bpl, bpl
je 0x18004ae96
mov qword [rsi + 0x318], rbx
jmp 0x18004ae9d
mov qword [rsi + 0x318], rax
lea r8, [rsi + 0x310]
mov rcx, rsi
mov qword [r8], rax
lea rdx, [rsp + 0x80]
mov r15, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
mov r14, r15
shr r14, 0x20
mov qword [rsp + 0x78], rbx
call fcn.180048310
lea r8, [rsi + 0x318]
lea rdx, [rsp + 0x80]
mov rcx, qword [rax]
mov qword [rsi + 0x20], rcx
mov rcx, rsi
call fcn.180048310
mov rdx, qword [rax]
mov rcx, rdx
mov qword [rsi + 0x28], rdx
mov r8d, dword [rsi + 0x20]
shr rcx, 0x20
cmp r8d, edx
jne 0x18004af03
cmp dword [rsi + 0x24], ecx
setg r9b
mov eax, edx
test r9b, r9b
je 0x18004af24
mov rax, qword [rsi + 0x20]
mov r8d, edx
mov rcx, rax
mov qword [rsi + 0x20], rdx
shr rcx, 0x20
mov qword [rsi + 0x28], rax
cmp r8d, r15d
jne 0x18004af3d
cmp dword [rsi + 0x24], r14d
jne 0x18004af3d
cmp eax, ebx
jne 0x18004af3d
cmp ecx, dword [rsp + 0x7c]
je 0x18004b2b5
mov byte [rsi + 0x68], 1
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
jmp 0x18004af91
test al, al
je 0x18004af64
movzx edx, bpl
mov rcx, rsi
call fcn.18004fc10
jmp 0x18004b2b5
test bl, bl
jne 0x18004afb2
mov rax, qword [0x18009a020]
mov ecx, dword [rax + 0x5c]
call fcn.180008a70
test al, al
je 0x18004afb2
movzx edx, bpl
mov rcx, rsi
call fcn.18004fd90
jmp 0x18004b2b5
test dil, dil
je 0x18004afb9
test bl, bl
jne 0x18004afb9
mov ecx, dword [rcx + 0x5c]
call fcn.180008a70
test al, al
je 0x18004afb2
movzx edx, bpl
mov rcx, rsi
call fcn.18004fab0
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004aff1
test dil, dil
jne 0x18004aff1
test bpl, bpl
jne 0x18004b06d
test bl, bl
jne 0x18004aff1
mov ecx, dword [rcx + 0x64]
call fcn.180008a70
test al, al
je 0x18004afea
mov rcx, rsi
call fcn.18004ff20
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
test bpl, bpl
jne 0x18004b06d
test dil, dil
jne 0x18004b040
cmp byte [rsi + 0x59], r12b
jne 0x18004b027
test bl, bl
jne 0x18004b06d
mov ecx, dword [rcx + 0x68]
call fcn.180008a70
test al, al
je 0x18004b01e
mov rcx, rsi
call fcn.180050450
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
jmp 0x18004b02b
test bl, bl
jne 0x18004b06d
mov ecx, dword [rcx + 0x60]
call fcn.180008a70
test al, al
je 0x18004b066
xor byte [rsi + 0x58], r15b
jmp 0x18004b2b5
test bl, bl
jne 0x18004b06d
mov ecx, dword [rcx + 0x60]
call fcn.180008a70
test al, al
jne 0x18004b0cc
mov rax, qword [0x18009a020]
mov ecx, dword [rax + 0x80]
call fcn.180008a70
test al, al
jne 0x18004b0cc
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004b0e2
test dil, dil
jne 0x18004b094
test bpl, bpl
je 0x18004b094
test bl, bl
jne 0x18004b094
mov ecx, dword [rcx + 0x60]
call fcn.180008a70
test al, al
jne 0x18004b0bf
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004b0e2
test dil, dil
je 0x18004b10c
test bpl, bpl
jne 0x18004b258
test bl, bl
jne 0x18004b13e
mov ecx, dword [rcx + 0x84]
call fcn.180008a70
test al, al
je 0x18004b0d9
mov rcx, rsi
call fcn.180050ee0
jmp 0x18004b2b5
mov rcx, rsi
call fcn.180050b30
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
jmp 0x18004b0f4
test dil, dil
je 0x18004b10c
test bpl, bpl
jne 0x18004b258
test bl, bl
jne 0x18004b13e
mov ecx, dword [rcx + 0x88]
call fcn.180008a70
test al, al
jne 0x18004b121
mov rcx, qword [0x18009a020]
jmp 0x18004b13e
test bpl, bpl
je 0x18004b135
test bl, bl
jne 0x18004b135
mov ecx, dword [rcx + 0x64]
call fcn.180008a70
test al, al
je 0x18004b12e
mov rcx, rsi
call fcn.180050d30
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
test dil, dil
je 0x18004b258
test bpl, bpl
jne 0x18004b258
test bl, bl
jne 0x18004b258
mov ecx, dword [rcx + 0x7c]
call fcn.180008a70
test al, al
je 0x18004b251
mov rcx, qword [rsi + 0x10]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [rsi + 8]
imul rcx
mov dword [rsp + 0x84], r12d
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x80], edx
test edx, edx
jns 0x18004b1af
mov r8d, 0x4a
lea rdx, str.C:UsersDisoxDesktop_redENGINE_FiveM_mainTextEditor.h
lea rcx, str.aLine___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, qword [rsi + 0x20]
lea r8, [rsp + 0x78]
mov rbx, qword [rsi + 0x28]
lea rdx, [rsp + 0x20]
mov rdi, r14
mov qword [rsp + 0x78], r12
mov rcx, rsi
shr rdi, 0x20
mov qword [rsp + 0x88], rbx
call fcn.180048310
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x78]
mov rcx, qword [rax]
mov qword [rsi + 0x20], rcx
mov rcx, rsi
call fcn.180048310
mov rdx, qword [rax]
mov rcx, rdx
mov qword [rsi + 0x28], rdx
mov r8d, dword [rsi + 0x20]
shr rcx, 0x20
cmp r8d, edx
jne 0x18004b213
cmp dword [rsi + 0x24], ecx
setg r9b
mov eax, edx
test r9b, r9b
je 0x18004b234
mov rax, qword [rsi + 0x20]
mov r8d, edx
mov rcx, rax
mov qword [rsi + 0x20], rdx
shr rcx, 0x20
mov qword [rsi + 0x28], rax
cmp r8d, r14d
jne 0x18004b24b
cmp dword [rsi + 0x24], edi
jne 0x18004b24b
cmp eax, ebx
jne 0x18004b24b
cmp ecx, dword [rsp + 0x8c]
je 0x18004b2b5
mov byte [rsi + 0x68], r15b
jmp 0x18004b2b5
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004b2b5
test dil, dil
jne 0x18004b289
test bpl, bpl
jne 0x18004b289
test bl, bl
jne 0x18004b289
mov ecx, dword [rcx + 0x70]
call fcn.180008a70
test al, al
je 0x18004b282
mov edx, 0xa
xor r8d, r8d
jmp 0x18004b2ad
mov rcx, qword [0x18009a020]
cmp byte [rsi + 0x59], r12b
jne 0x18004b2b5
test dil, dil
jne 0x18004b2b5
test bl, bl
jne 0x18004b2b5
mov ecx, dword [rcx + 0x3c]
call fcn.180008a70
test al, al
je 0x18004b2b5
mov edx, 9
movzx r8d, bpl
mov rcx, rsi
call fcn.18004db90
mov r15, qword [rsp + 0x30]
cmp byte [rsi + 0x59], r12b
jne 0x18004b362
mov eax, dword [r13 + 0x1540]
test eax, eax
je 0x18004b362
mov ebx, r12d
jle 0x18004b333
mov rdi, r12
mov r14d, 0xffe0
cmp ebx, eax
jl 0x18004b2ff
mov r8d, 0x4f8
lea rdx, str.C:UsersDisoxDesktop_redENGINE_FiveM_mainimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r13 + 0x1548]
movzx edx, word [rdi + rax]
test r14w, dx
jne 0x18004b316
cmp dx, 0xa
jne 0x18004b322
movzx r8d, bpl
mov rcx, rsi
call fcn.18004db90
mov eax, dword [r13 + 0x1540]
inc ebx
add rdi, 2
cmp ebx, eax
jl 0x18004b2ff
mov ecx, dword [r13 + 0x1544]
test ecx, ecx
jns 0x18004b35b
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [r13 + 0x1540]
test eax, eax
cmovg edx, eax
call fcn.1800162f0
mov dword [r13 + 0x1540], r12d
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r14
pop r13
pop rsi
pop rbp
ret