Function at 0x14004eac0
Capabilities:
Create thread
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14004e810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rbp - 0x20], 0x50
mov dword [rbp - 0x1c], 0x40
lea rax, [0x14004fbd0]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
lea rbx, str.Main
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], r15
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp - 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [r15 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x140060a98], rax
lea r14d, [r15 + 1]
test rax, rax
je 0x14004fb48
mov qword [0x140060ab0], r15
mov qword [0x140060abc], r15
mov dword [0x140060ac4], r15d
mov qword [0x140060acc], r15
mov dword [0x140060ad4], r15d
mov qword [0x140060ae4], r15
mov dword [0x140060ad8], r14d
mov dword [0x140060ac8], r14d
mov dword [0x140060ab8], r15d
mov dword [0x140060adc], r14d
mov dword [0x140060ae0], 0x50
mov dword [0x140060aec], r14d
mov rax, qword [rax]
lea rdx, [0x140060aa0]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140060ab0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, r13
mov r8d, r14d
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x14004fb41
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400609d0]
test rax, rax
je 0x14004ecb5
inc dword [rax + 0x3ac]
mov ecx, 0x4180
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14004ece4
xor edx, edx
mov rcx, rax
call fcn.140001c00
jmp 0x14004ece7
mov rax, r15
cmp qword [0x1400609d0], 0
jne 0x14004ecf8
mov qword [0x1400609d0], rax
mov rcx, rax
call fcn.140008e00
mov rsi, qword [0x1400609d0]
mov qword [rsp + 0x70], rsi
or dword [rsi + 8], 0x401
xor ecx, ecx
call fcn.14002d7a0
mov rcx, r13
call fcn.140038150
mov rdi, qword [0x140060aa0]
mov rbx, qword [0x1400609d0]
test rbx, rbx
je 0x14004ed3b
inc dword [rbx + 0x3ac]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14004ed70
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14004ed73
mov rax, r15
mov qword [rbx + 0xf8], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rcx
or dword [rbx + 0xc], 0x1008
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x14004edf1
mov rax, qword [0x1400609d0]
lea rcx, [fcn.140037df0]
mov qword [rax + 0x1608], rcx
lea rcx, [fcn.140037ed0]
mov qword [rax + 0x1610], rcx
lea rcx, [0x140037f50]
mov qword [rax + 0x1618], rcx
lea rcx, [0x140037fc0]
mov qword [rax + 0x1620], rcx
lea rcx, [0x140038120]
mov qword [rax + 0x1628], rcx
xor r12b, r12b
movss xmm6, dword [0x140057490]
movss xmm7, dword [0x140057340]
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004ee74
nop dword [rax + rax]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx r12d, r12b
cmp dword [rbp + 0x50], 0x12
cmove r12d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004ee30
test r12b, r12b
jne 0x14004f9de
mov rbx, qword [0x1400609d0]
test rbx, rbx
je 0x14004ee89
mov rax, qword [rbx + 0xf8]
jmp 0x14004ee8c
mov rax, r15
cmp qword [rax + 0x18], 0
jne 0x14004ee9f
call fcn.140037c50
mov rbx, qword [0x1400609d0]
test rbx, rbx
je 0x14004eead
mov rdi, qword [rbx + 0xf0]
jmp 0x14004eeb0
mov rdi, r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x28]
sub eax, dword [rbp - 0x30]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x24]
sub eax, dword [rbp - 0x2c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [rdi + 0x2e], 0
je 0x14004eef4
call fcn.140038de0
mov qword [rbp + 0x40], r15
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.140038730
cmp byte [rbx + 0xd0], 0
je 0x14004ef40
mov eax, 0xffffffff
jmp 0x14004ef4d
mov rax, qword [0x1400609d0]
mov eax, dword [rax + 0x2128]
cmp dword [rdi + 0x28], eax
je 0x14004ef5a
mov dword [rdi + 0x28], eax
call fcn.1400385b0
call fcn.1400389e0
call fcn.140007920
xor r8d, r8d
xor edx, edx
lea rcx, str.NIKO_WITH__3
call fcn.14000e3d0
call fcn.1400121f0
call fcn.140012320
call fcn.1400121f0
mov dword [rbp - 0x78], 0x42c80000
mov dword [rbp - 0x74], 0x41a00000
lea rdx, [rbp - 0x78]
lea rcx, [0x140057190]
call fcn.14003c720
lea rdi, [0x140060278]
test al, al
je 0x14004f017
mov byte [0x1400609ce], 1
mov byte [0x1400609cb], 0
mov byte [0x1400609e1], 0
mov byte [0x1400609e0], 0
mov byte [0x1400609cc], 0
mov rcx, qword [0x140060290]
cmp rcx, 4
jb 0x14004f003
mov rax, rdi
cmp rcx, 0xf
cmova rax, qword [0x140060278]
mov qword [0x140060288], 4
mov dword [rax], 0x37344b41
mov byte [rax + 4], 0
jmp 0x14004f017
lea r9, str.AK47
mov edx, 4
mov rcx, rdi
call fcn.14004fd10
mov dword [rbp - 0x70], 0x42c80000
mov dword [rbp - 0x6c], 0x41a00000
lea rdx, [rbp - 0x70]
lea rcx, [0x14005719c]
call fcn.14003c720
test al, al
je 0x14004f0b2
mov byte [0x1400609ce], 0
mov byte [0x1400609cb], 1
mov byte [0x1400609e1], 0
mov byte [0x1400609e0], 0
mov byte [0x1400609cc], 0
mov rax, qword [0x140060290]
cmp rax, 6
jb 0x14004f09e
mov rbx, rdi
cmp rax, 0xf
cmova rbx, qword [0x140060278]
mov qword [0x140060288], 6
mov r8d, 6
lea rdx, str.LR_300
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], 0
jmp 0x14004f0b2
lea r9, str.LR_300
mov edx, 6
mov rcx, rdi
call fcn.14004fd10
mov dword [rbp - 0x68], 0x42c80000
mov dword [rbp - 0x64], 0x41a00000
lea rdx, [rbp - 0x68]
lea rcx, str._MP5
call fcn.14003c720
test al, al
je 0x14004f14d
mov byte [0x1400609ce], 0
mov byte [0x1400609cb], 0
mov byte [0x1400609e1], 1
mov byte [0x1400609e0], 0
mov byte [0x1400609cc], 0
mov rax, qword [0x140060290]
cmp rax, 3
jb 0x14004f139
mov rbx, rdi
cmp rax, 0xf
cmova rbx, qword [0x140060278]
mov qword [0x140060288], 3
mov r8d, 3
lea rdx, [0x1400571b0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
jmp 0x14004f14d
lea r9, [0x1400571b0]
mov edx, 3
mov rcx, rdi
call fcn.14004fd10
mov dword [rbp - 0x60], 0x42c80000
mov dword [rbp - 0x5c], 0x41a00000
lea rdx, [rbp - 0x60]
lea rcx, str._CUSTOM
call fcn.14003c720
test al, al
je 0x14004f1e8
mov byte [0x1400609ce], 0
mov byte [0x1400609cb], 0
mov byte [0x1400609e1], 0
mov byte [0x1400609e0], 1
mov byte [0x1400609cc], 0
mov rax, qword [0x140060290]
cmp rax, 6
jb 0x14004f1d4
mov rbx, rdi
cmp rax, 0xf
cmova rbx, qword [0x140060278]
mov qword [0x140060288], 6
mov r8d, 6
lea rdx, str.CUSTOM
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], 0
jmp 0x14004f1e8
lea r9, str.CUSTOM
mov edx, 6
mov rcx, rdi
call fcn.14004fd10
mov dword [rbp - 0x58], 0x42c80000
mov dword [rbp - 0x54], 0x41a00000
lea rdx, [rbp - 0x58]
lea rcx, str._THOMPSON
call fcn.14003c720
test al, al
je 0x14004f27b
mov byte [0x1400609ce], 0
mov byte [0x1400609cb], 0
mov byte [0x1400609e1], 0
mov byte [0x1400609e0], 0
mov byte [0x1400609cc], 1
mov rcx, qword [0x140060290]
cmp rcx, 8
jb 0x14004f267
mov rax, rdi
cmp rcx, 0xf
cmova rax, qword [0x140060278]
mov qword [0x140060288], 8
movabs rcx, 0x4e4f53504d4f4854
mov qword [rax], rcx
mov byte [rax + 8], 0
jmp 0x14004f27b
lea r9, str.THOMPSON
mov edx, 8
mov rcx, rdi
call fcn.14004fd10
call fcn.140012320
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140011fa0
call fcn.1400121f0
mov dword [rbp - 0x50], 0x42c80000
mov dword [rbp - 0x4c], 0x41a00000
lea rdx, [rbp - 0x50]
lea rcx, [0x1400571e4]
call fcn.14003c720
test al, al
je 0x14004f31d
mov byte [0x1400609cf], 1
mov byte [0x1400609cd], 0
mov byte [0x1400609c9], 0
mov rcx, qword [0x140060300]
cmp rcx, 8
jb 0x14004f305
lea rax, [0x1400602e8]
cmp rcx, 0xf
cmova rax, qword [0x1400602e8]
mov qword [0x1400602f8], 8
movabs rcx, 0x5448474953205834
mov qword [rax], rcx
mov byte [rax + 8], 0
jmp 0x14004f31d
lea r9, str.4X_SIGHT
mov edx, 8
lea rcx, [0x1400602e8]
call fcn.14004fd10
mov dword [rbp - 0x48], 0x42c80000
mov dword [rbp - 0x44], 0x41a00000
lea rdx, [rbp - 0x48]
lea rcx, str._HAND
call fcn.14003c720
test al, al
je 0x14004f3b2
mov byte [0x1400609c9], 1
mov byte [0x1400609cf], 0
mov byte [0x1400609cd], 0
mov rax, qword [0x140060300]
cmp rax, 9
jb 0x14004f39a
lea rbx, [0x1400602e8]
cmp rax, 0xf
cmova rbx, qword [0x1400602e8]
mov qword [0x1400602f8], 9
mov r8d, 9
lea rdx, str.HANDSIGHT
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x14004f3b2
lea r9, str.HANDSIGHT
mov edx, 9
lea rcx, [0x1400602e8]
call fcn.14004fd10
mov dword [rbp - 0x40], 0x42c80000
mov dword [rbp - 0x3c], 0x41a00000
lea rdx, [rbp - 0x40]
lea rcx, str._HOLO
call fcn.14003c720
test al, al
je 0x14004f447
mov byte [0x1400609cd], 1
mov byte [0x1400609cf], 0
mov byte [0x1400609c9], 0
mov rax, qword [0x140060300]
cmp rax, 9
jb 0x14004f42f
lea rbx, [0x1400602e8]
cmp rax, 0xf
cmova rbx, qword [0x1400602e8]
mov qword [0x1400602f8], 9
mov r8d, 9
lea rdx, str.HOLOSIGHT
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x14004f447
lea r9, str.HOLOSIGHT
mov edx, 9
lea rcx, [0x1400602e8]
call fcn.14004fd10
mov dword [rbp - 0x38], 0x42c80000
mov dword [rbp - 0x34], 0x41a00000
lea rdx, [rbp - 0x38]
lea rcx, str._SILENCER
call fcn.14003c720
lea rbx, [0x140060298]
test al, al
je 0x14004f4c5
mov byte [0x1400609ca], 1
mov rcx, qword [0x1400602b0]
cmp rcx, 8
jb 0x14004f4b1
mov rax, rbx
cmp rcx, 0xf
cmova rax, qword [0x140060298]
mov qword [0x1400602a8], 8
movabs rcx, 0x5245434e454c4953
mov qword [rax], rcx
mov byte [rax + 8], 0
jmp 0x14004f4c5
lea r9, str.SILENCER
mov edx, 8
mov rcx, rbx
call fcn.14004fd10
mov dword [rsp + 0x78], 0x42c80000
mov dword [rsp + 0x7c], 0x41a00000
lea rdx, [rsp + 0x78]
lea rcx, str._RESET_MODS
call fcn.14003c720
test al, al
je 0x14004f58a
mov byte [0x1400609ca], 0
mov byte [0x1400609cd], 0
mov byte [0x1400609c9], 0
mov byte [0x1400609cf], 0
mov rcx, qword [0x1400602b0]
cmp rcx, 1
jb 0x14004f534
mov rax, rbx
cmp rcx, 0xf
cmova rax, qword [0x140060298]
mov qword [0x1400602a8], r14
mov word [rax], 0x2d
jmp 0x14004f546
lea r9, [0x140057134]
mov rdx, r14
mov rcx, rbx
call fcn.14004fd10
mov rcx, qword [0x140060300]
cmp rcx, 1
jb 0x14004f574
lea rax, [0x1400602e8]
cmp rcx, 0xf
cmova rax, qword [0x1400602e8]
mov qword [0x1400602f8], r14
mov word [rax], 0x2d
jmp 0x14004f58a
lea r9, [0x140057134]
mov rdx, r14
lea rcx, [0x1400602e8]
call fcn.14004fd10
call fcn.140012320
mov dword [rbp - 0x80], 0x42c80000
mov dword [rbp - 0x7c], 0x41a00000
lea rdx, [rbp - 0x80]
lea rcx, str._RESET
call fcn.14003c720
test al, al
je 0x14004f6b0
mov byte [0x1400609ca], 0
mov byte [0x1400609cd], 0
mov byte [0x1400609c9], 0
mov byte [0x1400609cf], 0
mov rcx, qword [0x1400602b0]
cmp rcx, 1
jb 0x14004f5fb
mov rax, rbx
cmp rcx, 0xf
cmova rax, qword [0x140060298]
mov qword [0x1400602a8], r14
mov word [rax], 0x2d
jmp 0x14004f60d
lea r9, [0x140057134]
mov rdx, r14
mov rcx, rbx
call fcn.14004fd10
mov rcx, qword [0x140060300]
cmp rcx, 1
jb 0x14004f63b
lea rax, [0x1400602e8]
cmp rcx, 0xf
cmova rax, qword [0x1400602e8]
mov qword [0x1400602f8], r14
mov word [rax], 0x2d
jmp 0x14004f651
lea r9, [0x140057134]
mov rdx, r14
lea rcx, [0x1400602e8]
call fcn.14004fd10
mov rcx, qword [0x140060290]
cmp rcx, 1
jb 0x14004f67b
mov rax, rdi
cmp rcx, 0xf
cmova rax, qword [0x140060278]
mov qword [0x140060288], r14
mov word [rax], 0x2d
jmp 0x14004f68d
lea r9, [0x140057134]
mov rdx, r14
mov rcx, rdi
call fcn.14004fd10
mov byte [0x1400609cb], 0
mov byte [0x1400609e1], 0
mov byte [0x1400609cc], 0
mov byte [0x1400609ce], 0
mov byte [0x1400609e0], 0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140011fa0
mov dword [rsp + 0x68], 0x42c80000
mov dword [rsp + 0x6c], 0x41a00000
lea rdx, [rsp + 0x68]
lea rcx, str.EXIT
call fcn.14003c720
test al, al
jne 0x14004fb38
lea rcx, str.Sensitivity__FOV
call fcn.14003bd00
mov dword [rbp + 0x30], 0x3f800000
mov dword [rbp + 0x38], 0x3a83126f
lea rax, str._.2f
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
lea r8, [0x1400600c0]
mov edx, 8
lea rcx, str.Sensitivity
call fcn.14003f7c0
mov dword [rbp + 0x38], 0x5a
mov dword [rbp + 0x30], 0x41
lea rax, [0x140052c14]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
lea r8, [0x1400600c4]
mov edx, 4
lea rcx, str.FOV
call fcn.14003f7c0
mov rcx, rdi
cmp qword [0x140060290], 0xf
cmova rcx, qword [0x140060278]
call fcn.14003bd00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140011fa0
lea rcx, [0x1400602e8]
cmp qword [0x140060300], 0xf
cmova rcx, qword [0x1400602e8]
call fcn.14003bd00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140011fa0
mov rcx, rbx
cmp qword [0x1400602b0], 0xf
cmova rcx, qword [0x140060298]
call fcn.14003bd00
call fcn.1400111f0
call fcn.14000a320
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], r15d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004f89a
call fcn.14000a840
mov rax, qword [0x1400609d0]
mov rcx, qword [rax + 0x1f40]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r15
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140037440
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [rsi + 8], 0x400
je 0x14004f973
call fcn.14001ac30
mov rbx, qword [0x1400609d0]
mov eax, dword [rbx + 0x1640]
cmp eax, 1
jle 0x14004f90f
mov esi, 8
mov rax, qword [rbx + 0x1648]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004f8fd
mov rax, qword [rbx + 0x15d8]
test rax, rax
je 0x14004f8ea
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1620]
test rax, rax
je 0x14004f8fd
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x1640]
cmp r14d, eax
jl 0x14004f8c3
mov r14d, 1
cmp eax, r14d
jle 0x14004f970
mov esi, 8
nop
mov rax, qword [rbx + 0x1648]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004f95a
mov rax, qword [rbx + 0x15e0]
test rax, rax
je 0x14004f947
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1628]
test rax, rax
je 0x14004f95a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1640]
jl 0x14004f920
mov r14d, 1
xor r15d, r15d
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
mov rsi, qword [rsp + 0x70]
jne 0x14004ee10
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004ee10
call fcn.140037d00
mov rcx, qword [0x140060aa0]
mov rax, qword [rcx]
lea rdx, [0x140060ab0]
call qword [rax + 0x80]
call fcn.140037c50
jmp 0x14004ee10
mov rbx, qword [0x1400609d0]
test rbx, rbx
je 0x14004f9f3
mov rdi, qword [rbx + 0xf8]
jmp 0x14004f9f6
mov rdi, r15
call fcn.14001b210
call fcn.140037d00
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004fa0e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0xe8], r15
mov qword [rbx + 0xf8], r15
mov rax, qword [0x1400609d0]
test rax, rax
je 0x14004fa2e
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400609d0]
test rbx, rbx
je 0x14004fa4c
mov rdi, qword [rbx + 0xf0]
jmp 0x14004fa4f
mov rdi, r15
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]
call fcn.14001b210
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14004fa7b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0xe0], r15
mov qword [rbx + 0xf0], r15
mov rax, qword [0x1400609d0]
test rax, rax
je 0x14004fa9b
dec dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400609d0]
mov rcx, rbx
call fcn.140009160
cmp qword [0x1400609d0], rbx
jne 0x14004fac3
mov qword [0x1400609d0], r15
test rbx, rbx
je 0x14004faeb
mov rcx, rbx
call fcn.1400258c0
mov rax, qword [0x1400609d0]
test rax, rax
je 0x14004fae2
dec dword [rax + 0x3ac]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140060aa0]
test rcx, rcx
je 0x14004fb04
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140060aa0], r15
mov rcx, qword [0x140060a98]
test rcx, rcx
je 0x14004fb1d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140060a98], r15
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x14004fb8e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x140060a98]
mov rdx, qword [0x140060aa0]
test rdx, rdx
je 0x14004fb6b
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [0x140060aa0], r15
mov rcx, qword [0x140060a98]
test rcx, rcx
je 0x14004fb7d
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x140060a98], r15
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, r14d
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.14004fe60
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret