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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14017e7c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
mov rbx, rcx
mov edi, esi
cmp byte [rcx + 0x13], sil
je 0x14002c3cf
mov eax, dword [rcx + 0x2c]
test eax, eax
jne 0x14002c7bd
mov qword [rsp + 0x88], rbp
cmp qword [rcx + 0x118], rsi
jne 0x14002c71e
cmp byte [rcx + 0x14], sil
jne 0x14002c71e
mov ebp, 1
mov dword [rsp + 0x30], ebp
nop word [rax + rax]
movzx eax, byte [rbx + 0x15]
mov edi, esi
cmp al, bpl
jb 0x14002c40f
cmp al, 5
jne 0x14002c447
cmp byte [rbx + 0x11], sil
jne 0x14002c427
mov rcx, qword [rbx + 0x48]
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x14002c431
cmp byte [rbx + 0x15], 5
je 0x14002c447
mov byte [rbx + 0x15], bpl
cmp edi, 5
jne 0x14002c447
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x14002c400
test edi, edi
jne 0x14002c7a5
cmp byte [rbx + 0x15], bpl
ja 0x14002c470
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14002c150
mov edi, eax
test eax, eax
jne 0x14002c7a5
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x14002c604
cmp byte [rbx + 0x12], sil
je 0x14002c490
mov rcx, rbx
mov edi, 0x308
call fcn.140029680
jmp 0x14002c7b3
movzx eax, byte [rbx + 0x15]
mov edi, esi
cmp al, 4
jb 0x14002c49e
cmp al, 5
jne 0x14002c4bf
cmp byte [rbx + 0x11], sil
jne 0x14002c4b9
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x14002c4bf
mov byte [rbx + 0x15], 4
jmp 0x14002c4c7
test edi, edi
jne 0x14002c7a5
mov rax, qword [rbx + 0x50]
cmp qword [rax], rsi
jne 0x14002c56f
mov rbp, qword [rbx]
lea r9, [rsp + 0x38]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rbp
call qword [rbp + gethostname]
mov edi, eax
test eax, eax
jne 0x14002c56f
cmp dword [rsp + 0x38], esi
je 0x14002c56f
mov r8, qword [rbx + 0x50]
lea rax, [rsp + 0x30]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], esi
call qword [rbp + 0x28]
mov edi, eax
test eax, eax
jne 0x14002c56f
test byte [rsp + 0x30], 1
je 0x14002c56f
mov edi, ntohs
mov qword [rsp + 0x90], r14
mov ecx, edi
lea r9, [0x140163404]
mov r8d, 0xb582
lea rdx, str.cannot_open_file_at_line__d_of___.10s_
call fcn.14001f160
mov r14, qword [rbx + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x14002c567
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [r14], rsi
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14002c5b8
cmp byte [rbx + 0xb], sil
jne 0x14002c58f
mov edx, 2
call qword [rax + 0x28]
mov edi, eax
test eax, eax
jne 0x14002c59f
mov rcx, qword [rbx + 0x50]
lea rdx, [rbx + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edi, eax
test edi, edi
jne 0x14002c5e6
mov edx, 1
mov rcx, rbx
call fcn.14002a360
mov edi, eax
mov byte [rbx + 0x14], sil
jmp 0x14002c5e2
cmp byte [rbx + 8], sil
jne 0x14002c5e2
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14002c5e2
cmp byte [rbx + 0x11], sil
jne 0x14002c5d8
mov edx, 1
call qword [rax + 0x40]
cmp byte [rbx + 0x15], 5
je 0x14002c5e2
mov byte [rbx + 0x15], 1
test edi, edi
je 0x14002c604
movzx eax, dil
cmp eax, 0xd
je 0x14002c5f8
cmp eax, 0xa
jne 0x14002c7a1
mov dword [rbx + 0x2c], edi
mov byte [rbx + 0x14], 6
jmp 0x14002c7a1
cmp byte [rbx + 0x10], sil
jne 0x14002c714
cmp qword [rbx + 0x70], rsi
jne 0x14002c636
mov rcx, qword [rbx + 0x110]
mov rcx, qword [rcx + 0x40]
call qword [0x14017ec70]
test eax, eax
jg 0x14002c636
cmp byte [rbx + 0x94], sil
je 0x14002c714
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002c64f
cmp word [rax + 0x3c], si
jl 0x14002c64f
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002c68d
mov rcx, qword [rbx + 0x48]
mov rax, rsi
mov qword [rsp + 0x38], rax
mov r8, qword [rcx]
test r8, r8
je 0x14002c67b
lea rdx, [rsp + 0x38]
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x14002c7a5
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002c69b
mov dword [rbx + 0xc0], eax
test eax, eax
je 0x14002c6cd
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x40]
mov r9d, 0x18
mov r8d, reloc.WS2_32.dll_recv
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edi, eax
test eax, eax
je 0x14002c6d5
cmp eax, 0x20a
jne 0x14002c7a5
jmp 0x14002c6d5
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rax, qword [rbx + 0x84]
cmp rax, qword [rsp + 0x40]
jne 0x14002c6f1
mov rax, qword [rbx + 0x8c]
cmp rax, qword [rsp + 0x48]
je 0x14002c714
mov rcx, rbx
call fcn.140029430
cmp byte [rbx + 0x94], sil
je 0x14002c714
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, rbx
call fcn.14002ab30
mov edi, eax
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x14002c789
mov dword [rsp + 0x30], esi
call fcn.1400308b0
mov rbp, qword [rbx + 0x118]
nop word [rax + rax]
inc esi
lea rdx, [rsp + 0x30]
mov r9d, esi
xor r8d, r8d
mov rcx, rbp
call fcn.140030580
mov edi, eax
cmp eax, 0xffffffff
je 0x14002c740
test eax, eax
jne 0x14002c766
cmp dword [rsp + 0x30], eax
je 0x14002c789
mov rcx, rbx
call fcn.140029430
cmp byte [rbx + 0x94], 0
je 0x14002c789
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x14], 0
jne 0x14002c7a1
test edi, edi
jne 0x14002c7a5
lea rdx, [rbx + 0x1c]
mov rcx, rbx
call fcn.14002aa90
mov edi, eax
test edi, edi
je 0x14002c7af
mov rcx, rbx
call fcn.140029680
jmp 0x14002c7b3
mov byte [rbx + 0x14], 1
mov rbp, qword [rsp + 0x88]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401386b0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret