Function at 0x14005bc60
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push r12
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1400f5080]
xor rax, rsp
mov qword [rbp + 0x30], rax
lea rax, [0x14005d110]
mov dword [rbp - 0x70], 0x50
xor r12d, r12d
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x6c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [0x1400f67e8], 0x10
lea rbx, [0x1400f67d0]
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x28], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov rax, rbx
movdqa xmmword [rbp - 0x40], xmm1
cmovae rax, qword [0x1400f67d0]
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x58]
mov r9d, 0x80000000
cmp qword [0x1400f67e8], 0x10
mov rdx, qword [rbp - 0x30]
cmovae rbx, qword [0x1400f67d0]
xor ecx, ecx
mov qword [rsp + 0x58], r12
mov r8, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [r12 + 0x20]
mov qword [0x1400f6340], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x1400f62f0], rax
mov rcx, rax
test rax, rax
je 0x14005d0ab
lea rdx, [0x1400f62f8]
mov qword [0x1400f6300], r12
mov qword [rsp + 0x30], rdx
lea rsi, [0x1400f6300]
mov qword [0x1400f630c], r12
lea r8d, [r12 + 1]
mov dword [0x1400f6314], r12d
mov r9, rbx
mov qword [0x1400f631c], r12
xor edx, edx
mov dword [0x1400f6324], r12d
mov qword [0x1400f6334], r12
mov dword [0x1400f6328], 1
mov dword [0x1400f6318], 1
mov dword [0x1400f6308], r12d
mov dword [0x1400f632c], 1
mov dword [0x1400f6330], 0x50
mov dword [0x1400f633c], 1
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x14005d0a4
lea rdx, [0x1400f67b0]
lea rcx, [rsp + 0x60]
call fcn.14000c320
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14005b820
cmp qword [rax + 0x18], 0x10
mov r8, qword [rax + 0x10]
jb 0x14005be30
mov rax, qword [rax]
cmp r8, 3
jne 0x14005be4d
lea rdx, [0x1400e345c]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005be4d
mov bl, 1
jmp 0x14005be4f
xor bl, bl
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14005be8d
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005be88
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005be88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2964
test bl, bl
je 0x14005be9a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x1b0], r14
mov qword [rsp + 0x170], r15
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm7
movaps xmmword [rsp + 0x140], xmm8
call fcn.14005ba50
xorps xmm0, xmm0
lea rdx, [0x1400d4e25]
xorps xmm1, xmm1
lea rcx, [rbp - 0x20]
xor r8d, r8d
movups xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
call fcn.14000d300
mov rcx, qword [0x1400f6340]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f6340]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400f62e0]
test rax, rax
je 0x14005bf28
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14005bf44
xor edx, edx
mov rcx, rax
call fcn.14000ee50
jmp 0x14005bf47
mov rax, r12
cmp qword [0x1400f62e0], r12
jne 0x14005bf57
mov qword [0x1400f62e0], rax
mov rcx, rax
call fcn.140016290
mov r13, qword [0x1400f62e0]
test r13, r13
jne 0x14005bf8c
mov r8d, 0xda0
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 r13, qword [0x1400f62e0]
movss xmm2, dword [0x1400e3578]
mov rcx, qword [r13 + 0xa8]
or dword [r13 + 8], 0x400
mov qword [r13 + 0x20], r12
call fcn.140043fd0
movss xmm2, dword [0x1400e3580]
mov rcx, qword [r13 + 0xa8]
call fcn.140043fd0
mov rax, qword [0x1400f62e0]
test rax, rax
jne 0x14005bfed
mov r8d, 0x997
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 rax, qword [0x1400f62e0]
test dword [r13 + 8], 0x400
je 0x14005c87f
test rax, rax
jne 0x14005c021
mov r8d, 0x997
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 rax, qword [0x1400f62e0]
mov dword [rax + 0x1638], 0x3f800000
mov dword [rax + 0x163c], 0x41a00000
mov dword [rax + 0x1640], 0x41a00000
mov dword [rax + 0x1644], 0x40a00000
mov dword [rax + 0x1648], 0x3f800000
mov dword [rax + 0x164c], 0x42000000
mov qword [rax + 0x1650], 0x42000000
mov qword [rax + 0x1658], 0x3f000000
mov dword [rax + 0x1660], 0x40d00000
mov qword [rax + 0x1664], 0x3f800000
mov dword [rax + 0x166c], 0x3f800000
mov dword [rax + 0x1670], 0x40800000
mov qword [rax + 0x1674], 0x40400000
mov dword [rax + 0x167c], r12d
mov dword [rax + 0x1680], 0x41000000
mov dword [rax + 0x1684], 0x40800000
mov dword [rax + 0x1688], 0x40800000
mov dword [rax + 0x168c], 0x40800000
mov dword [rax + 0x1690], 0x40800000
mov dword [rax + 0x1694], 0x40000000
mov dword [rax + 0x16a0], 0x41a80000
mov dword [rax + 0x16a4], 0x40d33333
mov dword [rax + 0x16a8], 0x41600000
mov dword [rax + 0x16ac], 0x41100000
mov dword [rax + 0x16b0], 0x41a00000
mov dword [rax + 0x16b4], 0x3f800000
mov qword [rax + 0x16bc], 0x40800000
mov dword [rax + 0x16c4], r12d
mov dword [rax + 0x16c8], 1
mov dword [rax + 0x16cc], 0x3f000000
mov qword [rax + 0x16d0], 0x3f000000
mov dword [rax + 0x16d8], r12d
mov dword [rax + 0x16fc], 0x3f7fff58
mov dword [rax + 0x1700], 0x3f800000
mov dword [rax + 0x1704], 0x3f800000
mov dword [rax + 0x1708], 0x3f800000
mov dword [rax + 0x170c], 0x3f4d7509
mov dword [rax + 0x1710], 0x3f4d758e
mov dword [rax + 0x1714], 0x3f4d7590
mov dword [rax + 0x1718], 0x3f800000
mov dword [rax + 0x171c], 0x3d3e9de1
mov dword [rax + 0x1720], 0x3badd518
mov dword [rax + 0x1724], 0x3d52f3f0
mov dword [rax + 0x1728], 0x3f800000
mov dword [rax + 0x172c], 0x3d5113dd
mov dword [rax + 0x1730], 0x3d2053c1
mov dword [rax + 0x1734], 0x3d956cc8
mov dword [rax + 0x1738], 0x3f800000
mov dword [rax + 0x173c], 0x3e20a0a1
mov dword [rax + 0x1740], 0x3e74f4f5
mov dword [rax + 0x1744], 0x3e60e0e1
mov dword [rax + 0x1748], 0x3f800000
mov dword [rax + 0x174c], 0x3d6ab806
mov dword [rax + 0x1750], 0x3e4cf6d5
mov dword [rax + 0x1754], 0x3e602328
mov qword [rax + 0x1758], 0x3f800000
mov qword [rax + 0x1760], r12
mov dword [rax + 0x1768], r12d
mov dword [rax + 0x176c], 0x3d84fa28
mov dword [rax + 0x1770], 0x3e4e8ed4
mov dword [rax + 0x1774], 0x3e4cc124
mov dword [rax + 0x1778], 0x3f800000
mov dword [rax + 0x177c], 0x3ee0e0e1
mov dword [rax + 0x1780], 0x3f4ccccd
mov dword [rax + 0x1784], 0x3f4ccccd
mov dword [rax + 0x1788], 0x3e8a3d71
mov dword [rax + 0x178c], 0x3ee0e0e1
mov dword [rax + 0x1790], 0x3f4ececf
mov dword [rax + 0x1794], 0x3f5bdbdc
mov dword [rax + 0x1798], 0x3f28f5c3
mov dword [rax + 0x179c], 0x3e0c8c8d
mov dword [rax + 0x17a0], 0x3e34b4b5
mov dword [rax + 0x17a4], 0x3e54d4d5
mov dword [rax + 0x17a8], 0x3f3ae148
mov dword [rax + 0x17ac], 0x3e049fce
mov dword [rax + 0x17b0], 0x3de305f0
mov dword [rax + 0x17b4], 0x3e156cc4
mov qword [rax + 0x17b8], 0x3f01a5e8
mov qword [rax + 0x17c0], r12
mov qword [rax + 0x17c8], 0x3f0a3d71
mov qword [rax + 0x17d0], r12
mov dword [rax + 0x17d8], 0x3f800000
mov dword [rax + 0x17dc], 0x3e60e0e1
mov dword [rax + 0x17e0], 0x3e929293
mov dword [rax + 0x17e4], 0x3e989899
mov qword [rax + 0x17e8], 0x3f35c28f
mov dword [rax + 0x17f0], 0x3f800000
mov dword [rax + 0x17f4], 0x3f800000
mov qword [rax + 0x17f8], 0x3ee147ae
mov dword [rax + 0x1800], 0x3f800000
mov dword [rax + 0x1804], 0x3f800000
mov qword [rax + 0x1808], 0x3f3d70a4
mov dword [rax + 0x1810], 0x3f800000
mov dword [rax + 0x1814], 0x3f800000
mov qword [rax + 0x1818], 0x3f800000
mov dword [rax + 0x1820], 0x3f800000
mov dword [rax + 0x1824], 0x3f800000
mov qword [rax + 0x1828], 0x3f2e147b
mov dword [rax + 0x1830], 0x3f800000
mov dword [rax + 0x1834], 0x3f800000
mov qword [rax + 0x1838], 0x3eb851ec
mov dword [rax + 0x1840], 0x3f800000
mov dword [rax + 0x1844], 0x3f800000
mov qword [rax + 0x1848], 0x3f428f5c
mov dword [rax + 0x1850], 0x3f25a5a6
mov dword [rax + 0x1854], 0x3f25a5a6
mov dword [rax + 0x1858], 0x3eeb851f
mov dword [rax + 0x185c], 0x3c008081
mov dword [rax + 0x1860], 0x3f800000
mov dword [rax + 0x1864], 0x3f800000
mov qword [rax + 0x1868], 0x3edc28f6
mov dword [rax + 0x1870], 0x3f800000
mov dword [rax + 0x1874], 0x3f800000
mov qword [rax + 0x1878], 0x3f1eb852
mov dword [rax + 0x1880], 0x3f800000
mov dword [rax + 0x1884], 0x3f800000
mov qword [rax + 0x1888], 0x3ea8f5c3
mov dword [rax + 0x1890], 0x3f800000
mov dword [rax + 0x1894], 0x3f800000
mov qword [rax + 0x1898], 0x3ed70a3d
mov dword [rax + 0x18a0], 0x3f800000
mov dword [rax + 0x18a4], 0x3f800000
mov qword [rax + 0x18a8], 0x3f0a3d71
mov dword [rax + 0x18b0], 0x3efefeff
mov dword [rax + 0x18b4], 0x3efefeff
mov qword [rax + 0x18b8], 0x3ea8f5c3
mov dword [rax + 0x18c0], 0x3efefeff
mov dword [rax + 0x18c4], 0x3efefeff
mov qword [rax + 0x18c8], 0x3ef0a3d7
mov dword [rax + 0x18d0], 0x3f32b2b3
mov dword [rax + 0x18d4], 0x3f32b2b3
mov qword [rax + 0x18d8], 0x3f800000
mov dword [rax + 0x18e0], 0x3f800000
mov dword [rax + 0x18e4], 0x3f800000
mov qword [rax + 0x18e8], 0x3f0a3d71
mov dword [rax + 0x18f0], 0x3f800000
mov dword [rax + 0x18f4], 0x3f800000
mov qword [rax + 0x18f8], 0x3f3d70a4
mov dword [rax + 0x1900], 0x3f800000
mov dword [rax + 0x1904], 0x3f800000
mov dword [rax + 0x1908], 0x3f800000
mov dword [rax + 0x190c], 0x3e34b4b4
mov dword [rax + 0x1910], 0x3f0f9f01
mov dword [rax + 0x1914], 0x3f139394
mov dword [rax + 0x1918], 0x3f800000
mov dword [rax + 0x191c], 0x3e848485
mov dword [rax + 0x1920], 0x3f72e14c
mov dword [rax + 0x1924], 0x3f79f9fa
mov dword [rax + 0x1928], 0x3f4ccccd
mov dword [rax + 0x192c], 0x3e48c8c8
mov dword [rax + 0x1930], 0x3f25ba9c
mov dword [rax + 0x1934], 0x3f2dadae
mov dword [rax + 0x1938], 0x3f800000
mov dword [rax + 0x193c], 0x3d888889
mov dword [rax + 0x1940], 0x3e09349b
mov dword [rax + 0x1944], 0x3e149495
mov dword [rax + 0x1948], 0x3f78ef35
mov dword [rax + 0x194c], 0x3e08888a
mov dword [rax + 0x1950], 0x3ed8d8d9
mov dword [rax + 0x1954], 0x3ed6ef1b
mov dword [rax + 0x1958], 0x3f800000
mov dword [rax + 0x197c], r12d
mov dword [rax + 0x1980], 0x3f800000
mov dword [rax + 0x1984], 0x3f800000
mov qword [rax + 0x1988], 0x3f800000
mov dword [rax + 0x1990], 0x3f800000
mov dword [rax + 0x1994], 0x3f800000
mov qword [rax + 0x1998], 0x3f800000
mov dword [rax + 0x19a0], 0x3f800000
mov dword [rax + 0x19a4], 0x3f800000
mov qword [rax + 0x19a8], 0x3f800000
mov dword [rax + 0x19b0], 0x3f800000
mov dword [rax + 0x19b4], 0x3f800000
mov dword [rax + 0x19b8], 0x3f800000
mov dword [rax + 0x19bc], 0x3e40c0c1
mov dword [rax + 0x19c0], 0x3e40c0c1
mov dword [rax + 0x19c4], 0x3e4ccccd
mov dword [rax + 0x19c8], 0x3f800000
mov dword [rax + 0x19cc], 0x3e9e9e9f
mov dword [rax + 0x19d0], 0x3e9e9e9f
mov dword [rax + 0x19d4], 0x3eb2b2b3
mov dword [rax + 0x19d8], 0x3f800000
mov dword [rax + 0x19dc], 0x3e68e8e9
mov dword [rax + 0x19e0], 0x3e68e8e9
mov dword [rax + 0x19e4], 0x3e7cfcfd
mov qword [rax + 0x19e8], 0x3f800000
mov qword [rax + 0x19f0], r12
mov dword [rax + 0x19f8], r12d
mov dword [rax + 0x19fc], 0x3f800000
mov dword [rax + 0x1a00], 0x3f800000
mov dword [rax + 0x1a04], 0x3f800000
mov qword [rax + 0x1a08], 0x3d75c28f
mov dword [rax + 0x1a10], 0x3f800000
mov dword [rax + 0x1a14], 0x3f800000
mov dword [rax + 0x1a18], 0x3e6147ae
mov dword [rax + 0x1a1c], 0x3f800000
mov qword [rax + 0x1a20], 0x3f800000
mov dword [rax + 0x1a28], 0x3f666666
mov dword [rax + 0x1a2c], 0x3f7fff58
mov dword [rax + 0x1a30], 0x3f7fffa5
mov dword [rax + 0x1a34], 0x3f800000
mov dword [rax + 0x1a38], 0x3f800000
mov dword [rax + 0x1a3c], 0x3f800000
mov dword [rax + 0x1a40], 0x3f800000
mov dword [rax + 0x1a44], 0x3f800000
mov dword [rax + 0x1a48], 0x3f333333
mov dword [rax + 0x1a4c], 0x3f4ccccd
mov dword [rax + 0x1a50], 0x3f4ccccd
mov dword [rax + 0x1a54], 0x3f4ccccd
mov dword [rax + 0x1a58], 0x3e4ccccd
mov dword [rax + 0x1a5c], 0x3d20a0a1
mov dword [rax + 0x1a60], 0x3dc8c8c9
mov dword [rax + 0x1a64], 0x3db0b0b1
mov dword [rax + 0x1a68], 0x3f028f5c
mov rdi, qword [0x1400f6340]
lea rcx, [0x1400f6710]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14005ca83
lea rcx, [0x1400f6708]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14005ca83
mov rbx, qword [0x1400f62e0]
test rbx, rbx
jne 0x14005c8dd
mov r8d, 0xda0
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 rbx, qword [0x1400f62e0]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x1400f6700], rdi
cmp dword [rbx + 0x1ef0], r12d
jg 0x14005c923
mov r8d, 0x6c7
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1400f6700]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x48], rdi
test dword [rbx + 8], 0x400
je 0x14005c943
call fcn.14004cce0
lea rax, str.xinput1_4.dll
mov dword [rbx + 0x3c], 9
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov dword [rbx + 0x40], Ordinal_41
mov dword [rbx + 0x44], Ordinal_45
mov dword [rbx + 0x48], Ordinal_41
mov dword [rbx + 0x4c], Ordinal_45
mov dword [rbx + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rbx + 0x54], Ordinal_35
mov dword [rbx + 0x58], Ordinal_41
mov dword [rbx + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rbx + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rbx + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbx + 0x70], reloc.WS2_32.dll_listen
mov dword [rbx + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rbx + 0x78], reloc.WS2_32.dll_listen
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
mov rbx, r12
mov qword [rbp - 0x80], rax
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14005ca4e
inc rbx
cmp rbx, 5
jl 0x14005ca30
jmp 0x14005ca83
lea rdx, str.XInputGetCapabilities
mov qword [0x1400f66e8], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x1400f66f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f66f8], rax
mov rbx, qword [0x1400f62e0]
mov rdi, qword [0x1400f62f8]
test rbx, rbx
jne 0x14005cab7
mov r8d, 0xda0
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 rbx, qword [0x1400f62e0]
or dword [rbx + 0xc], 0x1008
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
mov rcx, rdi
mov rax, qword [rdi]
mov qword [0x1400f66d8], rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x14005cb58
mov rax, qword [0x1400f62e0]
test rax, rax
jne 0x14005cb12
mov r8d, 0xda6
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1400f62e0]
lea rcx, [fcn.14004acd0]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14004ae10]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14004aeb0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14004af30]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14004b080]
mov qword [rax + 0x1610], rcx
movss xmm6, dword [0x1400e34d4]
xorps xmm0, xmm0
movss xmm8, dword [0x1400e3518]
xorps xmm7, xmm7
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005cbb7
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14005cef3
cmp qword [0x1400f66c8], r12
jne 0x14005cbc5
call fcn.14004aa30
call fcn.14004b8d0
call fcn.1400150e0
cmp dword [0x1400f6720], r12d
jne 0x14005cc80
cmp qword [0x1400f62e0], r12
jne 0x14005cbff
mov r8d, 0x997
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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]
movss xmm0, dword [0x1400f50f0]
ucomiss xmm0, xmm7
jp 0x14005cc74
jne 0x14005cc74
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [rsp + 0x68]
movd xmm0, dword [rsp + 0x6c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x1400f50f8], xmm1
subss xmm1, dword [0x1400f5100]
movss dword [0x1400f50fc], xmm0
subss xmm0, dword [0x1400f5104]
mulss xmm1, xmm6
mulss xmm0, xmm6
movss dword [0x1400f50f0], xmm1
movss dword [0x1400f50f4], xmm0
mov dword [0x1400f6720], 1
jmp 0x14005cc85
call fcn.140004f00
call fcn.140017930
mov rcx, qword [0x1400f62f8]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm8
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400f62f8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005cd2c
call fcn.140017e10
mov rbx, qword [0x1400f62e0]
cmp dword [rbx + 0x1ef0], r12d
jg 0x14005ccf9
mov r8d, 0x6c7
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 [rbx + 0x1ef8]
mov rcx, qword [rax]
mov rax, r12
add rcx, 0xa8
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.14004a1b0
mov rcx, qword [0x1400f62f8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x14005ce74
call fcn.14002a090
mov rbx, qword [0x1400f62e0]
test rbx, rbx
jne 0x14005cd6c
mov r8d, 0xda6
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400f62e0]
mov eax, dword [rbx + 0x1628]
mov edi, 1
mov r14d, edi
cmp eax, edi
jle 0x14005cdef
nop
test rdi, rdi
js 0x14005cd8a
cmp r14d, eax
jl 0x14005cda4
mov r8d, 0x6c7
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 [rbx + 0x1630]
mov rsi, qword [rax + rdi*8]
test dword [rsi + 4], 0x400
jne 0x14005cdde
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14005cdcb
xor edx, edx
mov rcx, rsi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14005cdde
xor edx, edx
mov rcx, rsi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rdi
cmp r14d, eax
jl 0x14005cd80
mov esi, 1
mov edi, esi
cmp eax, esi
jle 0x14005ce6d
nop word [rax + rax]
test rdi, rdi
js 0x14005ce09
cmp esi, eax
jl 0x14005ce23
mov r8d, 0x6c7
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseImGuiimgui.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 [rbx + 0x1630]
mov r14, qword [rax + rdi*8]
test dword [r14 + 4], 0x400
jne 0x14005ce5e
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14005ce4b
xor edx, edx
mov rcx, r14
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14005ce5e
xor edx, edx
mov rcx, r14
call rax
mov eax, dword [rbx + 0x1628]
inc esi
inc rdi
cmp esi, eax
jl 0x14005ce00
lea rsi, [0x1400f6300]
mov rcx, qword [0x1400f62f8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14005ceea
mov rcx, qword [0x1400f62f8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14005ceea
call fcn.14004ab40
mov rcx, qword [0x1400f62f8]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x14005cee5
mov r8d, Ordinal_60
lea rdx, str.C:UsersABGDocumentsGTAV_Loader_BaseMain.hpp
lea rcx, [0x1400d6328]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14004aa30
cmp byte [reloc.WS2_32.dll_accept], r12b
je 0x14005ceff
cmp dword [rbp + 8], 0x12
jne 0x14005cb80
jmp 0x14005cf06
mov dword [rbp + 8], reloc.WS2_32.dll_select
call fcn.14002a8b0
call fcn.14004ab40
mov rcx, qword [0x1400f66d8]
movaps xmm8, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x160]
mov r15, qword [rsp + 0x170]
mov r14, qword [rsp + 0x1b0]
mov r13, qword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x1a0]
test rcx, rcx
je 0x14005cf62
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f66d8], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x1400f66e8]
test rcx, rcx
je 0x14005cf8c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x1400f62e0]
mov rcx, rbx
mov qword [0x1400f66e8], r12
mov qword [0x1400f66f0], r12
mov qword [0x1400f66f8], r12
mov qword [0x1400f6700], r12
mov qword [0x1400f6708], r12
mov qword [0x1400f6710], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x1400f63e8], r12b
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.140016630
cmp qword [0x1400f62e0], rbx
jne 0x14005cfed
mov qword [0x1400f62e0], r12
test rbx, rbx
je 0x14005d015
mov rcx, rbx
call fcn.140037010
mov rax, qword [0x1400f62e0]
test rax, rax
je 0x14005d00c
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400f62f8]
test rcx, rcx
je 0x14005d02e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f62f8], r12
mov rcx, qword [0x1400f62f0]
test rcx, rcx
je 0x14005d047
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f62f0], r12
mov rcx, qword [0x1400f6340]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14005d0a0
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d09b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d09b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2964
xor eax, eax
jmp 0x14005d0f3
mov rcx, qword [0x1400f62f0]
mov rdx, qword [0x1400f62f8]
test rdx, rdx
je 0x14005d0ce
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f62f0]
mov qword [0x1400f62f8], r12
test rcx, rcx
je 0x14005d0e0
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x1400f62f0], r12
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400c26b0
add rsp, 0x178
pop r12
pop rsi
pop rbx
pop rbp
ret