Function at 0x14004f610
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140146040]
xor rax, rsp
mov qword [rbp + 0x138], rax
lea rdx, [0x14016e638]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14004f669
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r14d, r14d
mov qword [0x14016e6ac], r14
mov qword [0x14016e6b8], 1
mov qword [0x14016e6d4], r14
mov dword [0x14016e6c8], 1
mov r9, qword [0x14016e630]
mov qword [0x14016e6c0], r9
mov dword [0x14016e6b4], r14d
mov dword [0x14016e6a8], 0x15
mov eax, dword [0x14016fadc]
mov dword [0x14016e6a0], eax
mov eax, dword [0x14016fad8]
mov dword [0x14016e6a4], eax
mov dword [0x14016e6cc], 1
mov dword [0x14016e6d0], 0x50
mov dword [0x14016e6dc], r14d
mov rcx, qword [0x14016e638]
mov rax, qword [rcx]
lea rdx, [0x14016e720]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
lea rdx, [0x14016e6a0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x14004f73b
mov rcx, qword [0x14016e638]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [0x14016e5a0]
test rdi, rdi
je 0x14004f74d
inc dword [rdi + 0xf4]
mov ecx, 0x5e20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x130], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0x128], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14004f781
xor edx, edx
mov rcx, rax
call fcn.140005780
jmp 0x14004f784
mov rax, r14
mov qword [0x14016e5a0], rax
call fcn.1400098c0
test rdi, rdi
je 0x14004f79e
mov qword [0x14016e5a0], rdi
jmp 0x14004f7a5
mov rdi, qword [0x14016e5a0]
mov rsi, qword [0x14016e630]
lea rcx, [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004f90d
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004f90d
mov rax, qword [0x14016e5a0]
test rax, rax
je 0x14004f7e8
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14004f815
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
jmp 0x14004f818
mov rbx, r14
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 6
mov qword [rbx], rsi
mov rax, qword [rbp + 0x128]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp + 0x130]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 9
mov rax, qword [0x14016e5a0]
mov rcx, qword [rax + 0x48a0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
mov byte [rbx + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x100], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x108], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x110], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x118], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x120], rax
mov rdi, r14
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp + rdi*8 + 0x100]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14004f8e1
inc rdi
cmp rdi, 5
jl 0x14004f8c0
jmp 0x14004f90d
mov qword [rbx + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
mov rdi, qword [0x14016e720]
mov rbx, qword [0x14016e5a0]
test rbx, rbx
je 0x14004f926
inc dword [rbx + 0xf4]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14004f955
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14004f958
mov rax, r14
mov qword [rbx + 0xa0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x90], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
xor ecx, ecx
call fcn.140027f00
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x24], 0x7f7fffff
mov edi, 0xffff
mov word [rbp + 0x34], di
mov rbx, qword [0x14016e5a0]
mov byte [rbp], al
mov byte [rbp - 0x14], al
mov dword [rbp - 8], 5
mov dword [rbp - 4], 5
mov dword [rbp + 0x30], 0x3f99999a
lea rsi, [0x14012f700]
mov qword [rbp + 0x18], rsi
mov qword [rsp + 0x20], r14
xor r9d, r9d
movss xmm6, dword [0x14012f990]
movaps xmm2, xmm6
lea rdx, str.C:WindowsFontsImpact.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e6f8], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.C:_batmfa_.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e620], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.C:Minecraft.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e628], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.C:SuperMario256.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e6f0], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.C:WindowsFontsBahnschrift.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e710], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.C:WindowsFontsArial.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e6e8], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.C:WindowsFontsVerdana.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e658], rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov word [rbp - 0x5c], di
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm2
movaps xmmword [rbp + 0xe0], xmm2
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0xf0], xmm0
lea rax, [0x140162da0]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x78], 0xa0f8
mov dword [rbp + 0x84], 0x41400000
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x58]
call fcn.14002d0b0
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov word [rbp - 0x5c], di
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm2
movaps xmmword [rbp + 0xe0], xmm2
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0xf0], xmm0
lea rax, [0x140146fd0]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x78], 0x1b44c
mov dword [rbp + 0x84], 0x41400000
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x58]
call fcn.14002d0b0
mov qword [0x14016e718], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movss xmm2, dword [0x14012f9c0]
lea rdx, str.C:Minecraft.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
movss xmm6, dword [0x14012f998]
movaps xmm2, xmm6
lea rdx, str.C:WindowsFonts_tahoma.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [rbp + 0x60]
movsd qword [rbp - 0x30], xmm0
lea rax, [0x1401624a0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8d8
mov dword [rsp + 0x64], 0x41700000
mov qword [rbp - 0x78], rsi
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.14002d0b0
mov qword [rsp + 0x20], r14
xor r9d, r9d
movaps xmm2, xmm6
lea rdx, str.c:WindowsFonts_trebucbd.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d380
mov qword [0x14016e6e0], rax
mov rcx, qword [0x14016e638]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.14005e8a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret