Function at 0x140057be0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14006c010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rax, qword [0x14006c940]
test rax, rax
je 0x140057c34
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140057c34
mov byte [rcx + 0x2e], 1
mov ebx, 8
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.14003a2d0
test eax, eax
je 0x140057cba
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14006ca08], eax
jle 0x140057c93
lea rcx, [0x14006ca08]
call fcn.1400588fc
cmp dword [0x14006ca08], 0xffffffff
jne 0x140057c93
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14006ca18], rax
lea rcx, [0x14006ca08]
call fcn.140058890
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x14006ca18]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140057cba
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140057d3f
mov edx, 3
lea ecx, [rdx + 3]
call fcn.14003a2d0
test eax, eax
je 0x140057d39
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14006ca10], eax
jle 0x140057d17
lea rcx, [0x14006ca10]
call fcn.1400588fc
cmp dword [0x14006ca10], 0xffffffff
jne 0x140057d17
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14006c9f8], rax
lea rcx, [0x14006ca10]
call fcn.140058890
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x14006c9f8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140057d39
mov ecx, 2
call rax
jmp 0x140057d3f
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp - 0x50], 0x50
mov dword [rbp - 0x4c], 0x40
lea rax, [0x140057ab0]
mov qword [rbp - 0x48], rax
xor edi, edi
mov qword [rbp - 0x40], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm1
lea rbx, str.Kopacz_jablek3000
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rdi
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rdi
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x14], rdi
mov qword [rbp + 0x28], 2
mov qword [rbp + 0x40], 2
mov qword [rbp], rdi
mov dword [rbp + 0x10], 0x1c
mov dword [rbp + 8], 0x3c
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x24], 0x20
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x1c], 1
mov qword [rbp + 0x38], 1
mov dword [rsp + 0x70], 0xb000
mov dword [rsp + 0x74], 0xa000
lea rax, [0x14006c970]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [0x14006c958]
mov qword [rsp + 0x48], rax
lea rax, [0x14006c978]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140057eb0
call fcn.140057a30
jmp 0x1400587d7
call fcn.1400579c0
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x14006c940]
test r13, r13
je 0x140057edc
inc dword [r13 + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140057f0b
xor edx, edx
mov rcx, rax
call fcn.140001320
jmp 0x140057f0e
mov rax, rdi
mov qword [0x14006c940], rax
call fcn.140008e40
test r13, r13
je 0x140057f28
mov qword [0x14006c940], r13
jmp 0x140057f2f
mov r13, qword [0x14006c940]
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.14002da10
mov rax, qword [0x14006c940]
test dword [r13 + 8], 0x400
je 0x140057f63
mov dword [rax + 0x3918], 0x40800000
mov dword [rax + 0x39fc], 0x3f800000
mov edx, 2
mov rcx, r15
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], rcx
mov dword [rbp + 0x128], 0x28
lea rdx, [rbp + 0x128]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x138]
sub eax, dword [rbp + 0x130]
cmp eax, 0x438
jle 0x140058028
xorps xmm0, xmm0
xor eax, eax
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
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x18], 3
mov dword [rbp + 0x1c], 1
mov dword [rbp + 0x44], 0x7f7fffff
mov dword [rbp + 0x50], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x54], ax
mov dword [rbp + 0x14], 0x41d00000
lea rdx, [rbp]
mov rcx, qword [0x14006c940]
mov rcx, qword [rcx + 0x50]
call fcn.140032370
mov rax, qword [0x14006c940]
mov qword [rax + 0x20], rdi
xor edx, edx
mov rcx, qword [r13 + 0x50]
call fcn.140032370
mov rcx, r15
call fcn.1400383d0
mov r14, qword [0x14006c970]
mov rsi, qword [0x14006c958]
mov rdi, qword [0x14006c940]
test rdi, rdi
je 0x140058066
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
xor r15d, r15d
test rax, rax
je 0x1400580aa
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 0x1400580ad
mov rbx, r15
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x70], r15
mov rax, qword [rsi]
lea r8, [rsp + 0x78]
lea rdx, [0x140060cf8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140058133
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp - 0x80]
lea rdx, [0x140060d08]
call qword [rax + 0x30]
test eax, eax
jne 0x140058133
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x140060d28]
call qword [rax + 0x30]
test eax, eax
jne 0x140058133
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140058143
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140058152
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]
test dword [rdi + 8], 0x400
je 0x1400581bb
mov rax, qword [0x14006c940]
lea rcx, [0x140038030]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x140038180]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x140038210]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140038300]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x1400383b0]
mov qword [rax + 0x38c0], rcx
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x80], r15d
mov dword [rsp + 0x78], r15d
lea r8, [0x14005ba5c]
lea rdx, str.C:_Users_123_Desktop_ImGui_Standalone_main_Source_MyImage01.jpg
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x1400581ed
mov rbx, r15
mov qword [rbp - 0x78], rbx
jmp 0x1400581f1
mov rbx, qword [rbp - 0x78]
test rbx, rbx
jne 0x140058217
mov edx, 0x28
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.cant_fopen
mov qword [rdx + rcx], rax
jmp 0x140058348
mov r8, rbx
lea rcx, [rbp]
call fcn.140047050
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.140047a00
mov rdi, rax
mov rcx, rbx
test rax, rax
je 0x140058342
mov edx, dword [rbp + 0xc0]
sub edx, dword [rbp + 0xc8]
mov esi, 1
mov r8d, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbp + 0xf4], rsi
mov qword [rbp + 0x104], 0
mov ecx, dword [rbp - 0x80]
mov dword [rbp + 0xe0], ecx
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0xe4], eax
mov dword [rbp + 0xe8], esi
mov dword [rbp + 0xec], esi
mov dword [rbp + 0xf0], 0x1c
mov dword [rbp + 0xfc], r15d
mov dword [rbp + 0x100], 8
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x68], rdi
lea eax, [rcx*4]
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], r15d
mov rcx, qword [0x14006c958]
mov rax, qword [rcx]
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0xe0]
call qword [rax + 0x28]
mov qword [rbp + 0x120], r15
mov dword [rbp + 0x110], 0x1c
mov qword [rbp + 0x114], 4
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0x11c], eax
mov rcx, qword [0x14006c958]
mov rax, qword [rcx]
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x110]
mov rdx, qword [rsp + 0x70]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14005834d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, 1
xor r12b, r12b
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400583aa
nop word [rax + rax]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx r12d, r12b
cmp dword [rbp + 8], 0x12
cmove r12d, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140058370
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400586a1
test r12b, r12b
jne 0x1400586a1
mov rax, qword [0x14006c940]
test rax, rax
je 0x1400583db
mov rcx, qword [rax + 0xa0]
jmp 0x1400583de
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x1400583ea
call fcn.140037b10
call fcn.140039240
call fcn.140007c70
cmp byte [0x14006c048], 1
jne 0x14005852a
mov rcx, qword [0x14006c940]
mov eax, dword [rcx + 0x40f0]
or eax, 2
mov dword [rcx + 0x40f0], eax
movsd xmm0, qword [0x14006c050]
movsd qword [rcx + 0x4114], xmm0
mov dword [rcx + 0x4150], 0x3f800000
or eax, 0x42
mov dword [rcx + 0x40f0], eax
mov dword [rcx + 0x4114], 0x44160000
mov dword [rcx + 0x4118], 0x43c80000
mov dword [rcx + 0x40f8], esi
mov r8d, dword [0x14006c930]
lea rdx, [0x14006c048]
lea rcx, str.Kopaczov
call fcn.14000e2c0
lea rcx, str.BIND_NA_ODPALANIE_WYLACZENIE_SKRYPTU:_F6
call fcn.14003cba0
lea rcx, str.NOZYCZKI_1_SLOT
call fcn.14003cba0
lea rcx, str.LISCIE_2_SLOT
call fcn.14003cba0
lea rcx, str.Jesli_skrypt_nie_dziala_w_minecrafcie__to_odpal_go_za_pomoca_administratora
call fcn.14003cba0
mov rax, qword [0x14006c940]
mov rax, qword [rax + 0x3fe0]
cmp byte [rax + 0xd0], 0
jne 0x1400584c7
mov eax, dword [rax + 0x1d4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.14003ed90
lea rdx, [0x14006c9aa]
call fcn.14003e700
mov ecx, 0x75
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005850e
cmp byte [0x14006c934], 0
sete al
mov byte [0x14006c934], al
cmp byte [0x14006c9a9], 0
sete byte [0x14006c9a9]
test al, al
jne 0x140058519
mov dword [0x14006c9ac], r15d
jmp 0x140058515
movzx eax, byte [0x14006c934]
test al, al
je 0x140058525
lea rcx, [0x14006c9a0]
call fcn.1400451c0
call fcn.140011020
call fcn.14000a820
call fcn.14000ad30
movaps xmm0, xmmword [0x140062070]
movups xmmword [rbp + 0x150], xmm0
mov rcx, qword [0x14006c970]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14006c960]
mov edx, esi
call qword [rax + 0x108]
mov rcx, qword [0x14006c970]
mov rax, qword [rcx]
lea r8, [rbp + 0x150]
mov rdx, qword [0x14006c960]
call qword [rax + 0x190]
mov rax, qword [0x14006c940]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r15
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140036e90
test dword [r13 + 8], 0x400
je 0x140058682
call fcn.14001b050
mov rbx, qword [0x14006c940]
mov r14d, esi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140058621
mov esi, 8
nop
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005860a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x1400585f7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14005860a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x38d8]
cmp r14d, eax
jl 0x1400585d0
mov esi, 1
mov r14d, esi
cmp eax, 1
jle 0x14005867f
mov esi, 8
nop
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005866a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140058657
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14005866a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140058630
mov esi, 1
xor r15d, r15d
mov rcx, qword [0x14006c978]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, esi
call qword [rax + 0x40]
cmp byte [0x14006c048], 1
je 0x140058350
mov rdi, qword [0x14006c940]
test rdi, rdi
je 0x1400586b6
mov rbx, qword [rdi + 0xa0]
jmp 0x1400586b9
mov rbx, r15
call fcn.14001b650
call fcn.140037f10
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400586d2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400586e0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400586ef
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r15
mov qword [rdi + 0xa0], r15
mov rax, qword [0x14006c940]
test rax, rax
je 0x14005870f
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006c940]
test rbx, rbx
je 0x14005872d
mov rdi, qword [rbx + 0x98]
jmp 0x140058730
mov rdi, r15
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]
call fcn.14001b650
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14005875c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x98], r15
mov rax, qword [0x14006c940]
test rax, rax
je 0x14005877c
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006c940]
mov qword [0x14006c940], rbx
call fcn.1400091a0
mov qword [0x14006c940], r15
test rbx, rbx
je 0x1400587c7
mov rcx, rbx
call fcn.140026420
mov rax, qword [0x14006c940]
test rax, rax
je 0x1400587be
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140057a30
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140058870
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret