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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx]
movzx esi, byte [rdx + 0x20]
mov rbx, qword [rcx + 0x10]
mov eax, dword [rax]
inc dword [rcx + 0x58]
mov rdi, rdx
mov edx, dword [rcx + 0x58]
not esi
mov r14, rcx
mov ecx, dword [rdi + 8]
and esi, 1
mov dword [rsp + 0x98], eax
lea r15d, [rax + rsi]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0xa0], ecx
add r15d, dword [rsp + 0xb8]
cmp dword [rsp + 0xc0], 0
je 0x18007e257
mov ebp, r9d
sub ebp, eax
sub ebp, esi
jmp 0x18007e262
lea eax, [rdx + r15]
lea ebp, [rdx + 1]
mov dword [r14 + 0x58], eax
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x18007e26e
inc eax
jmp 0x18007e272
mov eax, dword [r8 + 0x10]
mov r13, qword [rbx + 0x30]
mov dword [rsp + 0x90], eax
movsxd r12, dword [r13 + 0x80]
lea eax, [r12 + 1]
mov dword [r13 + 0x80], eax
lea eax, [r12 - 1]
test r12d, eax
jne 0x18007e2bd
mov rdx, qword [r13 + 0x88]
mov rcx, qword [r13]
lea eax, [r12 + r12 + 1]
movsxd r8, eax
shl r8, 2
call fcn.180017710
mov qword [r13 + 0x88], rax
mov rdx, qword [r13 + 0x88]
or ecx, 0xffffffff
test rdx, rdx
je 0x18007e2d0
mov dword [rdx + r12*4], ecx
mov r9d, dword [rsp + 0xb0]
mov rdx, qword [rdi]
sub ecx, r12d
mov dword [rdi + 0x1c], ecx
mov r8d, ebp
mov rcx, r14
mov byte [rsp + 0x20], 5
call fcn.180057060
mov r12d, dword [rsp + 0x98]
xor r9d, r9d
test esi, esi
je 0x18007e359
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rdi + 0xc]
lea edx, [rbp + r12]
cmp dword [rax + 0x64], ecx
jg 0x18007e32d
mov dword [rsp + 0x20], r9d
mov r9d, edx
mov rcx, rbx
mov edx, 0x49
call fcn.18003a660
jmp 0x18007e359
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], r9b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x49
cmp dword [rsp + 0xc0], 0
jne 0x18007e382
mov r9d, dword [rsp + 0xb8]
mov edx, dword [rsp + 0xa8]
lea r8d, [rbp + r12]
add r8d, esi
mov rcx, r14
call fcn.180055670
mov r13d, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x30]
mov edx, gethostbyaddr
sub r15d, r13d
lea r8d, [rbp + r13]
mov rcx, rbx
mov r9d, r15d
mov dword [rsp + 0x20], eax
call fcn.18003a6c0
lea r15, [0x1802f0540]
test r13d, r13d
jle 0x18007e750
mov ecx, dword [r14 + 0x58]
mov r13d, r12d
lea r8d, [rcx + 1]
add ecx, dword [rdi + 8]
mov dword [r14 + 0x58], ecx
sub r13d, dword [rdi + 8]
mov rax, qword [rbx + 0x30]
add r13d, esi
test esi, esi
movsxd rsi, dword [rbx + 0x3c]
mov dword [rsp + 0xc0], r8d
je 0x18007e42d
lea edx, [rbp + r12]
cmp dword [rax + 0x64], esi
jg 0x18007e417
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x2e]
mov dword [rsp + 0x20], 0
call fcn.18003a660
mov r8d, dword [rsp + 0xc0]
mov esi, eax
jmp 0x18007e483
lea eax, [rsi + 1]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], gethostbyaddr
jmp 0x18007e46f
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], esi
jg 0x18007e45b
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3b]
mov dword [rsp + 0x20], 0
call fcn.18003a660
mov r8d, dword [rsp + 0xc0]
mov esi, eax
jmp 0x18007e483
lea eax, [rsi + 1]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x3b
mov dword [rax + rcx*8 + 4], edx
xor edx, edx
mov qword [rax + rcx*8 + 0x10], rdx
mov qword [rax + rcx*8 + 8], rdx
mov byte [rax + rcx*8 + 3], dl
mov eax, dword [rdi + 8]
mov r9d, ebp
mov edx, 0x2a
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.18003a6c0
mov r11d, dword [rdi + 0x18]
test r11d, r11d
jns 0x18007e4aa
mov r11d, dword [rbx + 0x3c]
dec r11d
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007e4b8
mov rcx, r15
jmp 0x18007e4c7
movsxd rax, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rcx, [rax + rcx*8]
mov rax, qword [r14]
mov qword [rsp + 0x98], rcx
cmp byte [rax + 0x55], 0
jne 0x18007e8b0
mov r12, qword [rcx + 0x10]
mov eax, dword [rsp + 0xb8]
xor edx, edx
add eax, r13d
mov dword [rcx + 8], eax
movzx r8d, word [r12 + 6]
mov rcx, qword [r12 + 0x18]
call fcn.1800b45b0
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x18007e517
mov r8, r12
mov edx, 0xfffffffa
call fcn.18003b100
jmp 0x18007e54c
mov eax, dword [rbx + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18007e544
mov r9d, 0xfffffffa
mov r8, r12
mov rcx, rbx
call fcn.18003b3c0
jmp 0x18007e54c
mov qword [rdx + 0x10], r12
mov byte [rdx + 1], 0xfa
movzx r9d, word [r12 + 8]
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rdi]
dec r9d
mov rcx, r14
call fcn.18007fb10
mov rcx, qword [rsp + 0x98]
xor r9d, r9d
mov qword [rcx + 0x10], rax
mov r13d, dword [rbx + 0x3c]
lea edx, [r9 + 0x2b]
lea r8d, [r13 + 1]
mov rcx, rbx
mov dword [rsp + 0x20], r8d
call fcn.18003a6c0
mov rcx, rbx
call fcn.18003ad30
mov dword [rdi + 0x14], eax
mov edx, dword [r14 + 0x58]
inc edx
mov dword [r14 + 0x58], edx
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x10], edx
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18007e5d9
mov r9d, r8d
mov r8d, edx
mov rcx, rbx
mov edx, select
mov dword [rsp + 0x20], 0
call fcn.18003a660
xor r9d, r9d
jmp 0x18007e608
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], select
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], ecx
jg 0x18007e634
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, edx
lea edx, [r9 + 0x78]
mov rcx, rbx
call fcn.18003a660
xor r9d, r9d
jmp 0x18007e65f
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x78
mov r12d, dword [rsp + 0x90]
test r12d, r12d
je 0x18007e6c4
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rdi + 0x1c]
cmp dword [rax + 0x64], ecx
jg 0x18007e697
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov edx, 0x2e
mov r8d, r12d
mov rcx, rbx
call fcn.18003a660
jmp 0x18007e6c4
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], gethostbyaddr
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test esi, esi
jns 0x18007e6da
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007e6e8
mov rax, r15
jmp 0x18007e6f7
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov r8d, dword [rsp + 0xc0]
mov dword [rax + 8], edx
mov r9d, dword [rdi + 8]
mov edx, ebp
mov rcx, r14
call fcn.180055670
mov r11d, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec r11d
mov dword [rax + 0x6c], r11d
mov edx, dword [rbx + 0x3c]
test r13d, r13d
jns 0x18007e72b
lea r13d, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007e73c
mov rax, r15
mov dword [rax + 8], edx
jmp 0x18007e758
movsxd rax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x18007e758
mov r12d, dword [rsp + 0x90]
movzx eax, byte [rdi + 0x20]
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rdi + 0xc]
and al, 1
mov rcx, rbx
neg al
sbb edx, edx
xor ebp, ebp
add edx, 0x6e
mov dword [rsp + 0x20], ebp
call fcn.18003a6c0
test r12d, r12d
je 0x18007e8b0
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], esi
jg 0x18007e7b1
xor r9d, r9d
mov r8d, r12d
mov edx, 0x8c
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.18003a660
mov esi, eax
jmp 0x18007e7e0
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x8c
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], ecx
jg 0x18007e808
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x69]
mov dword [rsp + 0x20], ebp
call fcn.18003a660
jmp 0x18007e82f
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x69
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], ecx
jg 0x18007e857
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x5f]
mov dword [rsp + 0x20], ebp
call fcn.18003a660
jmp 0x18007e87e
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x5f
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test esi, esi
jns 0x18007e894
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], bpl
jne 0x18007e8ac
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea r15, [rax + rcx*8]
mov dword [r15 + 8], edx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret