Function at 0x140034e84
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x8f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + DDP_Radio], rax
xor edi, edi
mov r12d, edi
mov r14d, edi
mov qword [r11 - 0x880], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x40], edi
mov esi, edi
mov ecx, 0x1000
call fcn.140027d58
mov r15, rax
mov qword [rsp + 0x68], rax
cmp qword [0x140049418], rdi
jne 0x140034f12
lea rcx, [0x140001458]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140049418], rax
test rax, rax
je 0x14003538d
lea rdx, [0x14000ba28]
mov rcx, qword [0x140049418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14003538d
lea rdx, [0x14000ba30]
mov rcx, qword [0x140049418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14003538d
lea rdx, [0x14000ba48]
mov rcx, qword [0x140049418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14003538d
lea rdx, [0x14000ba60]
mov rcx, qword [0x140049418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x14003538d
lea rdx, [0x14000ba80]
mov rcx, qword [0x140049418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x14003538d
lea rax, [0x14000baa0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x160014
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0xa8], 0x40
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rdi
lea r8, [rsp + 0x90]
mov edx, 1
lea rcx, [rsp + 0x48]
call rbx
test eax, eax
js 0x14003538d
xor edx, edx
mov r8d, 0x1000
mov rcx, r15
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0xe0]
call sub.msvcrt.dll_memset
or rdi, 0xffffffffffffffff
xor ecx, ecx
mov rbx, qword [rsp + 0x80]
test rsi, rsi
jne 0x140035277
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], cl
xor r9d, r9d
mov r8d, 0x800
mov rdx, r15
mov rcx, qword [rsp + 0x48]
call rbx
xor ecx, ecx
test eax, eax
js 0x14003521e
mov rbx, r15
mov qword [rsp + 0x78], rbx
test rsi, rsi
jne 0x140035207
cmp word [rbx], cx
je 0x140035207
lea rdx, [0x14000bab8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
xor ecx, ecx
test eax, eax
jne 0x1400351fe
lea rdx, [0x14000bad8]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.msvcrt.dll__wcsicmp]
xor ecx, ecx
test eax, eax
jne 0x1400351fe
mov dword [rsp + 0x90], 0x30
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa8], 0x40
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rcx
lea r8, [rsp + 0x90]
lea edx, [rsi + 1]
lea rcx, [rsp + 0x60]
call r13
xor ecx, ecx
test eax, eax
js 0x1400351f9
xor edx, edx
mov r8d, 0x1000
mov rcx, r15
call sub.msvcrt.dll_memset
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x50], 0x10000000
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0xd0]
xor edx, edx
test eax, eax
js 0x1400351ea
movzx ecx, word [rsp + 0x50]
shr rcx, 1
mov rax, qword [rsp + 0x58]
mov word [rax + rcx*2], dx
mov r8d, 0x800
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.msvcrt.dll_wcstombs]
mov ecx, 0x800
cmp rax, rcx
jae 0x1400351ea
mov edx, ecx
lea rcx, [rsp + 0xe0]
call fcn.140027fbc
lea rdx, [rsp + 0xe0]
mov rax, rdi
xor ecx, ecx
inc rax
cmp byte [rdx + rax], cl
jne 0x1400351cf
lea rsi, [rsp + 0xe0]
add rsi, rax
mov qword [rsp + 0xc0], rsi
mov rcx, qword [rsp + 0x60]
call r14
xor ecx, ecx
mov qword [rsp + 0x60], rcx
test rsi, rsi
je 0x140035207
add rbx, 0x20
jmp 0x1400350a3
mov eax, 0x1000
mov r8d, eax
xor edx, edx
mov rcx, r15
call sub.msvcrt.dll_memset
jmp 0x140035058
test rsi, rsi
jne 0x140035277
mov edx, 0x800
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor r9d, r9d
test eax, eax
je 0x14003538b
mov edx, 0x800
lea rcx, [rsp + 0xe0]
call fcn.140027fbc
lea rcx, [rsp + 0xe0]
inc rdi
cmp byte [rcx + rdi], r9b
jne 0x14003525b
lea rsi, [rsp + 0xe0]
add rsi, rdi
mov qword [rsp + 0xc0], rsi
lea r13, [rsp + 0x8e0]
sub r13d, esi
xor edi, edi
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], dil
xor r9d, r9d
mov r8d, 0x800
mov rdx, r15
mov rcx, qword [rsp + 0x48]
call rbx
test eax, eax
js 0x140035348
mov rdi, r15
mov qword [rsp + 0x78], r15
xor ebx, ebx
cmp word [rdi], bx
je 0x140035327
lea rdx, [0x14000baf8]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14003531c
mov ebx, r13d
mov r8d, r13d
mov rdx, qword [rdi + 8]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcstombs]
cmp rax, rbx
jae 0x14003531a
xor r9d, r9d
lea r8, [rsp + 0xe0]
lea edx, [r9 + 4]
mov rcx, r12
call fcn.1400345f4
mov r12, rax
mov qword [rsp + 0xc8], rax
xor ebx, ebx
add rdi, 0x20
mov qword [rsp + 0x78], rdi
jmp 0x1400352c6
mov eax, 0x1000
mov r8d, eax
xor edx, edx
mov rcx, r15
call sub.msvcrt.dll_memset
mov rbx, qword [rsp + 0x80]
xor edi, edi
jmp 0x140035288
mov r8d, 0x800
lea rdx, [rsp + 0xe0]
mov rcx, qword [0x140049418]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14003538d
xor r9d, r9d
lea r8, [rsp + 0xe0]
lea edx, [r9 + 4]
mov rcx, r12
call fcn.1400345f4
mov r12, rax
mov qword [rsp + 0xc8], rax
jmp 0x14003538d
xor edi, edi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400353a8
cmp qword [0x140049418], rdi
je 0x1400353a8
test r14, r14
je 0x1400353a8
call r14
lea rcx, [rsp + 0x68]
call fcn.140027d90
mov rax, r12
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.14003f730
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret