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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r14, qword [rcx]
mov rbx, rcx
mov ecx, dword [rdx + 0x34]
mov r13, rdx
movsx rax, word [rdx + 0x118]
mov esi, dword [rdx + 0x38]
mov rbp, rax
mov eax, dword [rdx + 0x80]
add esi, ecx
mov qword [rsp + 0x48], r14
mov dword [rsp + 0xb0], ecx
mov dword [rsp + 0xb8], eax
test ecx, ecx
jne 0x14013c164
test esi, esi
jle 0x14013c164
inc esi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0xb8]
sub eax, ecx
movsxd rdi, ecx
add rdi, qword [rbx + 0x88]
mov rcx, rbx
movsxd r15, eax
and r15, 0xfffffffffffffff8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r15
call fcn.1400f15c0
xor r10d, r10d
cmp byte [r13 + 0x20], r10b
je 0x14013c1b3
lea eax, [r10 + 0x40]
cmp byte [r13 + 0x21], r10b
jne 0x14013c1b6
mov eax, r10d
mov ecx, dword [rbx + 0xc8]
and ecx, 0xffffffbf
or ecx, eax
mov dword [rbx + 0xc8], ecx
movzx eax, byte [r13 + 0x11b]
test al, al
je 0x14013c284
mov edx, 0xa
cmp esi, edx
cmovl esi, edx
shl eax, 2
xor eax, ecx
mov edx, 4
and eax, 0xc
xor eax, ecx
mov ecx, 8
mov r12d, ecx
mov dword [rbx + 0xc8], eax
movzx edi, byte [r13 + 0x11b]
cmp dil, 2
cmovne edx, ecx
cmovne r12d, r10d
mov rcx, rbx
call fcn.14013eeb0
cmp dil, 2
mov eax, reloc.WS2_32.dll_inet_ntoa
mov ecx, 8
mov r15d, r12d
cmovne eax, ecx
cmp r12, rax
jae 0x14013c277
mov edi, r12d
lea r13, str.addr
mov r14d, eax
nop
mov r9, qword [r13 + rdi*8]
mov edx, r15d
sub edx, r12d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rbx
call fcn.14013eca0
inc r15d
inc rdi
cmp rdi, r14
jl 0x14013c240
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x30]
xor r10d, r10d
mov r15, qword [rsp + 0x38]
and dword [rbx + 0xc8], 0xfffffffc
mov rdx, r10
movsxd rax, esi
imul r12, rax, 0x38
cmp r12, r15
jg 0x14013c2a3
mov rdx, r15
sub rdx, r12
add rdx, rdi
mov rcx, r15
mov qword [rbx + 0x68], rdx
mov rdx, qword [rsp + 0x30]
sub rcx, r12
cmp r12, r15
mov rdi, r10
mov r8, r10
cmovg rcx, r15
cmovg rdi, r12
imul rax, rbp, 0x38
mov qword [rsp + 0x48], rax
cmp rax, rcx
jg 0x14013c2da
sub rcx, rax
lea r8, [rcx + rdx]
jmp 0x14013c2dd
add rdi, rax
movsxd r15, dword [rsp + 0xb8]
mov rax, r10
shl r15, 3
mov qword [rbx + 0x80], r8
cmp r15, rcx
jg 0x14013c303
mov rax, rcx
sub rax, r15
add rax, rdx
jmp 0x14013c306
add rdi, r15
movsxd r9, dword [rsp + 0xb0]
mov r8, rcx
sub r8, r15
mov qword [rbx + 0x70], rax
cmp r15, rcx
mov rax, r10
cmovg r8, rcx
mov rcx, r9
shl rcx, 3
mov qword [rsp + 0xa8], rcx
cmp rcx, r8
jg 0x14013c341
mov rax, r8
sub rax, rcx
add rax, rdx
jmp 0x14013c344
add rdi, rcx
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x14013c3fb
mov rdx, rdi
mov rcx, r14
call fcn.1401034c0
mov qword [rbx + 0xf8], rax
mov rdx, rax
cmp byte [r14 + 0x61], 0
jne 0x14013c3e8
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x14013c382
cmp r12, rdi
jg 0x14013c382
sub rdi, r12
lea rax, [rdx + rdi]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x14013c3a3
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
jg 0x14013c3a3
sub rdi, rcx
lea rax, [rdi + rdx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x14013c3bf
cmp r15, rdi
jg 0x14013c3bf
sub rdi, r15
lea rax, [rdi + rdx]
mov rcx, qword [rsp + 0xa8]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x14013c3e2
cmp rcx, rdi
jg 0x14013c3e2
mov rax, rdx
sub rax, rcx
add rax, rdi
mov qword [rbx + 0x78], rax
jmp 0x14013c3f0
mov rcx, qword [rsp + 0xa8]
mov r9d, dword [rsp + 0xb0]
xor r10d, r10d
mov rax, qword [r13 + 0x130]
mov edi, 1
mov qword [rbx + 0xb0], rax
mov qword [r13 + 0x130], r10
cmp byte [r14 + 0x61], 0
je 0x14013c42b
mov word [rbx + 0x20], r10w
mov qword [rbx + 0x28], 0
jmp 0x14013c496
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x2c], r9d
mov word [rbx + 0x20], bp
test ebp, ebp
jle 0x14013c457
add rax, 8
dec ebp
mov qword [rax + 0x20], r14
mov word [rax], di
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x14013c442
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], esi
test esi, esi
jle 0x14013c485
add rax, 8
mov edx, 0x80
nop dword [rax + rax]
dec esi
mov qword [rax + 0x20], r14
mov word [rax], dx
mov dword [rax + 0x18], r10d
lea rax, [rax + 0x38]
test esi, esi
jg 0x14013c470
mov r8, rcx
xor edx, edx
mov rcx, qword [rbx + 0x78]
call fcn.14016b7a0
xor r10d, r10d
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov qword [rbx + 0x38], 0
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], edi
mov dword [rbx + 0x40], r10d
mov qword [rbx + 0x50], r10
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret