Function at 0x140057bc0
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 [0x140194f80]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
lea rcx, [fcn.140003960]
call fcn.1400abaa0
call fcn.1400ab770
test eax, eax
je 0x14005832b
mov rcx, qword [0x14026f4b8]
test rcx, rcx
je 0x140057c8e
lea rdx, [0x14026e448]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x198]
mov rcx, qword [0x14026f4b8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x198]
mov dword [0x14026e448], eax
mov eax, dword [rbp + 0x19c]
mov dword [0x14026e44c], eax
mov eax, dword [0x14026e450]
mov dword [0x1401d8194], eax
mov eax, dword [0x14026e454]
mov dword [0x14023eb9c], eax
mov edx, 1
mov ecx, 0x20007
call fcn.1400a16f0
xor edx, edx
mov ecx, 0x20003
call fcn.1400a16f0
mov edx, 1
mov ecx, 0x20008
call fcn.1400a16f0
mov edx, 1
mov ecx, 0x2000a
call fcn.1400a16f0
movsd xmm0, qword [0x140154250]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x140154258]
mov word [rsp + 0x58], ax
cmp byte [0x140154259], 0
je 0x140057d1c
mov byte [rsp + 0x50], 0x54
xor byte [rsp + 0x51], 0x36
xor byte [rsp + 0x52], 0x37
xor byte [rsp + 0x53], 0x38
xor byte [rsp + 0x54], 0x39
xor byte [rsp + 0x55], 0x3a
xor byte [rsp + 0x56], 0x3b
xor byte [rsp + 0x57], 0x3c
xor byte [rsp + 0x58], 0x3d
xor byte [rsp + 0x59], 0x3e
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, dword [0x14023eb9c]
mov ecx, dword [0x1401d8194]
call fcn.1400a1ec0
mov qword [0x14026dbf0], rax
test rax, rax
je 0x14005832b
mov rcx, rax
call fcn.1400ab730
mov qword [0x14026e458], 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 [0x14026dbf0]
call fcn.1400a3780
mov edx, 0x2000d
lea r8d, [rbx + 1]
mov rcx, qword [0x14026dbf0]
call fcn.1400a3780
mov eax, dword [0x14023eb9c]
inc eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov eax, dword [0x1401d8194]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14026dbf0]
call fcn.1400a3330
mov rcx, qword [0x14026dbf0]
call fcn.1400ac130
lea ecx, [rbx + 1]
call fcn.1400ac2c0
call fcn.14009d130
test eax, eax
jne 0x14005832b
mov dword [0x14026f4ec], ebx
mov dword [rbp + 0x190], ebx
mov dword [rbp + 0x194], ebx
lea r8, [0x14014a4d4]
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 0x140057e21
mov edi, ebx
mov qword [rbp + 0xa0], rbx
jmp 0x140057e28
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
jne 0x140057e4e
mov edx, Ordinal_26
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.cant_fopen
mov qword [rdx + rcx], rax
jmp 0x140057fa1
mov r8, rdi
lea rcx, [rbp + 0xb0]
call fcn.140047090
lea r8, [rbp + 0x194]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0xb0]
call fcn.140047960
mov rsi, rax
mov rcx, rdi
test rax, rax
je 0x140057f9b
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 [0x14026f4ec], eax
mov eax, dword [rbp + 0x190]
mov dword [0x14026ec70], eax
mov eax, dword [rbp + 0x194]
mov dword [0x14026e420], eax
jmp 0x140057fa1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [0x14026da00]
test rdi, rdi
je 0x140057fb3
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 0x140057fe7
xor edx, edx
mov rcx, rax
call fcn.140003b70
jmp 0x140057fea
mov rax, rbx
mov qword [0x14026da00], rax
call fcn.14000b5b0
mov rcx, qword [0x14026dbf0]
test rdi, rdi
je 0x14005800b
mov qword [0x14026da00], rdi
jmp 0x140058012
mov rdi, qword [0x14026da00]
add rdi, 8
call fcn.14002e660
mov eax, dword [0x140153ed8]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x140153edc]
movsd xmm0, qword [0x140153ed0]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140058146
movdqa xmm4, xmmword [0x140154c10]
movdqa xmm2, xmmword [0x140154890]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401548e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401549d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140154ab0]
movd xmm0, dword [0x140153ed0]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm3, xmmword [0x1401548d0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401548e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401549d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140154ab0]
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
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x140058151
lea rcx, [rsp + 0x50]
call fcn.14002f0b0
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, [0x1401532f8]
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, [0x140195020]
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.140029290
mov qword [0x14026f4d8], 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, [0x1401d81d0]
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.140029290
mov qword [0x14026f4e0], 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, [0x14023eba0]
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.140029290
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140118040
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