Function at 0x14008a810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor r15d, r15d
mov rdi, rcx
lea rcx, [rsp + 0x61]
mov esi, r15d
xor edx, edx
mov r8d, 0x400
mov byte [rsp + 0x60], sil
mov dword [rsp + 0x48], r15d
call fcn.14000cbf0
mov r12d, 1
mov r14d, r15d
mov dword [rsp + 0x44], r15d
mov ebp, r12d
mov dword [rsp + 0x5c], r12d
test rdi, rdi
jne 0x14008a87e
lea eax, [rdi - 0x2a]
jmp 0x14008ae81
mov rax, qword [rdi + 0x260]
mov qword [rsp + 0x4b8], rbx
test rax, rax
je 0x14008a8b1
mov rcx, qword [rax + 0x2630]
test rcx, rcx
je 0x14008a8b1
call fcn.140064760
mov rax, qword [rdi + 0x260]
mov qword [rax + 0x2630], r15
mov rdx, qword [rdi + 0xf8]
lea rcx, [rsp + 0x60]
xor r8d, r8d
add rdx, 0xccd
mov qword [rsp + 0x4c0], r13
call fcn.14002a840
mov rbx, qword [rdi + 0x1a0]
test rbx, rbx
je 0x14008ae54
test ebp, ebp
je 0x14008a922
mov rax, qword [rbx + 0x2e8]
test rax, rax
je 0x14008a922
cmp qword [rax + 0x260], 0
je 0x14008a922
test byte [rax + 0x3ab], 1
jne 0x14008a922
mov rdx, rbx
mov rcx, rdi
call fcn.140089180
mov dword [rsp + 0x5c], r15d
test eax, eax
cmovne r14d, r12d
mov dword [rsp + 0x44], r14d
mov rcx, qword [rdi + 0xf8]
lea rdx, [rbx + 0x2fc]
xor r8d, r8d
add rcx, 0xccd
call fcn.14002a840
cmp byte [rbx + 8], 0
lea rsi, [rbx + 8]
je 0x14008ad79
movzx r8d, word [rbx + 0x2e0]
test r8b, 1
jne 0x14008a977
test r8b, 2
jne 0x14008a977
test r8b, 8
jne 0x14008a977
mov rcx, rdi
call fcn.14008a7c0
test eax, eax
je 0x14008ad79
movsx ebp, r8w
or r13d, 0xffffffff
mov eax, 2
test bpl, 4
mov r10d, r15d
mov dword [rsp + 0x40], ebp
cmovne r10d, eax
mov dword [rsp + 0x58], r10d
cmp dword [rdi + 0x194], eax
jne 0x14008aa3f
test al, r8b
jne 0x14008aa3f
test r8b, 8
jne 0x14008aa3f
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x50], r15
call fcn.140059220
mov rcx, rdi
test eax, eax
jne 0x14008ae1f
mov r8, qword [rbx + 0x2e8]
mov rdx, qword [rsp + 0x50]
call fcn.1400b8c70
mov rcx, qword [rsp + 0x50]
lea rdx, str.PORT_AT_HOST_PLUS
add rcx, 0x248
xor r8d, r8d
call fcn.14002a840
mov rax, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x58]
mov ecx, 0x64
mov word [rax], cx
mov rax, qword [rbx + 0x2e8]
mov rcx, qword [rax + 0x420]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x420], rcx
mov rcx, qword [rbx + 0x2e8]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x420], rax
mov rcx, qword [rbx + 0x2e8]
test rcx, rcx
je 0x14008aaaf
mov rdx, qword [rcx + 0x280]
test rdx, rdx
je 0x14008aaaf
movzx eax, word [rbx + 0x2e0]
test al, 2
jne 0x14008aaaf
test al, 8
jne 0x14008aaaf
cmp word [rdx + 2], 0
je 0x14008aaaf
test byte [rdi + 0x1a8], 2
jne 0x14008aaaf
lea rax, [rbx + 0x40]
mov rdx, rcx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r10d
lea r9, [rbx + 0x27]
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140095870
mov r13d, eax
cmp eax, 0xfffffff5
jne 0x14008ac62
mov r13d, r15d
jmp 0x14008ac62
test r14d, r14d
jne 0x14008aaca
test byte [rcx + 0x3ab], 1
jne 0x14008aaca
test byte [rbx + 0x2e0], 2
je 0x14008ac62
mov rax, qword [rdi + 0xf0]
mov ecx, dword [rax + 0x1c]
cmp dword [rbx + 0x3c], ecx
je 0x14008aae0
mov dword [rbx + 0x708], r15d
mov ebp, dword [rbx + 0x34]
mov rcx, rbx
sub ebp, dword [rbx + 0x708]
call fcn.1400913c0
mov edx, dword [rsp + 0x58]
test eax, eax
je 0x14008adaf
cmp edx, 2
je 0x14008adaf
test ebp, ebp
jle 0x14008adaf
mov eax, 1
lea rcx, [rbx + 0x40]
lea rdx, [rbx + 0x27]
mov esi, eax
mov r14d, eax
movsx eax, word [rbx + 0x2e2]
mov r8, rdx
lea rdx, [rbx + 8]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov r9d, ebp
mov dword [rsp + 0x20], 5
call fcn.140093b00
mov r13d, eax
test eax, eax
jne 0x14008ad92
mov ecx, dword [rbx + 0x708]
test ecx, ecx
js 0x14008ac46
mov eax, dword [rbx + 0x70c]
test eax, eax
jle 0x14008ac46
mov ebp, dword [rbx + 0x34]
add eax, ecx
inc r12d
sub ebp, eax
mov dword [rbx + 0x708], eax
test r14d, r14d
je 0x14008abeb
mov rax, qword [rdi + 0xf0]
test rax, rax
je 0x14008ab97
mov edx, dword [rax + 0x14]
jmp 0x14008ab9a
or edx, 0xffffffff
mov rax, qword [rdi + 0x260]
lea r8, [rbx + 8]
mov rcx, rdi
mov r9d, dword [rax + 0x25ac]
call fcn.1400b8570
test eax, eax
jne 0x14008abd1
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov dword [rsp + 0x50], eax
call fcn.1400b8bf0
test eax, eax
cmove r15d, dword [rsp + 0x50]
mov esi, r15d
test r15d, r15d
jg 0x14008abeb
mov esi, dword [rbx + 0x700]
mov eax, 1
inc esi
test esi, esi
cmovle esi, eax
xor r14d, r14d
test ebp, ebp
jle 0x14008ac03
lea rcx, [rbx + 0x40]
lea rdx, [rbx + 0x27]
cmp r12d, esi
jle 0x14008ab20
mov eax, dword [rbx + 0x34]
xor r15d, r15d
sub eax, dword [rbx + 0x708]
test eax, eax
jle 0x14008ac4f
mov r13d, 0xffffff28
mov qword [rsp + 0x30], r15
lea r8d, [r15 + 0x18]
xor r9d, r9d
mov rcx, rdi
mov edx, r13d
mov dword [rsp + 0x28], 0xff
mov dword [rdi + 0x88], r13d
mov qword [rsp + 0x20], r15
call fcn.14006b500
jmp 0x14008ac4f
mov r13d, 0xffffff28
xor r15d, r15d
mov r14d, dword [rsp + 0x44]
lea rsi, [rbx + 8]
mov r12d, 1
mov ebp, dword [rsp + 0x40]
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x14008ade2
test r13d, r13d
jne 0x14008ae08
test bpl, 1
je 0x14008ad65
mov rax, qword [rbx + 0x2e8]
test rax, rax
je 0x14008ac9a
cmp byte [rax + 0x3ab], 0
jne 0x14008ad65
mov rcx, qword [rdi + 0xf8]
cmp qword [rcx + 0x40], 0
jne 0x14008acba
cmp qword [rcx + 0x50], 0
jne 0x14008acba
cmp qword [rcx + 0x68], 0
je 0x14008ad65
mov r10, qword [rcx + 0x68]
test r10, r10
je 0x14008acea
mov rax, qword [rcx + 0x1150]
mov r9d, dword [rcx + 0x20]
mov r8d, dword [rdi + 0x194]
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x20], eax
call r10
mov rax, qword [rdi + 0xf8]
mov r10, qword [rax + 0x40]
test r10, r10
je 0x14008ad0e
mov r9d, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
mov edx, dword [rdi + 0x194]
mov rcx, rsi
call r10
mov rcx, qword [rdi + 0xf8]
cmp qword [rcx + 0x50], 0
je 0x14008ad65
cmp qword [rcx + 0x1188], 0
je 0x14008ad65
mov eax, dword [rbx + 0x708]
mov r9d, dword [rcx + 0x20]
mov r8d, dword [rdi + 0x194]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x34]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x18]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14008b100
mov rax, qword [rdi + 0xf8]
mov rcx, qword [rax + 0x1188]
call qword [rax + 0x50]
lea rcx, [rbx + 0x708]
call fcn.1400913f0
and word [rbx + 0x2e0], 0xfffe
mov esi, dword [rsp + 0x48]
mov rbx, qword [rbx]
test rbx, rbx
je 0x14008ae54
mov ebp, dword [rsp + 0x5c]
jmp 0x14008a8e4
cmp eax, 0xfffffff1
je 0x14008ada0
cmp eax, 0xfffffffd
jne 0x14008ac4c
xor r15d, r15d
mov dword [rbx + 0x708], r15d
jmp 0x14008ac4f
movsx eax, word [rbx + 0x2e2]
mov r9d, dword [rbx + 0x34]
lea rcx, [rbx + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
lea r8, [rbx + 0x27]
mov rdx, rsi
mov rcx, rdi
call fcn.140093b00
mov r13d, eax
jmp 0x14008ac5e
cmp eax, 2
jne 0x14008ac77
lea eax, [r13 + 0x23]
cmp eax, 0x23
ja 0x14008ae08
movabs rcx, 0x880000001
bt rcx, rax
jb 0x14008ac77
mov esi, dword [rdi + 0x88]
or word [rbx + 0x2e0], 1
mov dword [rsp + 0x48], esi
jmp 0x14008ad7d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov r8d, 0x259
lea edx, [r9 - 0x28]
mov dword [rsp + 0x28], 0xff
mov dword [rdi + 0x88], 0xffffffd8
mov qword [rsp + 0x20], r15
call fcn.14006b500
mov eax, 0xffffffd8
jmp 0x14008ae71
mov rcx, qword [rdi + 0xf8]
lea rdx, [rsp + 0x60]
xor r8d, r8d
add rcx, 0xccd
call fcn.14002a840
mov eax, esi
mov r13, qword [rsp + 0x4c0]
mov rbx, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14000c9f0
mov rbp, qword [rsp + 0x4c8]
add rsp, 0x480
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret