Function at 0x1400030f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x20], rax
call fcn.140001130
mov ecx, dword [0x140006038]
mov edx, 0x55
movzx eax, word [0x14000603c]
movups xmm0, xmmword [str.eBWA_a_a]
mov dword [rbp - 0x26], ecx
xor ax, 0x3a
xor word [rbp - 0x24], 0x39
xor cx, 0x38
movups xmmword [rbp - 0x36], xmm0
xor word [rbp - 0x34], 0x31
xor word [rbp - 0x32], 0x32
xor word [rbp - 0x30], 0x33
xor word [rbp - 0x2e], 0x34
xor word [rbp - 0x2c], 0x35
xor word [rbp - 0x2a], 0x36
xor word [rbp - 0x28], 0x37
mov word [rbp - 0x26], cx
mov ecx, dword [0x140007058]
mov word [rbp - 0x22], ax
mov rax, qword [0x140007050]
mov word [rbp - 0x36], dx
mov edx, dword [rax + rcx*4]
lea rcx, [rbp - 0x36]
add rdx, qword [0x140007080]
call rdx
movups xmm3, xmmword [str.cTFFDtf]
xor edi, edi
mov rbx, rax
movsd xmm0, qword [0x140006078]
mov ecx, edi
cmp dword [section..data], 2
mov qword [rbp + 0x28], rax
movzx eax, word [0x140006080]
movups xmmword [rbp - 0x20], xmm3
mov word [rbp - 8], ax
movsd qword [rbp - 0x10], xmm0
jl 0x1400032ac
movdqa xmm2, xmmword [0x1400062c0]
mov ecx, 8
movdqa xmm4, xmmword [0x140006320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400062e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400062d0]
paddw xmm2, xmmword [0x1400062f0]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp - 0x20], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400062e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x18]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400062f0]
xorps xmm2, xmm0
movq qword [rbp - 0x18], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x20]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x34
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0xd
jl 0x1400032c0
mov ecx, dword [0x140007058]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
lea rcx, [rbp - 0x20]
add rdx, qword [0x140007080]
call rdx
mov qword [rbp + 0x30], rax
mov eax, dword [rbx + 0x3c]
mov qword [0x140007030], rbx
mov ecx, dword [rax + rbx + 0x88]
test ecx, ecx
je 0x14000332e
mov edi, dword [rcx + rbx + 0x1c]
add rdi, rbx
cmp byte [0x140006161], 0
movsd xmm0, qword [str.GBBA__BQy9]
movzx eax, word [0x140006160]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
mov qword [0x140007040], rdi
je 0x14000337e
xor byte [rbp - 0x3f], 0x31
xor byte [rbp - 0x3e], 0x32
xor byte [rbp - 0x3d], 0x33
xor byte [rbp - 0x3c], 0x34
xor byte [rbp - 0x3b], 0x35
xor byte [rbp - 0x3a], 0x36
xor byte [rbp - 0x39], 0x37
xor byte [rbp - 0x38], 0x38
xor byte [rbp - 0x37], 0x39
mov byte [rbp - 0x40], 0x77
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x28]
call section..text
lea rcx, [rbp + 0x30]
mov dword [0x14000704c], eax
call fcn.1400029a0
mov ecx, dword [0x140007028]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
add rdx, qword [0x140007080]
call rdx
mov ecx, dword [0x140007094]
mov rax, qword [0x140007050]
mov edx, dword [rax + rcx*4]
mov ecx, 0xfffffff5
add rdx, qword [0x140007080]
call rdx
mov qword [0x1400070a8], rax
call fcn.140004730
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret