Function at 0x2eda32160
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
cmp qword [0x2eda420b0], 0
mov rsi, qword [rsp + 0xc8]
mov r12, rcx
mov r14, rdx
mov ebx, r8d
mov edi, r9d
je 0x2eda324b0
cmp qword [0x2eda420a8], 0
je 0x2eda324e8
cmp qword [0x2eda420a0], 0
je 0x2eda32528
cmp qword [0x2eda42098], 0
je 0x2eda32568
cmp qword [0x2eda42090], 0
je 0x2eda325a8
cmp qword [0x2eda42088], 0
je 0x2eda325e8
cmp qword [0x2eda42080], 0
je 0x2eda32628
cmp qword [0x2eda42078], 0
je 0x2eda32668
cmp qword [0x2eda42070], 0
je 0x2eda326a8
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [0x2eda420a8]
mov r13, rax
test rax, rax
je 0x2eda326e0
lea rbp, [rsp + 0x40]
mov edx, 2
mov rcx, rax
xor r12d, r12d
mov r9d, 4
mov r8, rbp
mov dword [rsp + 0x40], 0xea60
call qword [0x2eda420a0]
mov r8, rbp
mov edx, 5
mov rcx, r13
mov r9d, 4
call qword [0x2eda420a0]
mov r8, rbp
mov edx, 6
mov rcx, r13
mov r9d, 4
call qword [0x2eda420a0]
xor r9d, r9d
movzx r8d, bx
mov rdx, r14
mov qword [rsp + 0x38], 0
mov rcx, r13
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
call qword [0x2eda42090]
mov r15, rax
test rax, rax
je 0x2eda32466
cmp dword [rsp + 0xe8], 1
sbb ebx, ebx
and ebx, 0xff800000
sub ebx, 0x7f380000
cmp edi, 2
je 0x2eda32488
lea rcx, [0x2eda3e3dd]
call fcn.2eda35e40
mov dword [rsp + 0xd8], 0
mov qword [rsp + 0xd0], 0
mov r12, rax
mov rdx, r12
xor r9d, r9d
mov rcx, r15
mov dword [rsp + 0x30], ebx
mov r8, qword [rsp + 0xc0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [0x2eda42088]
mov rcx, r12
xor r12d, r12d
mov r14, rax
call fcn.2eda35ed0
test r14, r14
je 0x2eda3245d
test rsi, rsi
je 0x2eda323ac
lea rcx, [0x2eda3e3fd]
call fcn.2eda35e40
mov rcx, rax
mov r12, rax
call sub.msvcrt.dll_wcslen
mov rcx, rsi
mov rbx, rax
call sub.msvcrt.dll_wcslen
lea rcx, [rbx + rax + 1]
add rcx, rcx
call fcn.2eda34ed0
mov rbx, rax
test rax, rax
je 0x2eda323a1
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_wcscpy
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll_wcscat
mov rcx, r12
mov rsi, rbx
call fcn.2eda35ed0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
mov eax, dword [rsp + 0xd8]
mov r9, qword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
call qword [0x2eda42080]
mov eax, dword [rsp + 0xe8]
test eax, eax
jne 0x2eda326f0
mov ecx, 0x1000
call fcn.2eda34ed0
mov r12, rax
test rax, rax
je 0x2eda32454
xor edi, edi
xor ebx, ebx
lea rsi, [rsp + 0x4c]
jmp 0x2eda3242b
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x2eda32446
lea edx, [rdi + 0x2000]
mov rcx, r12
add ebx, eax
call fcn.2eda34f00
lea ebp, [rdi + 0x1000]
mov r12, rax
mov edi, ebp
mov edx, edi
mov r9, rsi
mov r8d, 0x1000
mov rcx, r14
add rdx, r12
call qword [0x2eda42078]
test eax, eax
jne 0x2eda32408
test ebx, ebx
je 0x2eda324a0
mov rax, qword [rsp + 0xe0]
mov dword [rax], ebx
mov rcx, r14
call qword [0x2eda42070]
mov rcx, r15
call qword [0x2eda42070]
mov rcx, r13
call qword [0x2eda42070]
mov rax, r12
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x2eda3e3ec]
call fcn.2eda35e40
mov r12, rax
jmp 0x2eda32302
mov rcx, r12
xor r12d, r12d
call fcn.2eda34f30
jmp 0x2eda32454
lea rcx, [0x2eda3e2f0]
call fcn.2eda35e40
mov r13, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r13
mov qword [0x2eda420b0], rax
call fcn.2eda35ed0
cmp qword [0x2eda420a8], 0
jne 0x2eda321a0
nop dword [rax]
lea rcx, [0x2eda3e30f]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda420a8], rax
call fcn.2eda35ed0
cmp qword [0x2eda420a0], 0
jne 0x2eda321ae
nop dword [rax]
lea rcx, [0x2eda3e325]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda420a0], rax
call fcn.2eda35ed0
cmp qword [0x2eda42098], 0
jne 0x2eda321bc
nop dword [rax]
lea rcx, [0x2eda3e340]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda42098], rax
call fcn.2eda35ed0
cmp qword [0x2eda42090], 0
jne 0x2eda321ca
nop dword [rax]
lea rcx, [0x2eda3e35d]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda42090], rax
call fcn.2eda35ed0
cmp qword [0x2eda42088], 0
jne 0x2eda321d8
nop dword [rax]
lea rcx, [0x2eda3e376]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda42088], rax
call fcn.2eda35ed0
cmp qword [0x2eda42080], 0
jne 0x2eda321e6
nop dword [rax]
lea rcx, [0x2eda3e38f]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda42080], rax
call fcn.2eda35ed0
cmp qword [0x2eda42078], 0
jne 0x2eda321f4
nop dword [rax]
lea rcx, [0x2eda3e3a8]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda42078], rax
call fcn.2eda35ed0
cmp qword [0x2eda42070], 0
jne 0x2eda32202
nop dword [rax]
lea rcx, [0x2eda3e3c1]
call fcn.2eda35dc0
mov rcx, qword [0x2eda420b0]
mov r13, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r13
mov qword [0x2eda42070], rax
call fcn.2eda35ed0
jmp 0x2eda32202
xor r12d, r12d
jmp 0x2eda3246f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x2eda32708
cmp eax, 0x2f19
jne 0x2eda323e5
lea rbx, [rsp + 0x44]
lea r9, [rsp + 0x48]
mov rcx, r14
mov dword [rsp + 0x48], 4
mov r8, rbx
mov edx, 0x1f
call qword [0x2eda42098]
mov r8, rbx
mov rcx, r14
mov edx, 0x1f
or dword [rsp + 0x44], 0x3180
mov r9d, 4
call qword [0x2eda420a0]
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov eax, dword [rsp + 0xd8]
mov r9, qword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
call qword [0x2eda42080]
jmp 0x2eda323e5