Function at 0x1400ea7d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x1400ea7f0
xor ebp, ebp
jmp 0x1400ea7f4
mov rbp, qword [rcx + 0x70]
lea rax, [rcx + 0x70]
test rdi, rdi
mov esi, WSACleanup
lea r9, [0x1401a0f60]
lea r8, str.Loading_library:__s_n
mov edx, 4
mov rcx, rbp
cmovne rsi, rax
call fcn.1400c9cc0
lea rcx, [0x1401a0f60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1400ea85e
lea r9, [0x1401a0f60]
mov rcx, rbp
lea r8, str.Failed_to_load_library:__s_n
lea edx, [rax + 3]
call fcn.1400c9cc0
mov eax, 0xfffffe70
mov qword [rdi + 0x290], rbx
jmp 0x1400eabd9
mov rbp, qword [rsi]
lea r9, [0x1401a05b0]
mov rcx, rbp
mov qword [rdi + 0x290], rbx
lea r8, str.Loading_symbol:__s_n
mov edx, 4
call fcn.1400c9cc0
lea rdx, [0x1401a05b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400ea8b4
lea r9, [0x1401a05b0]
mov rcx, rbp
lea r8, str.Failed_to_load_symbol:__s_n
lea edx, [rax + 2]
call fcn.1400c9cc0
mov rbp, qword [rsi]
lea r9, str.GetDesktopWindow
mov qword [rdi + 0x298], rbx
lea r8, str.Loading_symbol:__s_n
mov rbx, qword [rdi + 0x290]
mov rcx, rbp
mov edx, 4
call fcn.1400c9cc0
lea rdx, str.GetDesktopWindow
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400ea911
lea r9, str.GetDesktopWindow
mov rcx, rbp
lea r8, str.Failed_to_load_symbol:__s_n
lea edx, [rax + 2]
call fcn.1400c9cc0
mov rbp, qword [rsi]
lea r9, [0x1401a0f80]
mov rcx, rbp
mov qword [rdi + 0x2a0], rbx
lea r8, str.Loading_library:__s_n
mov edx, 4
call fcn.1400c9cc0
lea rcx, [0x1401a0f80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1400ea975
lea r9, [0x1401a0f80]
mov rcx, rbp
lea r8, str.Failed_to_load_library:__s_n
lea edx, [rax + 3]
call fcn.1400c9cc0
mov eax, 0xfffffe70
mov qword [rdi + 0x2a8], rbx
jmp 0x1400eabd9
mov rbp, qword [rsi]
lea r9, str.RegOpenKeyExA
mov rcx, rbp
mov qword [rdi + 0x2a8], rbx
lea r8, str.Loading_symbol:__s_n
mov edx, 4
call fcn.1400c9cc0
lea rdx, str.RegOpenKeyExA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400ea9cb
lea r9, str.RegOpenKeyExA
mov rcx, rbp
lea r8, str.Failed_to_load_symbol:__s_n
lea edx, [rax + 2]
call fcn.1400c9cc0
mov rbp, qword [rsi]
lea r9, [0x1401a0460]
mov qword [rdi + 0x2b0], rbx
lea r8, str.Loading_symbol:__s_n
mov rbx, qword [rdi + 0x2a8]
mov rcx, rbp
mov edx, 4
call fcn.1400c9cc0
lea rdx, [0x1401a0460]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400eaa28
lea r9, [0x1401a0460]
mov rcx, rbp
lea r8, str.Failed_to_load_symbol:__s_n
lea edx, [rax + 2]
call fcn.1400c9cc0
mov rbp, qword [rsi]
lea r9, str.RegQueryValueExA
mov qword [rdi + 0x2b8], rbx
lea r8, str.Loading_symbol:__s_n
mov rbx, qword [rdi + 0x2a8]
mov rcx, rbp
mov edx, 4
call fcn.1400c9cc0
lea rdx, str.RegQueryValueExA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400eaa85
lea r9, str.RegQueryValueExA
mov rcx, rbp
lea r8, str.Failed_to_load_symbol:__s_n
lea edx, [rax + 2]
call fcn.1400c9cc0
mov rbp, qword [rsi]
lea r9, [0x1401a0f90]
mov rcx, rbp
mov qword [rdi + 0x2c0], rbx
lea r8, str.Loading_library:__s_n
mov edx, 4
call fcn.1400c9cc0
lea rcx, [0x1401a0f90]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1400eaae9
lea r9, [0x1401a0f90]
mov rcx, rbp
lea r8, str.Failed_to_load_library:__s_n
lea edx, [rax + 3]
call fcn.1400c9cc0
mov eax, 0xfffffe70
mov qword [rdi + 0x250], rbx
jmp 0x1400eabd9
mov rcx, qword [rsi]
lea r8, [0x1401a13a8]
mov rdx, rbx
mov qword [rdi + 0x250], rbx
call fcn.1400db120
mov rdx, qword [rdi + 0x250]
lea r8, [0x1401a0578]
mov rcx, qword [rsi]
mov qword [rdi + 0x258], rax
call fcn.1400db120
mov rdx, qword [rdi + 0x250]
lea r8, [0x1401a1398]
mov rcx, qword [rsi]
mov qword [rdi + 0x260], rax
call fcn.1400db120
mov rdx, qword [rdi + 0x250]
lea r8, [0x1401a1800]
mov rcx, qword [rsi]
mov qword [rdi + 0x268], rax
call fcn.1400db120
mov rdx, qword [rdi + 0x250]
lea r8, [0x1401a1788]
mov rcx, qword [rsi]
mov qword [rdi + 0x270], rax
call fcn.1400db120
mov rdx, qword [rdi + 0x250]
lea r8, str.PropVariantClear
mov rcx, qword [rsi]
mov qword [rdi + 0x278], rax
call fcn.1400db120
mov rdx, qword [rdi + 0x250]
lea r8, str.StringFromGUID2
mov rcx, qword [rsi]
mov qword [rdi + 0x280], rax
call fcn.1400db120
mov qword [rdi + 0x288], rax
xor ecx, ecx
mov rax, qword [rdi + 0x260]
test rax, rax
je 0x1400eabcb
xor edx, edx
call rax
jmp 0x1400eabd1
call qword [rdi + 0x258]
mov dword [rdi + 0x2c8], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret