Function at 0x140051de4
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x1400a4088]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov eax, 0x6c006c
xor r14d, r14d
mov ebx, edx
mov dword [rbp - 0x61], edx
mov qword [rbp - 0x41], rcx
lea edi, [r14 + 1]
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x19]
mov r9b, dil
mov dword [rbp - 0x19], 0x53005c
mov dword [rbp - 0x15], 0x730079
mov dword [rbp - 0x11], 0x650074
mov dword [rbp - 0xd], 0x52006d
mov dword [rbp - 9], 0x6f006f
mov dword [rbp - 5], 0x5c0074
mov dword [rbp - 1], 0x790073
mov dword [rbp + 3], 0x740073
mov dword [rbp + 7], 0x6d0065
mov dword [rbp + 0xb], 0x320033
mov dword [rbp + 0xf], 0x6e005c
mov dword [rbp + 0x13], 0x640074
mov dword [rbp + 0x17], eax
mov dword [rbp + 0x1b], 0x64002e
mov qword [rbp + 0x1f], rax
mov r13d, r14d
call fcn.14002f234
test eax, eax
jne 0x1400520ed
mov edx, dword [rbp - 0x31]
mov rcx, qword [rbp - 0x21]
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x49]
mov dword [rsp + 0x20], r14d
call fcn.140005d4c
cmp al, dil
jne 0x1400520e4
mov rdx, qword [rbp - 0x49]
mov r10d, dword [rbp - 0x51]
movsxd rax, dword [rdx + 0x3c]
mov r15d, dword [rax + rdx + 0x88]
mov r9d, dword [rax + rdx + 0x8c]
lea esi, [r9 + r15]
mov dword [rbp - 0x65], esi
cmp r15d, r10d
jae 0x1400520dc
lea rcx, [r15 + 0x28]
cmp rcx, r10
jae 0x1400520dc
cmp r9d, r10d
jae 0x1400520dc
cmp esi, r10d
jae 0x1400520dc
mov eax, dword [r15 + rdx + 0x14]
mov ebx, dword [r15 + rdx + 0x18]
mov dword [rbp - 0x69], eax
mov eax, dword [r15 + rdx + 0x20]
cmp eax, r15d
jb 0x1400520d9
mov ecx, ebx
mov edi, eax
mov r11d, esi
shl rcx, 2
mov qword [rbp - 0x29], rbx
add rax, rcx
cmp rax, r11
jae 0x1400520d4
cmp rcx, r9
jae 0x1400520d4
mov eax, dword [r15 + rdx + 0x24]
cmp eax, r15d
jb 0x1400520d4
mov r9d, eax
lea rax, [rax + rbx*2]
cmp rax, r11
jae 0x1400520d4
mov eax, dword [r15 + rdx + 0x1c]
cmp eax, r15d
jb 0x1400520d4
mov r8d, eax
mov eax, dword [rbp - 0x69]
lea rcx, [r8 + rax*4]
cmp rcx, r11
jae 0x1400520d4
add rdi, rdx
add r8, rdx
lea r12, [r9 + rdx]
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x59], r8
test ebx, ebx
je 0x1400520d4
mov ecx, dword [rbp - 0x69]
movzx eax, word [r12]
cmp eax, ecx
jae 0x1400520be
mov ecx, dword [r8 + rax*4]
cmp ecx, r10d
jae 0x1400520bb
cmp ecx, r15d
jb 0x140051fda
cmp ecx, esi
jb 0x1400520bb
mov esi, dword [rdi]
add rsi, rdx
cmp rsi, rdx
jb 0x1400520b8
mov r8d, r10d
add r8, rdx
cmp rsi, r8
jae 0x1400520b4
lea r9, [rsi + 2]
cmp r9, r8
jae 0x1400520b4
mov eax, 0x744e
cmp word [rsi], ax
jne 0x1400520b4
add rcx, rdx
cmp rcx, rdx
jb 0x1400520b4
cmp rcx, r8
jae 0x1400520b4
lea rax, [rcx + 0xb]
cmp rax, r8
jae 0x1400520b4
mov al, byte [rcx]
cmp al, 0x4c
jne 0x14005212d
cmp byte [rcx + 1], 0x8b
jne 0x14005212d
cmp byte [rcx + 2], 0xd1
jne 0x14005212d
cmp byte [rcx + 3], 0xb8
jne 0x1400520b4
cmp byte [rcx + 6], r14b
jne 0x1400520b4
cmp byte [rcx + 7], r14b
jne 0x1400520b4
mov ebx, dword [rcx + 4]
mov rcx, rsi
call fcn.14007d320
cmp ebx, dword [rbp - 0x61]
jae 0x1400520ac
cmp eax, 0x40
jae 0x1400520ac
inc r13d
imul rdi, rbx, 0x58
mov rcx, qword [rbp - 0x41]
mov r8d, eax
mov rdx, rsi
mov dword [rdi + rcx], ebx
add rcx, 4
mov ebx, eax
add rcx, rdi
call fcn.1400010a0
mov rcx, qword [rbp - 0x41]
lea rax, [rbx + rdi]
mov rdi, qword [rbp - 0x39]
mov byte [rax + rcx + 4], r14b
mov rdx, qword [rbp - 0x49]
mov r10d, dword [rbp - 0x51]
mov r8, qword [rbp - 0x59]
mov esi, dword [rbp - 0x65]
mov ecx, dword [rbp - 0x69]
add rdi, 4
add r12, 2
dec qword [rbp - 0x29]
mov qword [rbp - 0x39], rdi
jne 0x140051fb3
mov edi, 1
mov ebx, dword [rbp - 0x61]
mov rcx, rdx
call fcn.140077564
mov rcx, qword [rbp - 0x21]
call fcn.140077564
cmp r13d, ebx
jne 0x1400520fd
movzx r14d, r14b
test r13d, r13d
cmovne r14d, edi
mov al, r14b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14008c320
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp al, 0xe9
jne 0x1400520b4
cmp byte [r9], 0x51
jne 0x1400520b4
cmp byte [rsi + 3], 0x75
jne 0x1400520b4
cmp byte [rsi + 4], 0x65
jne 0x1400520b4
cmp byte [rsi + 5], 0x72
jne 0x1400520b4
cmp byte [rsi + 6], 0x79
jne 0x1400520b4
cmp byte [rsi + 7], 0x53
jne 0x1400520b4
cmp byte [rsi + 0xd], 0x54
jne 0x1400520b4
mov ecx, 0x80f
call fcn.140029ab4
mov rcx, rsi
mov rbx, rax
call fcn.14007d320
cmp ebx, dword [rbp - 0x61]
jae 0x1400520ac
cmp eax, 0x40
jae 0x1400520ac
mov ecx, ebx
inc r13d
imul rdi, rcx, 0x58
jmp 0x140052080