Function at 0x14004d270
Capabilities:
Encode data using xor
Log keystrokes via polling
Set console window title
Terminate process

Disassembly:
push rbp
push rdi
push r12
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400c4010]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r12, rcx
lea rcx, [rbp + 0x78]
call fcn.14004c5b0
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.14004c870
movdqa xmm0, xmmword [0x1400bb720]
xor edi, edi
movdqu xmmword [rbp + 0x148], xmm0
mov ecx, edi
mov dword [rsp + 0x68], 0x83c5dbcb
mov dword [rsp + 0x6c], 0x8ec0c7de
mov dword [rsp + 0x70], 0xdcc3db94
mov dword [rsp + 0x74], 0x1008ad2
mov dword [rbp + 0x158], 0xde92cfd4
mov dword [rbp + 0x15c], 0xefd2d1
mov byte [rbp + 0x160], 1
nop
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 0xe
jb 0x14004d300
lea r8, [rsp + 0x76]
mov byte [rsp + 0x77], dil
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xf8]
call fcn.1400413d0
cmp byte [rbp + 0x160], dil
je 0x14004d35a
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rbp + rcx + 0x148], al
inc rcx
cmp rcx, 0x17
jb 0x14004d340
mov byte [rbp + 0x160], dil
lea r8, [rbp + 0x15f]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x78]
call fcn.1400413d0
lea r9, [rbp + 0xf8]
lea r8, [rbp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.14004f430
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14004d3c4
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d3bf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d4a9
call fcn.140051e4c
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x14004d405
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d400
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d4a9
call fcn.140051e4c
cmp qword [rbp + 0xd0], 0x10
lea rdx, [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
lea rcx, [rsp + 0x78]
cmovae rdx, qword [rbp + 0xb8]
call fcn.14003c8d0
xorps xmm0, xmm0
lea rdx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
lea rcx, [rbp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
call fcn.14004cd30
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14004d4b5
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d4b0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d4b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051e4c
mov qword [rsp + 0x3f0], rsi
lea rcx, [rbp + 0x78]
mov rsi, qword [rbp + 0x88]
mov qword [rsp + 0x3f8], r13
mov r13, qword [rbp + 0x90]
cmp r13, 0x10
mov qword [rsp + 0x3b0], r15
mov r15, qword [rbp + 0x78]
cmovae rcx, r15
cmp rsi, 0x1c
nop
nop
mov r8, rsi
lea rdx, str.78564_vaaaa_l_i____________d
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004d50d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400bae38]
mov r8d, edi
movsd xmm0, qword [str.pqpqfehnxvrx]
mov qword [rsp + 0x3e8], rbx
mov ebx, dword [0x1400c4018]
mov qword [rsp + 0x3b8], r14
mov dword [rsp + 0x70], eax
movzx eax, byte [0x1400bae3c]
movaps xmmword [rsp + 0x3a0], xmm6
mov byte [rsp + 0x74], al
mov eax, 0x1f
movaps xmmword [rsp + 0x390], xmm7
movaps xmmword [rsp + 0x380], xmm8
movsd qword [rsp + 0x68], xmm0
lea r14d, [rax - 5]
cmp ebx, 2
jmp 0x14004d681
movsxd rax, r8d
lea r9, [rsp + 0x68]
add r9, rax
nop dword [rax]
mov eax, 0x8b6e9c61
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7c
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x14004d690
lea rcx, [rsp + 0x68]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x14004d6d0
cmp r13, 0x10
lea rcx, [rbp + 0x78]
cmovae rcx, r15
cmp rsi, rax
nop
nop
nop
nop
nop
nop
mov r8, rsi
lea rdx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
nop
nop
nop
nop
nop
nop
cmp byte [0x1400bae49], dil
movsd xmm0, qword [str.V_PcXSWN:]
movzx eax, word [0x1400bae48]
movsd qword [rsp + 0x68], xmm0
mov word [rsp + 0x70], ax
je 0x14004d758
xor byte [rsp + 0x69], 0x32
xor byte [rsp + 0x6a], 0x33
xor byte [rsp + 0x6b], 0x34
xor byte [rsp + 0x6c], 0x35
xor byte [rsp + 0x6d], 0x36
xor byte [rsp + 0x6e], 0x37
xor byte [rsp + 0x6f], 0x38
xor byte [rsp + 0x70], 0x39
xor byte [rsp + 0x71], 0x3a
mov byte [rsp + 0x68], 0x67
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rsi, rax
test rax, rax
je 0x14004e362
mov rcx, qword [0x1400e4470]
call fcn.140050050
lea rdx, [rbp + 0x78]
call fcn.14004c3c0
lea rdx, [rbp + 0x98]
call fcn.14004c3c0
cmp qword [rbp + 0xb0], 0x10
lea rax, [0x14004c520]
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x20]
xorps xmm0, xmm0
mov qword [rbp + 0x30], rdi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm0
lea rax, [rbp + 0x98]
movdqu xmmword [rbp + 0x50], xmm1
cmovae rax, qword [rbp + 0x98]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdi
mov dword [rbp + 0x20], 0x50
mov dword [rbp + 0x24], 3
mov qword [rbp + 0x38], r12
call qword [sym.imp.USER32.dll_RegisterClassExW]
xorps xmm0, xmm0
lea rdx, [rbp - 0x50]
mov rcx, rsi
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x48]
lea r8, [rbp + 0x78]
sub eax, dword [rbp - 0x50]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rdi
movd xmm0, eax
mov rax, qword [0x1400e4450]
cvtdq2ps xmm0, xmm0
movss dword [rax], xmm0
mov eax, dword [rbp - 0x44]
sub eax, dword [rbp - 0x4c]
movd xmm0, eax
mov rax, qword [0x1400e4450]
cvtdq2ps xmm0, xmm0
movss dword [rax + 4], xmm0
mov rax, qword [0x1400e4450]
cmp qword [rbp + 0x90], 0x10
cvttss2si edx, xmm0
cmovae r8, qword [rbp + 0x78]
cvttss2si ecx, dword [rax]
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rbp - 0x4c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edx
mov rdx, qword [rbp + 0x60]
mov dword [rsp + 0x30], ecx
mov ecx, 0x8000028
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
mov r8b, 0xff
mov rcx, rax
xor edx, edx
mov rsi, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
lea rdx, [rbp + 0xe8]
mov rcx, rsi
movups xmmword [rbp + 0xe8], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
lea rdx, [rbp + 0xf8]
mov rcx, rsi
movups xmmword [rbp + 0xf8], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x70]
lea rdx, [rbp + 0xd8]
mov dword [rbp + 0xd8], eax
mov rcx, rsi
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0xdc], eax
mov eax, dword [rbp + 0xf0]
mov dword [rbp + 0xe0], eax
mov eax, dword [rbp + 0xf4]
mov dword [rbp + 0xe4], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea rax, [0x1400e4350]
mov qword [rbp - 0x30], rdi
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [0x1400e4330]
mov qword [rbp - 0x1c], rdi
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [0x1400e4338]
mov qword [rbp - 0x14], 1
mov qword [rsp + 0x48], rax
lea edx, [r9 + 1]
lea rax, [0x1400e4340]
mov qword [rbp - 8], 2
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp - 0x30]
mov qword [rbp + 0x10], 2
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x168]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x28], 0x3c
mov dword [rbp - 0x24], 1
mov dword [rbp - 0x20], 0x1c
mov dword [rbp - 0xc], 0x20
mov qword [rbp], rsi
mov qword [rbp + 8], 1
mov dword [rbp + 0x168], 0xb000
mov dword [rbp + 0x16c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [0x1400e4340]
lea r9, [rbp - 0x40]
mov qword [rbp - 0x40], rdi
lea r8, [0x1400baeb0]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x14004e237
mov rcx, qword [0x1400e4338]
lea r9, [0x1400e4348]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400e42c8]
mov ecx, 0x6190
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400e42c8]
mov r9, rax
test r8, r8
je 0x14004dad0
movsx rax, word [r8 + 0x6040]
lea rdx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14004dac5
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x6044]
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], edi
inc word [rdx + 4]
inc dword [r8 + 0x6038]
test r9, r9
je 0x14004dae1
xor edx, edx
mov rcx, r9
call fcn.140001640
jmp 0x14004dae4
mov rax, rdi
mov qword [0x1400e42c8], rax
call fcn.140005cf0
mov rax, qword [0x1400e42c8]
test rbx, rbx
cmovne rax, rbx
xor ecx, ecx
mov qword [0x1400e42c8], rax
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
call fcn.140025060
call fcn.140049a10
mov rcx, rsi
call fcn.14002fc10
call fcn.14002fa40
movss xmm6, dword [0x1400bb064]
mov bl, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x118]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004dbb9
lea rcx, [rbp + 0x118]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x118]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x120], 0x12
lea rcx, [rbp + 0x118]
movzx ebx, bl
cmove ebx, edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004db71
test bl, bl
je 0x14004df21
mov rax, qword [0x1400e42c8]
test rax, rax
je 0x14004dbd6
mov rcx, qword [rax + 0x98]
jmp 0x14004dbd9
mov rcx, rdi
cmp qword [rcx + 0x48], rdi
jne 0x14004dbe4
call fcn.14002f520
call fcn.140030610
call fcn.140008540
mov ecx, 0x79
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004dc0c
mov rcx, qword [0x1400e4468]
cmp byte [rcx], dil
sete al
mov byte [rcx], al
cmp byte [0x1400bae49], dil
xorps xmm0, xmm0
mov rax, qword [0x1400e42c8]
xorps xmm1, xmm1
mov dword [rbp - 0x5c], 0x3f800000
mov dword [rax + 0x3904], edi
movups xmmword [rax + 0x39f4], xmm0
movups xmmword [rax + 0x3a04], xmm1
movss xmm0, dword [0x1400e3954]
movss xmm2, dword [0x1400e395c]
movss xmm1, dword [0x1400e3958]
subss xmm2, xmm6
movss xmm3, dword [0x1400e3950]
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rax + 0x3af4], xmm3
movss xmm0, dword [0x1400e3950]
movss xmm1, dword [0x1400e3954]
movss xmm2, dword [0x1400e3958]
movups xmm3, xmmword [rbp - 0x68]
movss xmm3, xmm0
movaps xmm0, xmmword [0x1400bb4f0]
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc9
movups xmmword [rax + 0x3b04], xmm3
mov qword [rax + 0x38f8], rdi
mov dword [rax + 0x3900], 0x41200000
mov dword [rax + 0x391c], 0x41200000
movups xmmword [rax + 0x3a44], xmm0
movzx eax, word [0x1400bae48]
movsd xmm0, qword [str.V_PcXSWN:]
movsd qword [rsp + 0x68], xmm0
mov word [rsp + 0x70], ax
movups xmmword [rbp - 0x68], xmm3
je 0x14004dd38
xor byte [rsp + 0x69], 0x32
xor byte [rsp + 0x6a], 0x33
xor byte [rsp + 0x6b], 0x34
xor byte [rsp + 0x6c], 0x35
xor byte [rsp + 0x6d], 0x36
xor byte [rsp + 0x6e], 0x37
xor byte [rsp + 0x6f], 0x38
xor byte [rsp + 0x70], 0x39
xor byte [rsp + 0x71], 0x3a
mov byte [rsp + 0x68], 0x67
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14004dde3
mov r8d, 0x100
lea rdx, [rbp + 0x170]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rbp + 0x170]
lea r8, [rsp + 0x68]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004dd83
inc rax
test ecx, ecx
jne 0x14004dd70
test edx, edx
jne 0x14004dde3
mov rcx, qword [0x1400e4438]
call fcn.14003ee50
call fcn.14003e370
call fcn.140041ff0
call fcn.140041500
call fcn.1400425e0
cmp byte [0x1400e432c], dil
jne 0x14004ddc3
mov rcx, qword [0x1400e4470]
call fcn.140050050
mov byte [0x1400e432c], 1
mov rcx, qword [0x1400e4468]
call fcn.1400428e0
mov rax, qword [0x1400e4468]
mov rcx, rsi
movzx edx, byte [rax]
call fcn.14004d1d0
jmp 0x14004de48
mov edx, 0xffffffec
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov edx, 0xffffffec
mov rcx, rsi
btr rax, 0x1b
bts rax, 0x13
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x30], 0x23
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x1400e432c], dil
mov ecx, 0x76
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004de6e
mov rcx, qword [0x1400e4450]
cmp byte [rcx + 0xf0], dil
sete al
mov byte [rcx + 0xf0], al
mov rax, qword [0x1400e4450]
cmp byte [rax + 0xf0], dil
je 0x14004de8c
mov edx, 0x11
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call fcn.14000a510
mov rcx, qword [0x1400e4350]
lea r8, [0x1400e4348]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x148], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400e4350]
lea r8, [rbp + 0x148]
mov rdx, qword [0x1400e4348]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400e42c8]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov rcx, rdi
add rax, 0x48
cmp byte [rax], dil
cmovne rcx, rax
call fcn.14002e750
mov rcx, qword [0x1400e4340]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp dword [rbp + 0x120], 0x12
jne 0x14004db50
jmp 0x14004db30
mov rbx, qword [0x1400e42c8]
test rbx, rbx
je 0x14004df36
mov r14, qword [rbx + 0x98]
jmp 0x14004df39
mov r14, rdi
call fcn.14002f920
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x14004df4d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r14]
test rcx, rcx
je 0x14004df5b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14004df6a
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1400e42c8]
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x98], rdi
test r8, r8
je 0x14004dfe7
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14004dfdc
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400e42c8]
test r8, r8
je 0x14004e005
mov r14, qword [r8 + 0x90]
jmp 0x14004e008
mov r14, rdi
mov rcx, qword [r14 + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x14004e022
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400e42c8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x88], rdi
test r8, r8
je 0x14004e095
movsx rdx, word [r8 + 0x6040]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rdx*8 + 0x6044]
add rcx, r8
cmp dword [rcx], r9d
je 0x14004e08a
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6044]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400e42c8]
mov qword [0x1400e42c8], rbx
call fcn.140006170
mov qword [0x1400e42c8], rdi
test rbx, rbx
je 0x14004e13a
mov rcx, rbx
call fcn.14001d200
mov r8, qword [0x1400e42c8]
test r8, r8
je 0x14004e131
movsx r10, word [r8 + 0x6040]
lea rdx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14004e126
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x6044]
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], edi
inc word [rdx + 6]
inc dword [r8 + 0x603c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400e4340]
test rcx, rcx
je 0x14004e14c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400e4350]
test rcx, rcx
je 0x14004e15e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400e4338]
test rcx, rcx
je 0x14004e170
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400e4348]
test rcx, rcx
je 0x14004e182
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x60]
mov rdx, r12
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14004e1d9
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e1d4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e34c
call fcn.140051e4c
mov rdx, qword [rbp + 0x90]
movdqa xmm0, xmmword [0x1400bb240]
mov byte [rbp + 0x98], dil
movdqu xmmword [rbp + 0xa8], xmm0
cmp rdx, 0x10
jb 0x14004ed84
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e22d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e34c
call fcn.140051e4c
jmp 0x14004ed84
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14004e278
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e273
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e34c
call fcn.140051e4c
mov rdx, qword [rbp + 0x90]
movdqa xmm0, xmmword [0x1400bb240]
mov byte [rbp + 0x98], dil
movdqu xmmword [rbp + 0xa8], xmm0
cmp rdx, 0x10
jb 0x14004e2cd
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e2c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e34c
call fcn.140051e4c
movdqa xmm0, xmmword [0x1400bb240]
mov byte [rbp + 0x78], dil
movdqu xmmword [rbp + 0x88], xmm0
cmp r13, 0x10
jb 0x14004e314
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14004e30c
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e34c
mov rcx, r15
call fcn.140051e4c
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x14004e358
mov rcx, qword [rbp + 0xb8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e353
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e353
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051e4c
mov eax, 1
jmp 0x14004edfd
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp byte [0x1400baed9], dil
mov rsi, rax
movzx ecx, word [0x1400baed8]
mov word [rsp + 0x60], cx
je 0x14004e395
xor byte [rsp + 0x61], 0x32
mov byte [rsp + 0x60], 0x77
cmp byte [str.8vSQ], dil
mov rcx, qword [str.r_b]
mov qword [rbp + 0x70], rcx
je 0x14004e504
cmp ebx, 2
jl 0x14004e4c6
movdqa xmm2, xmmword [0x1400bb280]
mov r12d, 0x1f
movdqa xmm3, xmmword [0x1400bb2a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400bb670]
movdqa xmm0, xmm2
mov eax, dword [0x1400bb320]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400bb310]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400bb2e0]
movd xmm1, dword [rbp + 0x70]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0x70], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400bb310]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400bb2e0]
movd xmm1, dword [rbp + 0x74]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp + 0x74], xmm2
jmp 0x14004e50a
lea r9, [rbp + 0x70]
mov r8d, edi
nop dword [rax]
mov eax, 0x8b6e9c61
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7c
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14004e4d0
mov r12d, 0x1f
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
lea r8, [rsp + 0x60]
mov rcx, rax
lea rdx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rdx, [rbp + 0x78]
call fcn.14004c3c0
cmp qword [rax + 0x18], 0x10
jb 0x14004e53d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14004e587
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e582
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e582
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051e4c
movups xmm0, xmmword [0x1400baec8]
movups xmmword [rsp + 0x78], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14004e730
cmp ebx, 2
jl 0x14004e6f9
movdqa xmm0, xmmword [0x1400bb320]
lea rcx, [rsp + 0x7c]
movdqa xmm5, xmmword [0x1400bb280]
movdqa xmm4, xmmword [0x1400bb670]
movdqa xmm7, xmmword [0x1400bb310]
movdqa xmmword [rbp - 0x50], xmm0
mov edx, dword [rbp - 0x50]
movd xmm6, r14d
movd xmm8, r12d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400bb2e0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400bb2e0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x14004e5f0
jmp 0x14004e730
lea r8, [rsp + 0x78]
nop
mov eax, 0x8b6e9c61
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x7c
movzx eax, dil
inc edi
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp edi, 0x10
jl 0x14004e700
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x78]
call fcn.14004f000
lea rdx, [0x14004f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14004e751
cmp r13, 0x10
jb 0x14004edb7
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14004edaf
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004edef
mov rcx, r15
call fcn.140051e4c
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x14004edfb
mov rcx, qword [rbp + 0xb8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004edf6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004edf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051e4c
xor eax, eax
movaps xmm7, xmmword [rsp + 0x390]
movaps xmm6, xmmword [rsp + 0x3a0]
mov rbx, qword [rsp + 0x3e8]
mov r14, qword [rsp + 0x3b8]
movaps xmm8, xmmword [rsp + 0x380]
mov rsi, qword [rsp + 0x3f0]
mov r13, qword [rsp + 0x3f8]
mov r15, qword [rsp + 0x3b0]
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140051cb0
add rsp, 0x3c0
pop r12
pop rdi
pop rbp
ret