Function at 0x1400e8b60
Capabilities:
Authenticate hmac
Create directory
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 - 0x138]
sub rsp, 0x230
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor esi, esi
call fcn.14007a020
call fcn.140087450
movsd xmm0, qword [0x1401365c8]
movsd qword [rbp + 0x50], xmm0
movzx eax, word [0x1401365d0]
mov word [rbp + 0x58], ax
cmp byte [0x1401365d1], sil
je 0x1400e8bec
mov byte [rbp + 0x50], 0x5c
xor byte [rbp + 0x51], 0x36
xor byte [rbp + 0x52], 0x37
xor byte [rbp + 0x53], 0x38
xor byte [rbp + 0x54], 0x39
xor byte [rbp + 0x55], 0x3a
xor byte [rbp + 0x56], 0x3b
xor byte [rbp + 0x57], 0x3c
xor byte [rbp + 0x58], 0x3d
xor byte [rbp + 0x59], 0x3e
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
lea rax, [rbp + 0x50]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400e8c10
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x60]
call fcn.140079f10
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xc0]
call fcn.1400633e0
mov rbx, rax
lea rcx, [rbp + 0xa0]
call fcn.14007c7f0
nop
mov r9, rbx
mov r8, rax
lea rcx, [rbp + 0x80]
call fcn.1400fd560
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rcx, qword [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
lea rcx, [rbp + 0x80]
call fcn.1400f5ce0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400f5ce0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400f5ce0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400e8cdb
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e8cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e8cd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movups xmm3, xmmword [str.iERLMSU_NXV__2_0_h30J]
movups xmmword [rbp + 0x60], xmm3
mov edx, dword [0x140134988]
mov dword [rbp + 0x70], edx
movzx eax, word [0x14013498c]
mov word [rbp + 0x74], ax
cmp byte [0x14013498d], 0
je 0x1400e8f4b
mov ecx, esi
cmp dword [0x140152090], 2
jl 0x1400e8f0e
movdqa xmm5, xmmword [0x140138ff0]
movdqa xmm6, xmmword [str.7777]
movdqa xmm7, xmmword [0x140139010]
movdqa xmm2, xmmword [0x140138f00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140138fb0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x60], xmm2
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp + 0x64]
xorps xmm2, xmm0
movd dword [rbp + 0x64], xmm2
movdqa xmm3, xmmword [0x140138f60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rbp + 0x68]
xorps xmm3, xmm0
movd dword [rbp + 0x68], xmm3
movdqa xmm2, xmmword [0x140138f70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp + 0x6c]
xorps xmm2, xmm0
movd dword [rbp + 0x6c], xmm2
movdqa xmm3, xmmword [0x140138f80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rbp + 0x70], xmm3
mov ecx, 0x14
mov eax, ecx
lea r8, [rbp + 0x60]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x16
jl 0x1400e8f20
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea rax, [rbp + 0x60]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400e8f64
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140079f10
nop
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xe0]
call fcn.1400633e0
mov rbx, rax
lea rcx, [rbp + 0xc0]
call fcn.14007c7f0
nop
mov r9, rbx
mov r8, rax
lea rcx, [rbp + 0xa0]
call fcn.1400fd560
nop
mov r8d, 1
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.1400f2830
nop
lea rcx, [rbp + 0xa0]
call fcn.1400f5ce0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400f5ce0
nop
lea rcx, [rbp + 0xe0]
call fcn.1400f5ce0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400e903a
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e9035
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e9035
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movdqa xmm0, xmmword [0x140138dd0]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1400e913d
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], select
mov byte [rbp + 0x60], 0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400fdd40
lea rcx, [rsp + 0x48]
call fcn.1400f4fd0
test rax, rax
jne 0x1400e90e0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
lea rcx, [0x1402566e0]
call fcn.1400f5f80
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400e913d
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e9138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e9138
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
call fcn.1400c7490
mov cl, 1
call fcn.1400d7390
lea rcx, [0x1402518d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400e9166
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14025191c], 0x7fffffff
jne 0x1400e9188
mov dword [0x14025191c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov byte [0x140255046], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140255240], xmm0
movups xmmword [0x140255250], xmm0
movups xmmword [0x140255260], xmm0
movups xmmword [0x140255270], xmm0
movups xmmword [0x140255280], xmm0
mov qword [0x140255290], rax
lea rcx, [0x1402518d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rdx, [0x140251240]
call fcn.14009c440
lea rdx, [0x140251010]
call fcn.14009c440
lea rdx, [0x140256370]
call fcn.14009c440
lea rdx, [0x140256410]
call fcn.14009c440
lea rdx, [0x140256550]
call fcn.14009c440
lea rdx, [0x1402569c0]
call fcn.14009c440
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], select
mov byte [rbp + 0x60], 0
lea rdx, [rbp + 0x60]
call fcn.14009c530
lea rdx, [0x140250f00]
call fcn.14009c440
lea rdx, [0x1402515d0]
call fcn.14009c440
lea rdx, [0x140251760]
call fcn.14009c440
lea rdx, [0x140251490]
call fcn.14009c440
lea rdx, [0x140256b80]
call fcn.14009c440
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], select
mov byte [rbp + 0x60], 0
lea rdx, [rbp + 0x60]
call fcn.14009c530
lea rdx, [0x140251ce0]
call fcn.14009c440
lea rdx, [0x140251360]
call fcn.14009c440
mov rdi, qword [0x140256da0]
mov rbx, qword [0x140256d98]
cmp rbx, rdi
je 0x1400e92d7
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400e92ce
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
add rbx, 8
cmp rbx, rdi
jne 0x1400e92c0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.1400f2780
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14010fe20
lea r11, [rsp + 0x230]
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]
mov rsp, r11
pop rbp
ret