Function at 0x140007360
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rbp + 0x58], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x3c]
cdq
sub eax, edx
sar eax, 1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
subss xmm7, dword [0x140044458]
mov eax, dword [rbp + 0x38]
cdq
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
subss xmm6, dword [0x140044474]
mov dword [rbp - 0x30], 0x50
mov dword [rbp - 0x2c], 0x40
lea rax, [0x140007d20]
mov qword [rbp - 0x28], rax
xor r15d, r15d
mov qword [rbp - 0x20], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rcx, str.ImGui_Example
mov qword [rbp + 0x10], rcx
lea edx, [r15 + 0x68]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 0x10], rax
lea edx, [r15 + 0x69]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 0x2000
call fcn.14003a860
mov rbx, rax
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], rax
lea r9d, [r15 - 1]
lea r8, str.Client
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cvttss2si edx, xmm7
cvttss2si r8d, xmm6
mov qword [rsp + 0x58], r15
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x82
mov dword [rsp + 0x30], 0x2ee
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r9d, 0xc80000
mov r8, rbx
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rbp - 0x6c], r15
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], 1
mov qword [rbp - 0x48], 1
mov dword [rbp + 0x40], 0xb000
mov dword [rbp + 0x44], 0xa000
lea rax, [0x140070b88]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [0x140070b80]
mov qword [rsp + 0x48], rax
lea rax, [0x140070b78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x1400075ce
call fcn.140007c30
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea eax, [r15 + 1]
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14003a0c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140007cb0
mov edx, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140070af8]
test rbx, rbx
je 0x1400075fc
inc dword [rbx + 0xf4]
mov ecx, 0x5dd0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x48], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000762a
xor edx, edx
mov rcx, rax
call fcn.140010260
jmp 0x14000762d
mov rax, r15
mov qword [0x140070af8], rax
call fcn.140013870
mov rcx, qword [0x140070af8]
test rbx, rbx
cmovne rcx, rbx
mov qword [0x140070af8], rcx
mov rcx, qword [rcx + 0x58]
call fcn.140032000
mov rax, qword [0x140070af8]
mov dword [rbp + 0x48], 0x18
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x140044448]
mov r8d, 0x18
lea rdx, [0x14005afe0]
mov rcx, qword [rax + 0x58]
call fcn.140032170
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x20]
lea rcx, [0x140070b40]
call fcn.14000a7b0
mov rax, qword [0x140070af8]
mov dword [rbp + 0x48], 0x48
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x14004445c]
mov r8d, 0x48
lea rdx, [0x14004f060]
mov rcx, qword [rax + 0x58]
call fcn.140032170
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x20]
lea rcx, [0x140070b30]
call fcn.14000a7b0
xor ecx, ecx
call fcn.14002dec0
mov rbx, qword [0x140070af8]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000783a
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000783a
mov rax, qword [0x140070af8]
test rax, rax
je 0x140007737
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140007764
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x140007767
mov rdi, r15
mov qword [rbx + 0x98], rdi
lea rax, [0x140043348]
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov rax, qword [rbp + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x140070af8]
mov rcx, qword [rax + 0x4878]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
mov byte [rdi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x68], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x60], rax
mov rbx, r15
nop dword [rax]
mov rcx, qword [rbp + rbx*8 - 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14000780e
inc rbx
cmp rbx, 5
jl 0x1400077f0
jmp 0x14000783a
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov r14, qword [0x140070b88]
mov rsi, qword [0x140070b80]
mov rdi, qword [0x140070af8]
test rdi, rdi
je 0x14000785a
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000789b
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x14000789e
mov rbx, r15
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 8
mov qword [rsp + 0x70], r15
mov qword [rbp + 0x40], r15
mov qword [rsp + 0x68], r15
mov rax, qword [rsi]
lea r8, [rsp + 0x70]
lea rdx, [0x140043318]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140007921
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
lea rdx, [0x140043328]
call qword [rax + 0x30]
test eax, eax
jne 0x140007921
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x140043338]
call qword [rax + 0x30]
test eax, eax
jne 0x140007921
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140007931
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140007940
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400079bc
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x78], 0x12
je 0x140007ad3
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140007980
mov rax, qword [0x140070af8]
test rax, rax
je 0x1400079d1
mov rcx, qword [rax + 0xa0]
jmp 0x1400079d4
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x1400079e0
call fcn.14000e020
call fcn.14000ed00
call fcn.140015080
mov rax, qword [0x140070af8]
mov qword [rax + 0x4788], r15
mov qword [rax + 0x4790], r15
mov dword [rax + 0x477c], 1
or dword [rax + 0x4778], 3
mov dword [rax + 0x4798], 0x443b8000
mov dword [rax + 0x479c], 0x42c40000
mov dword [rax + 0x4780], 1
mov edx, 1
lea r8d, [rdx + 6]
lea rcx, str.HELLO
call fcn.140019f80
call fcn.140007190
call fcn.14001c3e0
call fcn.1400170a0
movaps xmm0, xmmword [0x140044780]
movups xmmword [rbp + 0x48], xmm0
mov rcx, qword [0x140070b88]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140070b70]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x140070b88]
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
mov rdx, qword [0x140070b70]
call qword [rax + 0x190]
mov rax, qword [0x140070af8]
mov rcx, qword [rax + 0x4878]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.14000d3a0
mov rcx, qword [0x140070b78]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
jmp 0x140007960
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3