Function at 0x140057220
Capabilities:
Execute command
Log keystrokes via polling
Terminate process

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14011e080]
xor rax, rsp
mov qword [rbp + 0x10], rax
lea rax, [0x140057df0]
mov dword [rbp - 0x70], 0x50
xor r12d, r12d
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x6c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x28], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm0
lea rbx, str._first
movdqa xmmword [rbp - 0x40], xmm1
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x30], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x58]
mov r9d, 0x80000000
mov rdx, qword [rbp - 0x30]
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 [0x14011f298], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x14011f290], rax
mov rcx, rax
test rax, rax
je 0x140057d99
lea rdx, [0x14011f248]
mov qword [0x14011f250], r12
mov qword [rsp + 0x30], rdx
mov r9, rbx
lea rdx, [0x14011f250]
mov qword [0x14011f25c], r12
mov qword [rsp + 0x28], rdx
mov r8d, 1
mov dword [0x14011f264], r12d
xor edx, edx
mov qword [0x14011f26c], r12
mov dword [0x14011f274], r12d
mov qword [0x14011f284], r12
mov dword [0x14011f278], 1
mov dword [0x14011f268], 1
mov dword [0x14011f258], r12d
mov dword [0x14011f27c], 1
mov dword [0x14011f280], 0x50
mov dword [0x14011f28c], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x140057d92
mov rcx, qword [0x14011f298]
xor edx, edx
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x170], r13
mov qword [rsp + 0x138], r14
mov qword [rsp + 0x130], r15
movaps xmmword [rsp + 0x120], xmm6
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14011f298]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x14011f230]
test rax, rax
je 0x140057400
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 0x14005741c
xor edx, edx
mov rcx, rax
call fcn.140009ff0
jmp 0x14005741f
mov rax, r12
cmp qword [0x14011f230], r12
jne 0x14005742f
mov qword [0x14011f230], rax
mov rcx, rax
call fcn.140011340
mov rax, qword [0x14011f230]
test rax, rax
jne 0x140057464
mov r8d, 0xda0
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [0x14011f230]
or dword [rax + 8], 0x400
lea r13, [rax + 8]
mov qword [r13 + 0x18], r12
test rax, rax
jne 0x140057499
mov r8d, 0x997
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [0x14011f230]
test dword [r13], 0x400
je 0x1400574b4
mov dword [rax + 0x1644], r12d
mov dword [rax + 0x1728], 0x3f800000
mov rdi, qword [0x14011f298]
lea rcx, [0x14011f648]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400576b3
lea rcx, [0x14011f640]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400576b3
mov rbx, qword [0x14011f230]
test rbx, rbx
jne 0x140057512
mov r8d, 0xda0
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [0x14011f230]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x14011f638], rdi
cmp dword [rbx + 0x1ef0], r12d
jg 0x140057558
mov r8d, 0x6c7
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [0x14011f638]
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 0x140057578
call fcn.140048250
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
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14005767e
inc rbx
cmp rbx, 5
jl 0x140057660
jmp 0x1400576b3
lea rdx, str.XInputGetCapabilities
mov qword [0x14011f620], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x14011f628], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14011f630], rax
mov rbx, qword [0x14011f230]
mov rdi, qword [0x14011f248]
test rbx, rbx
jne 0x1400576e7
mov r8d, 0xda0
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [0x14011f230]
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 [0x14011f610], rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x140057788
mov rax, qword [0x14011f230]
test rax, rax
jne 0x140057742
mov r8d, 0xda6
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [0x14011f230]
lea rcx, [fcn.140046280]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.1400463c0]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x140046460]
mov qword [rax + 0x1600], rcx
lea rcx, [0x1400464e0]
mov qword [rax + 0x1608], rcx
lea rcx, [0x140046630]
mov qword [rax + 0x1610], rcx
cmp word [0x14011f660], r12w
mov rcx, qword [r13 + 0xa0]
jne 0x1400577e4
movups xmm0, xmmword [0x14011e128]
lea rdx, [0x14011f670]
mov r8d, 0x4e00
lea r9, [0x140109310]
mov r10d, 0xbb7
movaps xmmword [0x14011f660], xmm0
movsx eax, word [r9]
lea rdx, [rdx + 4]
add r8d, eax
lea r9, [r9 + 2]
mov word [rdx - 2], r8w
mov word [rdx - 4], r8w
sub r10, 1
jne 0x1400577c1
mov word [rdx], r12w
movss xmm2, dword [0x14010c2fc]
lea rax, [0x14011f660]
mov qword [rsp + 0x20], rax
call fcn.14003f8d0
call fcn.140002500
movss xmm6, dword [0x14010c290]
lea rdi, str..kdstinker
xorps xmm0, xmm0
lea rsi, str..NiGgEr
movups xmmword [rbp - 0x20], xmm0
mov r15d, reloc.WS2_32.dll_select
lea r14, str..KsDumper
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
nop dword [rax]
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x20]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140057877
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140057bf4
cmp qword [0x14011f600], r12
jne 0x140057885
call fcn.140045fe0
call fcn.140046cc0
call fcn.1400101a0
cmp byte [0x140122682], r12b
jne 0x1400578be
cmp byte [0x140122680], r12b
jne 0x1400578be
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400578be
cmp byte [0x140122686], r12b
sete byte [0x140122686]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140057d89
call fcn.140007c60
cmp byte [0x140122682], r12b
je 0x1400578e4
call fcn.140006940
cmp byte [0x140122686], r12b
je 0x140057906
call fcn.140006d30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.1400129f0
mov rcx, qword [0x14011f248]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x14011f248]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400579ac
call fcn.140012ef0
mov rbx, qword [0x14011f230]
cmp dword [rbx + 0x1ef0], r12d
jg 0x140057979
mov r8d, 0x6c7
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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.140045760
mov rcx, qword [0x14011f248]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13], 0x400
je 0x140057b00
call fcn.140025260
mov r14, qword [0x14011f230]
test r14, r14
jne 0x1400579ec
mov r8d, 0xda6
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 r14, qword [0x14011f230]
mov eax, dword [r14 + 0x1628]
mov esi, 1
mov edi, esi
cmp eax, esi
jle 0x140057a6d
nop
test rdi, rdi
js 0x140057a09
cmp esi, eax
jl 0x140057a23
mov r8d, 0x6c7
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [r14 + 0x1630]
mov rbx, qword [rax + rdi*8]
test dword [rbx + 4], 0x400
jne 0x140057a5d
mov rax, qword [r14 + 0x15c0]
test rax, rax
je 0x140057a4a
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [r14 + 0x1608]
test rax, rax
je 0x140057a5d
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [r14 + 0x1628]
inc esi
inc rdi
cmp esi, eax
jl 0x140057a00
mov esi, 1
mov edi, esi
cmp eax, esi
jle 0x140057ae5
test rdi, rdi
js 0x140057a81
cmp esi, eax
jl 0x140057a9b
mov r8d, 0x6c7
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterimguiimgui.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 [r14 + 0x1630]
mov rbx, qword [rax + rdi*8]
test dword [rbx + 4], 0x400
jne 0x140057ad5
mov rax, qword [r14 + 0x15c8]
test rax, rax
je 0x140057ac2
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [r14 + 0x1610]
test rax, rax
je 0x140057ad5
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [r14 + 0x1628]
inc esi
inc rdi
cmp esi, eax
jl 0x140057a78
mov r15d, reloc.WS2_32.dll_select
lea r14, str..KsDumper
lea rsi, str..NiGgEr
lea rdi, str..kdstinker
mov rcx, qword [0x14011f248]
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 0x140057b7a
mov rcx, qword [0x14011f248]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140057b7a
call fcn.1400460f0
mov rcx, qword [0x14011f248]
lea rdx, [0x14011f250]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x140057b75
mov r8d, 0x49
lea rdx, str.C:UserslnDownloadsImGui_Loader_Base_masterMain.h
lea rcx, [0x140101828]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140045fe0
mov eax, dword [rbp - 0x18]
mov rbx, r12
cmp byte [0x140122681], r12b
mov qword [rsp + 0x60], rdi
cmove eax, r15d
mov qword [rsp + 0x68], rsi
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x70], r14
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov r8d, 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x140057d6b
inc rbx
cmp rbx, 3
jl 0x140057ba0
call fcn.1400565f0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140057d89
cmp dword [rbp - 0x18], 0x12
jne 0x140057840
call fcn.140025a90
call fcn.1400460f0
mov rcx, qword [0x14011f610]
test rcx, rcx
je 0x140057c21
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011f610], 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 [0x14011f620]
test rcx, rcx
je 0x140057c4b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x14011f230]
mov rcx, rbx
mov qword [0x14011f620], r12
mov qword [0x14011f628], r12
mov qword [0x14011f630], r12
mov qword [0x14011f638], r12
mov qword [0x14011f640], r12
mov qword [0x14011f648], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x14011f562], r12b
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.1400116e0
cmp qword [0x14011f230], rbx
jne 0x140057cac
mov qword [0x14011f230], r12
test rbx, rbx
je 0x140057cd4
mov rcx, rbx
call fcn.140032680
mov rax, qword [0x14011f230]
test rax, rax
je 0x140057ccb
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14011f248]
test rcx, rcx
je 0x140057ced
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011f248], r12
mov rcx, qword [0x14011f290]
test rcx, rcx
je 0x140057d06
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x14011f290], r12
mov rcx, qword [0x14011f298]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov r15, qword [rsp + 0x130]
xor eax, eax
mov r14, qword [rsp + 0x138]
mov r13, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x120]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b8cf0
add rsp, 0x140
pop r12
pop rbx
pop rbp
ret
lea rcx, str.start_cmd__c_START_CMD__C__COLOR_C__TITLE_Protection__ECHO_KsDumper_Detected.__TIMEOUT_10__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140056590
mov ecx, 0x9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x14011f290]
mov rdx, qword [0x14011f248]
test rdx, rdx
je 0x140057dbc
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14011f290]
mov qword [0x14011f248], r12
test rcx, rcx
je 0x140057dce
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x14011f290], r12
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
jmp 0x140057d53