Function at 0x1400524c0
Capabilities:
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400e9080]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rcx, [0x1400ea510]
call fcn.14005fb10
cmp byte [0x1400ea740], 0
jne 0x140052564
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x78]
call fcn.140053120
movzx edx, byte [rax + 0xa]
test dl, dl
je 0x140052539
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor byte [rax + 8], 0x39
xor byte [rax + 9], 0x3a
xor dl, 0x3b
mov byte [rax + 0xa], dl
mov rdx, rax
call fcn.140053250
mov rcx, rax
lea rdx, [0x1400ea748]
call fcn.140053430
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x1d0], rbx
lea rax, [0x140053150]
mov qword [rsp + 0x1d8], rsi
xor ecx, ecx
mov qword [rsp + 0x1b8], r12
xor r12d, r12d
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x60], 0x50
mov dword [rbp - 0x5c], 0x40
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x18], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm0
lea rbx, str.Keyauth___ImGui
movdqa xmmword [rbp - 0x30], xmm1
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x48]
mov r9d, 0x80000000
mov rdx, qword [rbp - 0x20]
mov r8, rbx
mov qword [rsp + 0x58], r12
xor ecx, ecx
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]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov qword [0x1400ea4a0], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x1400ea498], rax
mov rcx, rax
test rax, rax
je 0x1400530a3
lea rdx, [0x1400ea490]
mov qword [0x1400ea450], r12
mov qword [rsp + 0x30], rdx
lea rsi, [0x1400ea450]
mov qword [0x1400ea45c], r12
mov r9, rbx
mov dword [0x1400ea464], r12d
xor edx, edx
mov qword [0x1400ea46c], r12
mov r8d, 1
mov dword [0x1400ea474], r12d
mov qword [0x1400ea484], r12
mov dword [0x1400ea478], 1
mov dword [0x1400ea468], 1
mov dword [0x1400ea458], r12d
mov dword [0x1400ea47c], 1
mov dword [0x1400ea480], 0x50
mov dword [0x1400ea48c], 0x80000000
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x14005309c
mov rcx, qword [0x1400ea4a0]
xor edx, edx
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1b0], r13
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x1a0], r15
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
movaps xmmword [rsp + 0x150], xmm10
movaps xmmword [rsp + 0x140], xmm11
movaps xmmword [rsp + 0x130], xmm12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400ea4a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400ea440]
test rax, rax
je 0x14005276a
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 0x140052786
xor edx, edx
mov rcx, rax
call fcn.1400048f0
jmp 0x140052789
mov rax, r12
cmp qword [0x1400ea440], r12
jne 0x140052799
mov qword [0x1400ea440], rax
mov rcx, rax
call fcn.14000bdd0
mov rax, qword [0x1400ea440]
test rax, rax
jne 0x1400527ce
mov r8d, 0xda0
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
or dword [rax + 8], 0x400
lea r13, [rax + 8]
mov qword [r13 + 0x18], r12
test rax, rax
jne 0x140052803
mov r8d, 0x997
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
test dword [r13], 0x400
je 0x14005281e
mov dword [rax + 0x1644], r12d
mov dword [rax + 0x1728], 0x3f800000
mov rdi, qword [0x1400ea4a0]
lea rcx, [0x1400eab88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140052a23
lea rcx, [0x1400eab80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140052a23
mov rbx, qword [0x1400ea440]
test rbx, rbx
jne 0x14005287c
mov r8d, 0xda0
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x1400eab78], rdi
cmp dword [rbx + 0x1ef0], r12d
jg 0x1400528c2
mov r8d, 0x6c7
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400eab78]
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 0x1400528e2
call fcn.1400424d0
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 dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400529ee
inc rbx
cmp rbx, 5
jl 0x1400529d0
jmp 0x140052a23
lea rdx, str.XInputGetCapabilities
mov qword [0x1400eab60], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x1400eab68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400eab70], rax
mov rbx, qword [0x1400ea440]
mov rdi, qword [0x1400ea490]
test rbx, rbx
jne 0x140052a57
mov r8d, 0xda0
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
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 [0x1400eab50], rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x140052af8
mov rax, qword [0x1400ea440]
test rax, rax
jne 0x140052ab2
mov r8d, 0xda6
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
lea rcx, [fcn.140040500]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.140040640]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x1400406e0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x140040760]
mov qword [rax + 0x1608], rcx
lea rcx, [0x1400408b0]
mov qword [rax + 0x1610], rcx
movdqa xmm10, xmmword [0x1400d9390]
xorps xmm0, xmm0
movdqa xmm9, xmmword [0x1400d9360]
xorps xmm11, xmm11
movdqa xmm12, xmmword [0x1400d9260]
movdqa xmm8, xmmword [0x1400d9280]
movss xmm6, dword [0x1400d8ee0]
movss xmm7, dword [0x1400d8f24]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140052b77
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140052f05
cmp qword [0x1400eab40], r12
jne 0x140052b85
call fcn.140040260
call fcn.140040f40
call fcn.14000ac10
cmp dword [0x1400eab98], r12d
jne 0x140052c8e
xor ecx, ecx
call fcn.140034fc0
mov rax, qword [0x1400ea440]
test rax, rax
jne 0x140052bd0
mov r8d, 0x997
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
movups xmmword [rax + 0x179c], xmm8
movups xmmword [rax + 0x17ac], xmm8
movups xmmword [rax + 0x17bc], xmm8
movups xmmword [rax + 0x171c], xmm12
movups xmmword [rax + 0x190c], xmm9
movups xmmword [rax + 0x192c], xmm10
movups xmmword [rax + 0x191c], xmm9
movups xmmword [rax + 0x184c], xmm10
movss xmm0, dword [0x1400e9110]
ucomiss xmm0, xmm11
jp 0x140052c82
jne 0x140052c82
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm0, dword [rbp - 0x70]
movd xmm1, dword [rbp - 0x6c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [0x1400e9108], xmm0
subss xmm0, dword [0x1400e9118]
movss dword [0x1400e910c], xmm1
subss xmm1, dword [0x1400e911c]
mulss xmm0, xmm6
mulss xmm1, xmm6
movss dword [0x1400e9110], xmm0
movss dword [0x1400e9114], xmm1
mov dword [0x1400eab98], 1
jmp 0x140052c93
call fcn.140003240
call fcn.14000d480
mov rcx, qword [0x1400ea490]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm7
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400ea490]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140052d39
call fcn.14000d980
mov rbx, qword [0x1400ea440]
cmp dword [rbx + 0x1ef0], r12d
jg 0x140052d06
mov r8d, 0x6c7
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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.14003f9e0
mov rcx, qword [0x1400ea490]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13], 0x400
je 0x140052e86
call fcn.1400200e0
mov rbx, qword [0x1400ea440]
test rbx, rbx
jne 0x140052d79
mov r8d, 0xda6
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 [0x1400ea440]
mov eax, dword [rbx + 0x1628]
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x140052dff
nop dword [rax + rax]
test rsi, rsi
js 0x140052d9a
cmp r14d, eax
jl 0x140052db4
mov r8d, 0x6c7
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 rdi, qword [rax + rsi*8]
test dword [rdi + 4], 0x400
jne 0x140052dee
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x140052ddb
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x140052dee
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x140052d90
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x140052e7f
nop dword [rax + rax]
test rsi, rsi
js 0x140052e1a
cmp r14d, eax
jl 0x140052e34
mov r8d, 0x6c7
lea rdx, str.D:ProjectKeyAuth_ImGui_mainimguiimgui.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 rdi, qword [rax + rsi*8]
test dword [rdi + 4], 0x400
jne 0x140052e6e
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x140052e5b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x140052e6e
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x140052e10
lea rsi, [0x1400ea450]
mov rcx, qword [0x1400ea490]
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 0x140052efc
mov rcx, qword [0x1400ea490]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140052efc
call fcn.140040370
mov rcx, qword [0x1400ea490]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x140052ef7
mov r8d, gethostname
lea rdx, str.D:ProjectKeyAuth_ImGui_mainMain.h
lea rcx, [0x1400cb6d8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140040260
cmp byte [reloc.WS2_32.dll_accept], r12b
je 0x140052f11
cmp dword [rbp - 8], 0x12
jne 0x140052b40
jmp 0x140052f18
mov dword [rbp - 8], reloc.WS2_32.dll_select
call fcn.140020910
call fcn.140040370
mov rcx, qword [0x1400eab50]
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm10, xmmword [rsp + 0x150]
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
mov r15, qword [rsp + 0x1a0]
mov r14, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1e0]
test rcx, rcx
je 0x140052f98
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400eab50], 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 [0x1400eab60]
test rcx, rcx
je 0x140052fc2
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x1400ea440]
mov rcx, rbx
mov qword [0x1400eab60], r12
mov qword [0x1400eab68], r12
mov qword [0x1400eab70], r12
mov qword [0x1400eab78], r12
mov qword [0x1400eab80], r12
mov qword [0x1400eab88], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x1400ea508], r12b
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.14000c170
cmp qword [0x1400ea440], rbx
jne 0x140053023
mov qword [0x1400ea440], r12
test rbx, rbx
je 0x14005304b
mov rcx, rbx
call fcn.14002d2b0
mov rax, qword [0x1400ea440]
test rax, rax
je 0x140053042
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400ea490]
test rcx, rcx
je 0x140053064
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400ea490], r12
mov rcx, qword [0x1400ea498]
test rcx, rcx
je 0x14005307d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400ea498], r12
mov rcx, qword [0x1400ea4a0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x1400530eb
mov rcx, qword [0x1400ea498]
mov rdx, qword [0x1400ea490]
test rdx, rdx
je 0x1400530c6
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400ea498]
mov qword [0x1400ea490], r12
test rcx, rcx
je 0x1400530d8
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x1400ea498], r12
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rsi, qword [rsp + 0x1d8]
mov rbx, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400b8790
add rsp, 0x1c0
pop rbp
ret