Function at 0x14008d800
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp], rax
mov r15, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov rdi, rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], r13b
mov dword [rsp + 0x30], 0x20
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.14001a4c0
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0xc0]
call fcn.140025730
nop
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], r13b
mov dword [rsp + 0x30], 0xe0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.14001a4c0
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x20], rbx
lea r8, str.Trying_to_load_library__s_from__s
lea edx, [r13 + 5]
mov rcx, rdi
call fcn.14001de90
nop
lea rcx, [rbp - 0x40]
call fcn.140008a50
nop
lea rcx, [rsp + 0x60]
call fcn.140008840
nop
lea rcx, [rsp + 0x38]
call fcn.140008a50
cmp qword [rsi + 0xf0], r13
je 0x14008d93a
lea rcx, [rsi + 0xe0]
mov rdx, r15
call fcn.140022bf0
test eax, eax
je 0x14008e0d6
mov rcx, rsi
call fcn.14008e580
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x14008d94f
mov rcx, qword [r15]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14008dff3
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r13
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0xc0]
call fcn.140025730
nop
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rbx, qword [rsp + 0x60]
lea rdx, [0x14014f594]
lea rcx, [rbp - 0x78]
call fcn.14004cc80
mov rdi, rax
lea rdx, [0x14014ce5c]
test rbx, rbx
cmovne rdx, rbx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14008d9d0
lea rcx, [rsp + 0x38]
call fcn.1400088b0
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140025150
nop
lea rcx, [rsp + 0x38]
call fcn.140008840
nop
lea rcx, [rbp - 0x78]
call fcn.140008840
nop
lea rcx, [rsp + 0x60]
call fcn.140008840
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0xc0]
call fcn.140025730
nop
mov dword [rsp + 0x30], 0xf41
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.140025150
nop
mov dword [rsp + 0x30], 0xf43
mov rcx, rax
call fcn.140026d90
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.140026d90
cmp rax, rbx
jbe 0x14008da81
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call fcn.14002b120
cmp eax, 1
jne 0x14008da81
movzx ebx, al
jmp 0x14008da83
xor bl, bl
lea rcx, [rbp - 0x78]
call fcn.140008840
nop
mov edi, 0xf40
lea rcx, [rsp + 0x60]
call fcn.140008840
test bl, bl
je 0x14008db08
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x20]
call fcn.140024f90
nop
mov rcx, qword [rbp - 0x38]
cmp rcx, qword [rbp - 0x30]
je 0x14008daef
cmp qword [rax + 0x18], 8
jb 0x14008dac2
mov rax, qword [rax]
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x14008dad5
mov rdx, rax
call fcn.1400088b0
add qword [rbp - 0x38], 0x20
jmp 0x14008daff
mov r8, rax
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.1400247c0
nop
lea rcx, [rbp - 0x78]
call fcn.140008840
mov rax, qword [rbp - 0x38]
cmp rax, qword [rbp - 0x30]
je 0x14008db57
cmp qword [r15 + 0x18], 8
jb 0x14008db1c
mov r15, qword [r15]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
nop dword [rax]
inc r14
cmp word [r15 + r14*2], 0
jne 0x14008db30
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.1400088b0
mov rax, qword [rbp - 0x38]
add rax, 0x20
mov qword [rbp - 0x38], rax
jmp 0x14008db6a
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400247c0
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x80], rax
mov r12, qword [rbp - 0x40]
cmp r12, rax
je 0x14008dfdb
lea r13, [rsi + 0xe0]
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov rcx, rsi
call fcn.14008e580
lea r8, [rsi + 0xc0]
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.140025150
nop
cmp r13, rax
je 0x14008dbc3
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14008dbb7
mov rax, qword [rax]
mov rdx, rax
mov rcx, r13
call fcn.1400088b0
nop
lea rcx, [rbp - 0x78]
call fcn.140008840
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14008dbda
mov rcx, qword [r13]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14008dbf6
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140087010
nop
jmp 0x14008dfbf
mov rdx, r13
lea rcx, [rbp - 0x78]
call fcn.1400244a0
cmp qword [rax + 0x18], 8
jb 0x14008dc0c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
lea rcx, [rbp - 0x78]
call fcn.140008840
mov qword [rsi + 0x100], r14
test r14, r14
jne 0x14008dc70
mov qword [rsp + 0x30], r14
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140087010
mov rax, qword [rbp - 0x48]
mov rbx, qword [rsp + 0x30]
mov qword [rbp - 0x48], rbx
mov qword [rsp + 0x30], rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
mov r14, qword [rsi + 0x100]
mov r15, qword [rsi + 0x128]
xor r8d, r8d
test r15, r15
jne 0x14008dd81
mov r15d, r8d
test r14, r14
je 0x14008dd81
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14008dc9c
mov rdx, qword [rsi]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x100]
mov qword [rsi + 0x110], rax
lea rdx, [rsi + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x14008dcc1
mov rdx, qword [rdx]
test rcx, rcx
je 0x14008dcd8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x100]
xor r8d, r8d
jmp 0x14008dce1
xor r8d, r8d
mov eax, r8d
mov ecx, r8d
mov qword [rsi + 0x118], rax
lea rdx, [rsi + 0x40]
cmp qword [rdx + 0x18], 0x10
jb 0x14008dcf6
mov rdx, qword [rdx]
test rcx, rcx
je 0x14008dd0d
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x100]
xor r8d, r8d
jmp 0x14008dd13
mov rax, r8
mov rcx, r8
mov qword [rsi + 0x120], rax
lea rdx, [rsi + 0x60]
cmp qword [rdx + 0x18], 0x10
jb 0x14008dd28
mov rdx, qword [rdx]
test rcx, rcx
je 0x14008dd42
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov rcx, qword [rsi + 0x100]
xor r8d, r8d
jmp 0x14008dd48
mov r15, r8
mov rcx, r8
mov qword [rsi + 0x128], r15
lea rdx, [rsi + 0x80]
cmp qword [rdx + 0x18], 0x10
jb 0x14008dd60
mov rdx, qword [rdx]
test rcx, rcx
je 0x14008dd77
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, qword [rsi + 0x128]
xor r8d, r8d
jmp 0x14008dd7a
mov rax, r8
mov qword [rsi + 0x130], rax
mov byte [rsi + 0x108], 1
test rbx, rbx
je 0x14008ddf2
cmp qword [rbx + 0x10], 0
je 0x14008ddf2
mov qword [rsp + 0x30], r8
lea rdx, [0x140154e14]
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x58]
call fcn.1400872f0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140087010
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbx]
mov qword [rbp - 0x48], rcx
mov qword [rbx], rdx
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.140087010
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov r14, rax
test r15, r15
je 0x14008de2b
lea rbx, [0x1401490f7]
jmp 0x14008de91
mov edx, 0xffffffff
lea rcx, [rbp - 0x78]
call fcn.14002aa00
nop
or edi, 4
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x58], 0
cmp qword [rax + 0x18], 0x10
jb 0x14008de54
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140087010
nop
or edi, 8
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400872f0
nop
or edi, 0x10
mov rbx, qword [rax]
test rbx, rbx
je 0x14008de91
cmp qword [rbx + 0x18], 0x10
jb 0x14008de91
mov rbx, qword [rbx]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
bts edi, 0xc
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.14001a4c0
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
lea r9, str.Failed_to
test r15, r15
lea rcx, str.Successfully
cmovne r9, rcx
mov edx, 2
mov ecx, 5
cmovne edx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r8, str._s_load_ADP_SDK_library_from__s.__s
mov rcx, r14
call fcn.14001de90
btr edi, 0xc
lea rcx, [rsp + 0x38]
call fcn.140008a50
nop
test dil, 0x10
je 0x14008df31
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140087010
nop
test dil, 8
je 0x14008df4b
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140087010
nop
test dil, 4
je 0x14008df5d
and edi, 0xfffffffb
lea rcx, [rbp - 0x78]
call fcn.140008a50
cmp r13, r12
je 0x14008df7e
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14008df71
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, r13
call fcn.1400088b0
mov rax, qword [rsi + 0x118]
test rax, rax
je 0x14008df9f
lea rcx, [rsi + 0xa0]
cmp qword [rcx + 0x18], 0x10
jb 0x14008df9b
mov rcx, qword [rcx]
call rax
jmp 0x14008dfae
mov rax, qword [rsi + 0x110]
test rax, rax
je 0x14008dfae
call rax
nop
test r15, r15
jne 0x14008dfcf
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140087010
nop
add r12, 0x20
cmp r12, qword [rbp - 0x80]
jne 0x14008db82
jmp 0x14008dfdb
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140087010
nop
lea rcx, [rbp - 0x20]
call fcn.140008840
nop
lea rcx, [rbp - 0x40]
call fcn.140024560
jmp 0x14008e0d6
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov rdi, rax
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov dword [rsp + 0x30], 0x2040
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.14001a4c0
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0xc0]
call fcn.140025730
nop
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0xe040
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001a4c0
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r9, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
lea r8, str.Library__s_not_found__s
mov edx, 3
mov rcx, rdi
call fcn.14001de90
nop
lea rcx, [rsp + 0x38]
call fcn.140008a50
nop
lea rcx, [rsp + 0x60]
call fcn.140008840
nop
lea rcx, [rbp - 0x40]
call fcn.140008a50
cmp qword [rsi + 0x128], 0
setne al
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400e9d60
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret