Function at 0x140041380
Capabilities:
Log keystrokes via polling
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x14046bc18]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [0x14038c7b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x208
mov r9d, 0x352
mov r8d, dword [rsp + 0x174]
mov edx, dword [rsp + 0x170]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_MoveWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowScrollBar]
call fcn.140284150
lea rdx, [0x14046d0d0]
lea rcx, [0x1404775a0]
call fcn.14001e380
call fcn.140284150
lea rax, [rsp + 0x148]
mov qword [rsp + 0x70], rax
lea rdx, [0x14038c7b8]
mov rcx, qword [rsp + 0x70]
call fcn.14001fa30
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140284100
call fcn.140284270
lea rdx, str.Bolmax
lea rcx, [0x1404775a0]
call fcn.14001e3d0
lea rdx, str.__banlatmayan_hile.
lea rcx, [0x1404775a0]
call fcn.14001e3d0
call fcn.140284150
lea rdx, [0x14038c800]
lea rcx, [0x1404775a0]
call fcn.14001e3d0
call fcn.140284270
lea rdx, str.2018___2023_n_n
lea rcx, [0x1404775a0]
call fcn.14001e3d0
call fcn.140001a10
call fcn.1402bca90
call fcn.14003ff80
call fcn.14024a920
call fcn.1402dba00
test eax, eax
jne 0x1400414e2
mov eax, 1
jmp 0x140041c68
lea rax, [0x14038c818]
mov qword [rsp + 0x80], rax
call fcn.1402dc420
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14004150a
xor eax, eax
jmp 0x140041c68
mov rcx, qword [rsp + 0x60]
call fcn.1402dc460
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [0x14046d0a8], eax
mov rcx, qword [rsp + 0x60]
call fcn.1402dc460
mov eax, dword [rax + 4]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [0x14046d0ac], eax
mov edx, 1
mov ecx, 0x20007
call fcn.1402daf30
xor edx, edx
mov ecx, 0x20003
call fcn.1402daf30
mov edx, 1
mov ecx, 0x20008
call fcn.1402daf30
mov edx, 1
mov ecx, 0x2000d
call fcn.1402daf30
mov edx, 1
mov ecx, 0x2000a
call fcn.1402daf30
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.Bolmax_Overlay
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
call fcn.1402da5f0
mov qword [0x14046d0c8], rax
cmp qword [0x14046d0c8], 0
jne 0x1400415c2
mov eax, 1
jmp 0x140041c68
xor r8d, r8d
mov edx, 0x20005
mov rcx, qword [0x14046d0c8]
call fcn.1402dadb0
mov rcx, qword [0x14046d0c8]
call fcn.1402dd1d0
mov ecx, 1
call fcn.1402dd2b0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 8
mov r8d, 0x418
mov edx, 0x37b8
lea rcx, [0x14038c838]
call fcn.1400afb70
xor ecx, ecx
call fcn.1400a0350
call fcn.1400a04c0
mov qword [rsp + 0x88], rax
xor ecx, ecx
call fcn.140134a50
mov dl, 1
mov rcx, qword [0x14046d0c8]
call fcn.140172210
mov rcx, qword [rsp + 0x80]
call fcn.140190560
call fcn.1400a04e0
mov qword [rsp + 0x40], rax
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cca4]
movss xmm2, dword [0x14038cc9c]
movss xmm1, dword [0x14038cc98]
lea rcx, [rsp + 0x98]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cc9c]
movss xmm2, dword [0x1403855c4]
movss xmm1, dword [0x14038ccb8]
lea rcx, [rsp + 0xa8]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cc9c]
movss xmm2, dword [0x1403855c4]
movss xmm1, dword [0x14038ccb8]
lea rcx, [rsp + 0xb8]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0x12
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038ccac]
movss xmm2, dword [0x14038cca8]
movss xmm1, dword [0x14038cca8]
lea rcx, [rsp + 0xc8]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0x17
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038ccac]
movss xmm2, dword [0x14038cca8]
movss xmm1, dword [0x14038cca8]
lea rcx, [rsp + 0xd8]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0x16
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cca0]
movss xmm2, dword [0x14038cc90]
movss xmm1, dword [0x14038cc8c]
lea rcx, [rsp + 0xe8]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038ccb4]
movss xmm2, dword [0x14038ccb0]
movss xmm1, dword [0x14038ccb0]
lea rcx, [rsp + 0xf8]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cca4]
movss xmm2, dword [0x14038cc9c]
movss xmm1, dword [0x14038cc98]
lea rcx, [rsp + 0x108]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cc94]
movss xmm2, dword [0x14038cc88]
movss xmm1, dword [0x14038cc88]
lea rcx, [rsp + 0x118]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cc94]
movss xmm2, dword [0x14038cc88]
movss xmm1, dword [0x14038cc88]
lea rcx, [rsp + 0x128]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [0x1403855c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14038cc94]
movss xmm2, dword [0x14038cc88]
movss xmm1, dword [0x14038cc88]
lea rcx, [rsp + 0x138]
call fcn.14005f810
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x40]
lea rdi, [rdx + rcx + 0xc8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
call fcn.14003ff90
call fcn.1400406d0
mov rcx, qword [0x14046d0c8]
call fcn.1402db280
test eax, eax
jne 0x140041c44
call fcn.1402dad90
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
call fcn.140190930
call fcn.140172340
call fcn.1400a0500
call fcn.14003fe50
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140041a97
movzx eax, byte [0x14046d0bc]
test eax, eax
jne 0x140041a5f
mov dword [rsp + 0x50], 1
jmp 0x140041a67
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [0x14046d0bc], al
movzx eax, byte [0x14046d0bc]
test eax, eax
je 0x140041a8b
mov rcx, qword [0x14046d0c8]
call fcn.140022320
jmp 0x140041a97
mov rcx, qword [0x14046d0c8]
call fcn.1400223a0
cmp dword [section..data], 0xffffffff
je 0x140041b35
cmp dword [section..data], 2
je 0x140041ab6
cmp dword [section..data], 3
jne 0x140041af1
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140041af1
movzx eax, byte [0x14046d0b1]
test eax, eax
jne 0x140041ade
mov dword [rsp + 0x54], 1
jmp 0x140041ae6
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [0x14046d0b1], al
cmp dword [section..data], 3
jne 0x140041b35
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140041b35
movzx eax, byte [0x14046d0b8]
test eax, eax
jne 0x140041b22
mov dword [rsp + 0x58], 1
jmp 0x140041b2a
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [0x14046d0b8], al
movzx eax, byte [0x14046d0bb]
test eax, eax
je 0x140041b47
xor eax, eax
jmp 0x140041c68
call fcn.14022e8c0
movzx eax, byte [0x14046d0bc]
test eax, eax
je 0x140041b5c
call fcn.1402679d0
movzx eax, byte [0x14046d0b8]
test eax, eax
je 0x140041b6c
call fcn.1402a00e0
movzx eax, byte [0x14046d0b1]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b0]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b2]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b3]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b5]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b4]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b7]
test eax, eax
jne 0x140041bc4
movzx eax, byte [0x14046d0b6]
test eax, eax
je 0x140041bc9
call fcn.140067430
call fcn.1400a1840
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x16c]
mov rcx, qword [0x14046d0c8]
call fcn.1402dab40
mov r9d, dword [rsp + 0x168]
mov r8d, dword [rsp + 0x16c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
call fcn.1400a1ce0
mov rcx, rax
call fcn.140190960
mov rcx, qword [0x14046d0c8]
call fcn.1402dd270
mov dword [rsp + 0x5c], 1
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x90]
call fcn.14003eb50
mov rcx, rax
call fcn.14003f9f0
jmp 0x1400419ff
call fcn.1401908d0
call fcn.1401722a0
xor ecx, ecx
call fcn.1400a0410
mov rcx, qword [0x14046d0c8]
call fcn.1402daa60
call fcn.1402dbb90
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140340fa0
add rsp, 0x198
pop rdi
pop rsi
ret