Function at 0x1400578c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
mov rax, qword [0x140193f80]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
lea rcx, [fcn.140003950]
call fcn.1400aa530
call fcn.1400aa200
test eax, eax
je 0x14005803c
mov rcx, qword [0x14026e4b8]
test rcx, rcx
je 0x14005798e
lea rdx, [0x14026d448]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x198]
mov rcx, qword [0x14026e4b8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x198]
mov dword [0x14026d448], eax
mov eax, dword [rbp + 0x19c]
mov dword [0x14026d44c], eax
mov eax, dword [0x14026d450]
mov dword [0x1401d7194], eax
mov eax, dword [0x14026d454]
mov dword [0x14023db9c], eax
mov edx, 1
mov ecx, 0x20007
call fcn.1400a0180
xor edx, edx
mov ecx, 0x20003
call fcn.1400a0180
mov edx, 1
mov ecx, 0x20008
call fcn.1400a0180
mov edx, 1
mov ecx, 0x2000a
call fcn.1400a0180
movsd xmm0, qword [str.cvLNQ_F_]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x1401531a0]
mov word [rsp + 0x58], ax
cmp byte [0x1401531a1], 0
je 0x140057a1c
mov byte [rsp + 0x50], 0x54
xor byte [rsp + 0x51], 0x38
xor byte [rsp + 0x52], 0x39
xor byte [rsp + 0x53], 0x3a
xor byte [rsp + 0x54], 0x3b
xor byte [rsp + 0x55], 0x3c
xor byte [rsp + 0x56], 0x3d
xor byte [rsp + 0x57], 0x3e
xor byte [rsp + 0x58], 0x3f
xor byte [rsp + 0x59], 0x40
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, dword [0x14023db9c]
mov ecx, dword [0x1401d7194]
call fcn.1400a0950
mov qword [0x14026cbf0], rax
test rax, rax
je 0x14005803c
mov rcx, rax
call fcn.1400aa1c0
mov qword [0x14026d458], rax
lea edx, [rbx - 0x14]
mov r8d, 0x800a0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
xor r8d, r8d
mov edx, 0x20005
mov rcx, qword [0x14026cbf0]
call fcn.1400a2210
mov edx, 0x2000d
lea r8d, [rbx + 1]
mov rcx, qword [0x14026cbf0]
call fcn.1400a2210
mov eax, dword [0x14023db9c]
inc eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov eax, dword [0x1401d7194]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14026cbf0]
call fcn.1400a1dc0
mov rcx, qword [0x14026cbf0]
call fcn.1400aabc0
lea ecx, [rbx + 1]
call fcn.1400aad50
call fcn.14009bbc0
test eax, eax
jne 0x14005803c
mov dword [0x14026e4ec], ebx
mov dword [rbp + 0x190], ebx
mov dword [rbp + 0x194], ebx
lea r8, [0x1401494d4]
lea rdx, str.C:EnekoLizarragaAnsoMasJuanCruzLizarragaMasMaiderAnsoAritzmeniMasFernandoAnso.png
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x140057b21
mov edi, ebx
mov qword [rbp + 0xa0], rbx
jmp 0x140057b28
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
jne 0x140057b4e
mov edx, Ordinal_26
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.cant_fopen
mov qword [rdx + rcx], rax
jmp 0x140057ca1
mov r8, rdi
lea rcx, [rbp + 0xb0]
call fcn.140046d90
lea r8, [rbp + 0x194]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0xb0]
call fcn.140047660
mov rsi, rax
mov rcx, rdi
test rax, rax
je 0x140057c9b
mov edx, dword [rbp + 0x170]
sub edx, dword [rbp + 0x178]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [rbp + 0x198]
mov ecx, 1
call qword [sym.imp.OPENGL32.dll_glGenTextures]
mov edx, dword [rbp + 0x198]
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2802
mov ecx, 0xde1
mov r8d, 0x812f
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2803
mov ecx, 0xde1
mov r8d, 0x812f
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
xor edx, edx
mov ecx, 0xcf2
call qword [sym.imp.OPENGL32.dll_glPixelStorei]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x1401
mov dword [rsp + 0x30], 0x1908
mov dword [rsp + 0x28], ebx
mov eax, dword [rbp + 0x194]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x190]
xor edx, edx
mov ecx, 0xde1
mov r8d, 0x1908
call qword [sym.imp.OPENGL32.dll_glTexImage2D]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbp + 0x198]
mov dword [0x14026e4ec], eax
mov eax, dword [rbp + 0x190]
mov dword [0x14026dc70], eax
mov eax, dword [rbp + 0x194]
mov dword [0x14026d420], eax
jmp 0x140057ca1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [0x14026ca00]
test rdi, rdi
je 0x140057cb3
inc dword [rdi + 0xf4]
mov ecx, 0x5588
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x90], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x98], rcx
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140057ce7
xor edx, edx
mov rcx, rax
call fcn.140003b60
jmp 0x140057cea
mov rax, rbx
mov qword [0x14026ca00], rax
call fcn.14000b5a0
mov rcx, qword [0x14026cbf0]
test rdi, rdi
je 0x140057d0b
mov qword [0x14026ca00], rdi
jmp 0x140057d12
mov rdi, qword [0x14026ca00]
add rdi, 8
call fcn.14002e3f0
mov eax, dword [0x140152d48]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x140152d4c]
movsd xmm0, qword [0x140152d40]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140057e4e
movdqa xmm4, xmmword [0x140153930]
movdqa xmm2, xmmword [0x140153600]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140153650]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140153740]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [0x140152d40]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm3, xmmword [0x140153640]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140153650]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140153740]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rsp + 0x54]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x37
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x140057e60
lea rcx, [rsp + 0x50]
call fcn.14002ee40
xorps xmm13, xmm13
xor eax, eax
movups xmmword [rbp], xmm13
movups xmmword [rbp + 0x10], xmm13
movups xmmword [rbp + 0x20], xmm13
movups xmmword [rbp + 0x30], xmm13
movups xmmword [rbp + 0x40], xmm13
movups xmmword [rbp + 0x50], xmm13
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x44], 0x7f7fffff
mov eax, 0xffff
mov word [rbp + 0x54], ax
mov byte [rbp + 0x20], 0
mov dword [rbp + 0x18], 5
mov dword [rbp + 0x1c], 5
mov dword [rbp + 0x50], 0x3f99999a
lea rbx, [0x140152208]
mov qword [rbp + 0x38], rbx
movups xmm12, xmmword [rbp]
movups xmmword [rsp + 0x70], xmm12
movups xmm11, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x80], xmm11
movups xmm10, xmmword [rbp + 0x20]
movups xmmword [rbp - 0x70], xmm10
movups xmm9, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x60], xmm9
movups xmm8, xmmword [rbp + 0x40]
movups xmmword [rbp - 0x50], xmm8
movups xmm7, xmmword [rbp + 0x50]
movups xmmword [rbp - 0x40], xmm7
movups xmmword [rbp - 0x30], xmm13
movups xmmword [rbp - 0x20], xmm13
movsd xmm6, qword [rbp + 0x80]
movsd qword [rbp - 0x10], xmm6
lea rax, [0x140194020]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x41d7c
mov dword [rbp - 0x7c], 0x41700000
mov qword [rbp - 0x58], rbx
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x50]
call fcn.140029020
mov qword [0x14026e4d8], rax
movups xmmword [rsp + 0x70], xmm12
movups xmmword [rbp - 0x80], xmm11
movups xmmword [rbp - 0x70], xmm10
movups xmmword [rbp - 0x60], xmm9
movups xmmword [rbp - 0x50], xmm8
movups xmmword [rbp - 0x40], xmm7
movups xmmword [rbp - 0x30], xmm13
movups xmmword [rbp - 0x20], xmm13
movsd qword [rbp - 0x10], xmm6
lea rax, [0x1401d71d0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x421a8
mov dword [rbp - 0x7c], 0x41880000
mov qword [rbp - 0x58], rbx
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x50]
call fcn.140029020
mov qword [0x14026e4e0], rax
movups xmmword [rsp + 0x70], xmm12
movups xmmword [rbp - 0x80], xmm11
movups xmmword [rbp - 0x70], xmm10
movups xmmword [rbp - 0x60], xmm9
movups xmmword [rbp - 0x50], xmm8
movups xmmword [rbp - 0x40], xmm7
movups xmmword [rbp - 0x30], xmm13
movups xmmword [rbp - 0x20], xmm13
movsd qword [rbp - 0x10], xmm6
lea rax, [0x14023dba0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x6bc
mov dword [rbp - 0x7c], 0x41880000
mov qword [rbp - 0x58], rbx
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x50]
call fcn.140029020
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140116b20
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop rbp
ret