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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rbx, rcx
mov edi, ebp
cmp qword [rcx + 0x128], rdi
jne 0x140063766
cmp byte [rcx + 0x15], dil
jne 0x140063766
mov esi, 1
mov dword [rsp + 0x38], esi
nop word [rax + rax]
movzx eax, byte [rbx + 0x16]
mov edi, ebp
cmp al, sil
jb 0x1400633af
cmp al, 5
jne 0x1400633e7
cmp byte [rbx + 0x11], dil
jne 0x1400633c7
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x1400633d1
cmp byte [rbx + 0x16], 5
je 0x1400633e7
mov byte [rbx + 0x16], sil
cmp edi, 5
jne 0x1400633e7
mov rcx, qword [rbx + 0xf0]
call qword [rbx + 0xe8]
test eax, eax
jne 0x1400633a0
test edi, edi
jne 0x1400637de
cmp byte [rbx + 0x16], sil
ja 0x140063410
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400630f0
mov edi, eax
test eax, eax
jne 0x1400637de
mov esi, dword [rsp + 0x38]
test esi, esi
je 0x140063614
cmp byte [rbx + 0x12], bpl
je 0x140063430
mov rcx, rbx
mov edi, 0x308
call fcn.140060360
jmp 0x1400635f0
movzx eax, byte [rbx + 0x16]
mov edi, ebp
cmp al, 4
jb 0x14006343e
cmp al, 5
jne 0x14006345f
cmp byte [rbx + 0x11], dil
jne 0x140063459
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x14006345f
mov byte [rbx + 0x16], 4
jmp 0x140063467
test edi, edi
jne 0x1400637de
mov rax, qword [rbx + 0x50]
cmp qword [rax], rbp
jne 0x140063515
cmp byte [rbx + 9], 2
je 0x140063515
mov rsi, qword [rbx]
lea r9, [rsp + 0x30]
mov rdx, qword [rbx + 0xe0]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + gethostname]
mov edi, eax
test eax, eax
jne 0x140063515
cmp dword [rsp + 0x30], ebp
je 0x140063515
mov r8, qword [rbx + 0x50]
lea rax, [rsp + 0x38]
mov rdx, qword [rbx + 0xe0]
mov r9d, 0x802
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], ebp
call qword [rsi + Ordinal_41]
mov edi, eax
test eax, eax
jne 0x140063515
test byte [rsp + 0x38], 1
je 0x140063515
lea rax, [0x14028ddb4]
mov edi, recv
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0xf3c3
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400519b0
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x140063515
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi], rbp
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x140063561
cmp byte [rbx + 0xb], bpl
jne 0x140063535
mov edx, 2
call qword [rax + Ordinal_41]
mov edi, eax
test eax, eax
jne 0x140063545
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 0x140063596
mov edx, ebp
mov rcx, rbx
cmp byte [rbx + 0x10], dl
sete dl
call fcn.140061250
mov edi, eax
mov byte [rbx + 0x15], bpl
jmp 0x140063592
cmp byte [rbx + 8], bpl
jne 0x140063592
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14006358b
cmp byte [rbx + 0x11], bpl
jne 0x140063581
mov edx, 1
call qword [rax + 0x40]
cmp byte [rbx + 0x16], 5
je 0x14006358b
mov byte [rbx + 0x16], 1
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
test edi, edi
je 0x140063614
movzx eax, dil
cmp eax, 0xd
je 0x1400635a8
cmp eax, 0xa
jne 0x1400637d6
mov dword [rbx + 0x30], edi
mov byte [rbx + 0x15], 6
test edi, edi
je 0x1400635cb
lea rax, [0x140063cb0]
mov rcx, rbx
mov qword [rbx + 0x110], rax
call fcn.140060360
jmp 0x1400635f0
cmp byte [rbx + 0x1b], bpl
lea rax, [fcn.1400637f0]
lea rcx, [0x140063a80]
cmovne rax, rcx
mov qword [rbx + 0x110], rax
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e1190
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp byte [rbx + 0x10], bpl
jne 0x140063690
cmp byte [rbx + 0x1c], bpl
je 0x140063690
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x38]
mov r9d, Ordinal_26
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 0x140063654
cmp eax, 0x20a
jne 0x1400637de
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rsp + 0x38]
jne 0x140063670
mov rax, qword [rbx + 0x90]
cmp rax, qword [rsp + 0x40]
je 0x140063690
mov rcx, rbx
call fcn.140060100
cmp byte [rbx + 0x1b], bpl
je 0x140063690
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, ebp
cmp byte [rbx + 0x10], dil
jne 0x140063766
mov rax, qword [rbx]
lea r9, [rsp + 0x30]
mov rdx, qword [rbx + 0x130]
xor r8d, r8d
mov rcx, rax
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x140063766
cmp dword [rsp + 0x30], ebp
je 0x14006375c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x1400636e3
cmp word [rax + 0x3c], bp
jl 0x1400636e3
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14006371c
jmp 0x1400636e5
mov eax, ebp
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x14006371c
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbp
call qword [r8 + Ordinal_50]
mov edi, eax
test eax, eax
jne 0x140063766
mov rcx, qword [rbx + 0xc8]
mov rax, qword [rsp + 0x38]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xbc]
jbe 0x14006372a
mov dword [rbx + 0xbc], eax
test eax, eax
jne 0x14006374e
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x14006374a
mov rdx, qword [rbx + 0x130]
xor r8d, r8d
call rax
mov edi, eax
jmp 0x140063766
mov edi, ebp
jmp 0x140063766
xor edx, edx
mov rcx, rbx
call fcn.140065330
mov edi, eax
jmp 0x140063766
cmp byte [rbx + 9], 5
jne 0x140063766
mov byte [rbx + 9], bpl
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1400637b8
mov dword [rsp + 0x38], ebp
call fcn.140068830
mov rcx, qword [rbx + 0x128]
lea rdx, [rsp + 0x38]
call fcn.1400687d0
mov edi, eax
test eax, eax
jne 0x140063798
cmp dword [rsp + 0x38], ebp
je 0x1400637b8
mov rcx, rbx
call fcn.140060100
cmp byte [rbx + 0x1b], bpl
je 0x1400637b8
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x10], bpl
jne 0x1400637d6
cmp byte [rbx + 0x15], bpl
jne 0x1400637d6
test edi, edi
jne 0x1400637de
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.140061890
mov edi, eax
test edi, edi
je 0x1400635e8
mov rcx, rbx
call fcn.140060360
jmp 0x1400635f0