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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rsp + 0x98]
mov r12d, r9d
mov r15, qword [rcx + 0x10]
mov ebp, r8d
mov rdi, rdx
mov rbx, rcx
test rsi, rsi
je 0x140080569
cmp qword [rdx + 0x48], 0
je 0x140080563
mov rcx, r15
call fcn.140056400
mov dword [rsi], eax
mov rcx, rbx
inc dword [rbx + 0x70]
mov dword [rbx + 0x6c], ebp
mov r8d, dword [rsi]
mov rdx, qword [rdi + 0x48]
call fcn.140071790
jmp 0x140080569
mov dword [rsi], 0
cmp dword [rsp + 0x90], 0
je 0x14008057f
test byte [rdi + 0x64], 8
je 0x14008057f
movzx eax, word [rdi + 0x5e]
jmp 0x140080583
movzx eax, word [rdi + 0x60]
mov ecx, dword [rbx + 0x44]
mov ebp, dword [rbx + 0x48]
movzx r14d, ax
mov dword [rsp + 0x98], r14d
mov dword [rsp + 0x90], ebp
cmp r14d, ecx
jg 0x1400805b0
lea eax, [r14 + rbp]
sub ecx, r14d
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], ecx
jmp 0x1400805c3
mov eax, dword [rbx + 0x54]
lea ebp, [rax + 1]
add eax, r14d
mov dword [rbx + 0x54], eax
mov dword [rsp + 0x90], ebp
mov r13, qword [rsp + 0xa0]
test r13, r13
je 0x1400805e3
cmp ebp, dword [rsp + 0xa8]
jne 0x1400805e0
cmp qword [r13 + 0x48], 0
je 0x1400805e3
xor r13d, r13d
xor esi, esi
mov rax, r14
mov qword [rsp + 0xa0], rax
test r14d, r14d
je 0x1400806bd
mov r14d, ebp
xor r12d, r12d
mov ebp, dword [rsp + 0x80]
test r13, r13
je 0x140080623
mov rax, qword [r13 + 8]
movzx ecx, word [rax + rsi*2]
mov rax, qword [rdi + 8]
cmp cx, word [rax + rsi*2]
jne 0x140080623
cmp cx, 0xfffe
jne 0x14008068e
mov rax, qword [rdi + 8]
movzx ecx, word [rax + rsi*2]
cmp cx, 0xfffe
jne 0x14008064d
mov dword [rbx + 0x6c], ebp
mov r8d, r14d
mov rax, qword [rdi + 0x50]
mov rcx, rbx
mov rdx, qword [rax + 8]
mov rdx, qword [rdx + r12]
call fcn.140070990
jmp 0x140080666
mov rdx, qword [rdi + 0x18]
mov r8d, ebp
movsx r9d, cx
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x20], r14d
call fcn.14006f350
mov rax, qword [r15 + 0x30]
mov edx, dword [r15 + 0x3c]
dec edx
cmp edx, dword [rax + 0x64]
jle 0x14008068e
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 8]
cmp byte [rax + rcx*8], 0x27
jne 0x14008068e
mov rcx, r15
call fcn.140056a30
inc r14d
inc rsi
add r12, 0x28
cmp rsi, qword [rsp + 0xa0]
jl 0x140080606
mov ebp, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x98]
mov r12d, dword [rsp + 0x88]
test r12d, r12d
je 0x1400806da
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov r8d, ebp
mov edx, gethostbyname
mov rcx, r15
call fcn.140056030
lea r9d, [rbp - 1]
mov r8d, 0xa
add r9d, r14d
lea rcx, [rbx + 0x94]
xor r10d, r10d
mov edx, dword [rcx]
cmp edx, ebp
jl 0x14008071b
cmp edx, r9d
jg 0x14008071b
cmp byte [rcx - 6], r10b
je 0x140080718
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140080714
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], r10b
mov dword [rcx], r10d
add rcx, 0x14
sub r8, 1
jne 0x1400806f1
mov eax, ebp
cmp r14d, dword [rbx + 0x44]
jle 0x140080734
mov dword [rbx + 0x44], r14d
mov dword [rbx + 0x48], ebp
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret