Function at 0x14004f570
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 [0x140072040]
xor rax, rsp
mov qword [rbp + 0x138], rax
lea rdx, [0x140098e68]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14004f5c9
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r14d, r14d
mov qword [0x140098eec], r14
mov qword [0x140098ef8], 1
mov qword [0x140098f14], r14
mov dword [0x140098f08], 1
mov r9, qword [0x140098e60]
mov qword [0x140098f00], r9
mov dword [0x140098ef4], r14d
mov dword [0x140098ee8], 0x15
mov eax, dword [0x140098f8c]
mov dword [0x140098ee0], eax
mov eax, dword [0x140098f88]
mov dword [0x140098ee4], eax
mov dword [0x140098f0c], 1
mov dword [0x140098f10], 0x50
mov dword [0x140098f1c], r14d
mov rcx, qword [0x140098e68]
mov rax, qword [rcx]
lea rdx, [0x140098f58]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
lea rdx, [0x140098ee0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x14004f69b
mov rcx, qword [0x140098e68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [0x140098dd0]
test rdi, rdi
je 0x14004f6ad
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 0x14004f6e1
xor edx, edx
mov rcx, rax
call fcn.140005610
jmp 0x14004f6e4
mov rax, r14
mov qword [0x140098dd0], rax
call fcn.140009750
test rdi, rdi
je 0x14004f6fe
mov qword [0x140098dd0], rdi
jmp 0x14004f705
mov rdi, qword [0x140098dd0]
mov rsi, qword [0x140098e60]
lea rcx, [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004f86d
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004f86d
mov rax, qword [0x140098dd0]
test rax, rax
je 0x14004f748
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 0x14004f775
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 0x14004f778
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 [0x140098dd0]
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 0x14004f841
inc rdi
cmp rdi, 5
jl 0x14004f820
jmp 0x14004f86d
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 [0x140098f58]
mov rbx, qword [0x140098dd0]
test rbx, rbx
je 0x14004f886
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 0x14004f8b5
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 0x14004f8b8
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 + 8]
xor ecx, ecx
call fcn.140027d20
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 [0x140098dd0]
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, [0x140067de0]
mov qword [rbp + 0x18], rsi
mov qword [rsp + 0x20], r14
xor r9d, r9d
movss xmm6, dword [0x1400680c0]
movaps xmm2, xmm6
lea rdx, str.C:WindowsFontsImpact.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d1a0
mov qword [0x140098f30], 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.14002d1a0
mov qword [0x140098e50], 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.14002d1a0
mov qword [0x140098e58], 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.14002d1a0
mov qword [0x140098f28], 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.14002d1a0
mov qword [0x140098f48], 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.14002d1a0
mov qword [0x140098f20], 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.14002d1a0
mov qword [0x140098e90], 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, [0x14008ded0]
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.14002ced0
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, [0x140072100]
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.14002ced0
mov qword [0x140098f50], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
movss xmm2, dword [0x1400680f0]
lea rdx, str.C:Minecraft.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d1a0
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
movss xmm6, dword [0x1400680c8]
movaps xmm2, xmm6
lea rdx, str.C:WindowsFonts_tahoma.ttf
mov rcx, qword [rbx + 0x58]
call fcn.14002d1a0
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, [0x14008d5d0]
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.14002ced0
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.14002d1a0
mov qword [0x140098ed8], rax
mov rcx, qword [0x140098e68]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.14005d350
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