Function at 0x140052e00
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov r14, rcx
xor ebx, ebx
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x1400530c0
mov r9d, 0x104
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400530ab
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140052e80
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.14003b2d0
nop
mov eax, dword [0x140103828]
mov dword [rsp + 0x20], eax
movzx eax, word [0x14010382c]
mov ecx, 0x5c
mov word [rsp + 0x20], cx
xor word [rsp + 0x22], 0x35
xor ax, 0x36
mov word [rsp + 0x24], ax
lea rax, [rsp + 0x20]
mov rdi, rbx
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140052ed0
lea rsi, [rsp + 0x28]
cmp qword [rsp + 0x40], 7
cmova rsi, qword [rsp + 0x28]
mov r15, qword [rsp + 0x38]
test rdi, rdi
je 0x140052fdd
test r15, r15
je 0x140052fdd
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x20]
lea rdx, [rdx + rdi*2]
lea rax, [rsp + 0x20]
mov r8d, 0x100
cmp rax, rdx
je 0x140052f4c
movzx eax, word [rcx]
cmp ax, r8w
jae 0x140052f7b
movzx eax, al
mov byte [rsp + rax + 0x70], 1
add rcx, 2
cmp rcx, rdx
jne 0x140052f32
lea rcx, [r15 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea rcx, [rsi + rax*2]
nop
movzx eax, word [rcx]
cmp ax, r8w
jae 0x140052f70
cmp byte [rsp + rax + 0x70], 0
jne 0x140052fd5
cmp rcx, rsi
je 0x140052fdd
sub rcx, 2
jmp 0x140052f60
lea rcx, [r15 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea rcx, [rsi + rax*2]
mov r9d, 0x5c
nop dword [rax]
nop word [rax + rax]
mov rax, rdi
movzx r8d, word [rcx]
lea rdx, [rsp + 0x20]
cmp r9w, r8w
je 0x140052fd5
cmp rax, 1
je 0x140052fca
dec rax
add rdx, 2
cmp word [rdx], r8w
jne 0x140052fb2
test rdx, rdx
jne 0x140052fd5
cmp rcx, rsi
je 0x140052fdd
sub rcx, 2
jmp 0x140052fa0
sub rcx, rsi
sar rcx, 1
jmp 0x140052fe0
mov rcx, rbx
cmp rcx, 0xffffffffffffffff
je 0x14005308d
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
cmp r15, rcx
jb 0x14005311f
sub r15, rcx
cmp r15, 0xffffffffffffffff
cmovb rbx, r15
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 7
cmova rax, qword [rsp + 0x28]
lea rdx, [rax + rcx*2]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14003b2d0
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140053079
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053074
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053074
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f7c4
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x38], xmm1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
jmp 0x140053100
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax]
nop dword [rax + rax]
mov word [rbp + 0x2c0], bx
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], rbx
lea rax, [rbp + 0x2c0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400530e4
mov r8, rbx
lea rdx, [rbp + 0x2c0]
mov rcx, r14
call fcn.14003b2d0
mov rax, r14
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003afe0
nop
int3