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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov rbx, rcx
mov edi, r15d
cmp qword [rcx + 0x118], rdi
jne 0x14002eba7
cmp byte [rcx + 0x15], dil
jne 0x14002eba7
mov esi, 1
mov dword [rbp - 0x30], esi
nop dword [rax + rax]
movzx eax, byte [rbx + 0x16]
mov edi, r15d
cmp al, sil
jb 0x14002e800
cmp al, 5
jne 0x14002e838
cmp byte [rbx + 0x12], dil
jne 0x14002e818
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x14002e822
cmp byte [rbx + 0x16], 5
je 0x14002e838
mov byte [rbx + 0x16], sil
cmp edi, 5
jne 0x14002e838
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x14002e7f0
test edi, edi
jne 0x14002e9f0
cmp byte [rbx + 0x16], sil
ja 0x14002e85f
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14002e570
mov edi, eax
test eax, eax
jne 0x14002e9f0
mov esi, dword [rbp - 0x30]
test esi, esi
je 0x14002e9fd
cmp byte [rbx + 0x13], r15b
je 0x14002e87f
mov rcx, rbx
mov edi, 0x308
call fcn.14002ba40
jmp 0x14002ecac
movzx eax, byte [rbx + 0x16]
mov edi, r15d
cmp al, 4
jb 0x14002e88e
cmp al, 5
jne 0x14002e8af
cmp byte [rbx + 0x12], dil
jne 0x14002e8a9
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x14002e8af
mov byte [rbx + 0x16], 4
jmp 0x14002e8b7
test edi, edi
jne 0x14002e9f0
mov rax, qword [rbx + 0x50]
cmp qword [rax], r15
jne 0x14002e958
mov rsi, qword [rbx]
lea r9, [rbp - 0x28]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + gethostname]
mov edi, eax
test eax, eax
jne 0x14002e958
cmp dword [rbp - 0x28], r15d
je 0x14002e958
mov r8, qword [rbx + 0x50]
lea rax, [rbp - 0x30]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], r15d
call qword [rsi + Ordinal_41]
mov edi, eax
test eax, eax
jne 0x14002e958
test byte [rbp - 0x30], 1
je 0x14002e958
lea rax, [0x140190d34]
mov edi, recv
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0xcb44
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140020650
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x14002e958
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi], r15
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14002e9a5
cmp byte [rbx + 0xb], r15b
jne 0x14002e978
mov edx, 2
call qword [rax + Ordinal_41]
mov edi, eax
test eax, eax
jne 0x14002e988
mov rcx, qword [rbx + 0x50]
lea rdx, [rbx + 0x68]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
mov edi, eax
test edi, edi
jne 0x14002e9d3
mov edx, r15d
mov rcx, rbx
cmp byte [rbx + 0x11], dl
sete dl
call fcn.14002c7c0
mov edi, eax
mov byte [rbx + 0x15], r15b
jmp 0x14002e9cf
cmp byte [rbx + 8], r15b
jne 0x14002e9cf
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14002e9cf
cmp byte [rbx + 0x12], r15b
jne 0x14002e9c5
mov edx, 1
call qword [rax + 0x40]
cmp byte [rbx + 0x16], 5
je 0x14002e9cf
mov byte [rbx + 0x16], 1
test edi, edi
je 0x14002e9fd
movzx eax, dil
cmp eax, 0xd
je 0x14002e9e1
cmp eax, 0xa
jne 0x14002e9e8
mov dword [rbx + 0x30], edi
mov byte [rbx + 0x15], 6
test edi, edi
je 0x14002eca4
mov rcx, rbx
call fcn.14002ba40
jmp 0x14002ecac
cmp byte [rbx + 0x11], r15b
jne 0x14002eae2
cmp byte [rbx + 0x1c], r15b
je 0x14002eae2
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002ea2d
cmp word [rax + 0x3c], r15w
jl 0x14002ea2d
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002ea64
jmp 0x14002ea30
mov eax, r15d
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x14002ea64
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], r15
call qword [r8 + Ordinal_50]
mov edi, eax
test eax, eax
jne 0x14002e9f0
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x28]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002ea72
mov dword [rbx + 0xc0], eax
test eax, eax
je 0x14002eaa1
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp - 0x20]
mov r9d, Ordinal_26
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + reloc.WS2_32.dll_recv]
mov edi, eax
test eax, eax
je 0x14002eaa8
cmp eax, 0x20a
jne 0x14002e9f0
jmp 0x14002eaa8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbp - 0x20]
jne 0x14002eac2
mov rax, qword [rbx + 0x90]
cmp rax, qword [rbp - 0x18]
je 0x14002eae2
mov rcx, rbx
call fcn.14002b760
cmp byte [rbx + 0x1b], r15b
je 0x14002eae2
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, r15d
cmp byte [rbx + 0x11], dil
jne 0x14002eba7
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002eb0a
cmp word [rax + 0x3c], di
jl 0x14002eb0a
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002eb41
jmp 0x14002eb0d
mov eax, r15d
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x14002eb41
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], r15
call qword [r8 + Ordinal_50]
mov edi, eax
test eax, eax
jne 0x14002eba7
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x28]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002eb4f
mov dword [rbx + 0xc0], eax
mov r10, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x120]
mov rcx, r10
test eax, eax
jne 0x14002eb7a
call qword [r10 + Ordinal_50]
mov ecx, r15d
mov edi, r15d
cmp eax, 0x170a
mov dword [rbp - 0x30], ecx
cmovne edi, eax
jmp 0x14002eb87
lea r9, [rbp - 0x30]
call qword [r10 + gethostname]
mov ecx, dword [rbp - 0x30]
mov edi, eax
test edi, edi
jne 0x14002eba7
test ecx, ecx
je 0x14002eb9d
xor edx, edx
mov rcx, rbx
call fcn.140030d30
mov edi, eax
jmp 0x14002eba7
cmp byte [rbx + 9], 5
jne 0x14002eba7
mov byte [rbx + 9], r15b
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x14002ec1d
mov qword [rsp + 0x88], r14
mov dword [rbp - 0x30], r15d
call fcn.140032f40
mov r14, qword [rbx + 0x118]
mov esi, r15d
nop
inc esi
lea rdx, [rbp - 0x30]
mov r9d, esi
xor r8d, r8d
mov rcx, r14
call fcn.140032c40
mov edi, eax
cmp eax, 0xffffffff
je 0x14002ebd0
mov r14, qword [rsp + 0x88]
test eax, eax
jne 0x14002ebfd
cmp dword [rbp - 0x30], r15d
je 0x14002ec1d
mov rcx, rbx
call fcn.14002b760
cmp byte [rbx + 0x1b], r15b
je 0x14002ec1d
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x11], r15b
jne 0x14002e9e8
cmp byte [rbx + 0x15], r15b
jne 0x14002e9e8
test edi, edi
jne 0x14002e9f0
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002ec55
cmp word [rax + 0x3c], r15w
jl 0x14002ec55
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002ec90
jmp 0x14002ec58
mov eax, r15d
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x14002ec90
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], r15
call qword [r8 + Ordinal_50]
mov edi, eax
test eax, eax
jne 0x14002e9f0
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x28]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002ec9e
mov dword [rbx + 0xc0], eax
mov dword [rbx + 0x20], eax
mov edi, r15d
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140130cf0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret