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

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, qword [rcx + 0x1b8]
mov rsi, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test r14, r14
je 0x14008769a
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r15
nop dword [rax]
nop word [rax + rax]
movsxd rcx, dword [r14 + 0x10]
mov r13d, dword [r14 + 0x14]
shl rcx, 5
add rcx, qword [rax + 0x20]
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x140087450
inc dword [rsi + 0x54]
mov ebp, dword [rsi + 0x54]
jmp 0x14008745c
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + rax*4 + 0x24]
mov rax, qword [rcx + 0x18]
mov rcx, rsi
mov r15d, dword [r14 + 0x10]
mov rbx, qword [rax + 0x68]
call fcn.140094390
mov rcx, qword [rbx]
mov r9b, 1
mov r8d, dword [rbx + 0x38]
mov edx, r15d
mov qword [rsp + 0x20], rcx
mov r12, rax
mov rcx, rsi
call fcn.140076350
test byte [rbx + 0x46], 0x20
jne 0x1400874b5
movsx ecx, word [rbx + 0x3e]
xor r8d, r8d
mov r9d, dword [rbx + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, r12
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0x37]
call fcn.140056360
jmp 0x1400874f5
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1400874d2
nop
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1400874d2
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400874c0
mov r9d, dword [rbx + 0x58]
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0x37]
call fcn.140056030
mov rdx, rbx
mov rcx, rsi
call fcn.140056bb0
xor r12d, r12d
lea r15d, [r13 + 1]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov rcx, rdi
lea edx, [r12 + 0x4d]
call fcn.140056030
mov r9d, r15d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea edx, [r12 + 0x4b]
mov rcx, rdi
mov ebx, eax
call fcn.140056030
mov edx, dword [rdi + 0x3c]
mov rcx, qword [rdi + 0x30]
dec edx
mov dword [rcx + 0x64], edx
mov edx, dword [rdi + 0x3c]
test ebx, ebx
jns 0x140087544
lea ebx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x51], r12b
je 0x140087556
lea rax, [0x140330198]
jmp 0x140087565
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x140087581
mov rcx, rdi
call fcn.140055f80
test eax, eax
jne 0x1400875b0
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
inc dword [rdi + 0x3c]
mov word [rax + rcx*8], gethostbyname
mov byte [rax + rcx*8 + 3], r12b
lea rdx, [rax + rcx*8]
lea eax, [r13 - 1]
mov dword [rdx + 8], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0xc], ebp
mov qword [rdx + 0x10], r12
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x1400875c9
mov rcx, rdi
call fcn.140055f80
test eax, eax
jne 0x1400875f2
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
inc dword [rdi + 0x3c]
mov word [rax + rcx*8], 0x54
mov byte [rax + rcx*8 + 3], r12b
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rdi]
mov ecx, dword [rdi + 0x3c]
dec ecx
cmp byte [rax + 0x51], r12b
je 0x140087609
lea rax, [0x140330198]
jmp 0x140087618
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea rax, [rax + rcx*8]
xor r9d, r9d
mov byte [rax + 3], 8
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.140056030
test ebp, ebp
je 0x140087670
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x140087670
mov ecx, r12d
lea rax, [rsi + 0x88]
nop word [rax + rax]
cmp dword [rax + 0xc], ebp
je 0x14008766c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140087650
movzx eax, dl
mov dword [rsi + rax*4 + 0x24], ebp
inc byte [rsi + 0x1f]
jmp 0x140087670
mov byte [rax + 6], 1
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
test r14, r14
jne 0x140087430
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret