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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140125080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor esi, esi
mov rbx, rcx
mov edi, esi
cmp qword [rcx + 0x118], rsi
jne 0x1400176db
cmp byte [rcx + 0x15], sil
jne 0x1400176db
mov r14d, 1
mov dword [rbp - 0x30], r14d
nop dword [rax + rax]
movzx eax, byte [rbx + 0x16]
mov edi, esi
cmp al, r14b
jb 0x14001733f
cmp al, 5
jne 0x140017378
cmp byte [rbx + 0x12], sil
jne 0x140017358
mov rcx, qword [rbx + 0x48]
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x140017362
cmp byte [rbx + 0x16], 5
je 0x140017378
mov byte [rbx + 0x16], r14b
cmp edi, 5
jne 0x140017378
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x140017330
test edi, edi
jne 0x140017766
cmp byte [rbx + 0x16], r14b
ja 0x1400173a0
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140017090
mov edi, eax
test eax, eax
jne 0x140017766
mov r14d, dword [rbp - 0x30]
test r14d, r14d
je 0x140017531
cmp byte [rbx + 0x13], sil
je 0x1400173c1
mov rcx, rbx
mov edi, 0x308
call fcn.140014330
jmp 0x140017778
movzx eax, byte [rbx + 0x16]
mov edi, esi
cmp al, 4
jb 0x1400173cf
cmp al, 5
jne 0x1400173f0
cmp byte [rbx + 0x12], sil
jne 0x1400173ea
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x1400173f0
mov byte [rbx + 0x16], 4
jmp 0x1400173f8
test edi, edi
jne 0x140017766
mov rax, qword [rbx + 0x50]
cmp qword [rax], rsi
jne 0x140017499
mov r14, qword [rbx]
lea r9, [rbp - 0x28]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, r14
call qword [r14 + 0x38]
mov edi, eax
test eax, eax
jne 0x140017499
cmp dword [rbp - 0x28], esi
je 0x140017499
mov r8, qword [rbx + 0x50]
lea rax, [rbp - 0x30]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, r14
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], esi
call qword [r14 + 0x28]
mov edi, eax
test eax, eax
jne 0x140017499
test byte [rbp - 0x30], 1
je 0x140017499
lea rax, [0x140109c54]
mov edi, 0xe
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.1400090c0
mov r14, qword [rbx + 0x50]
mov rax, qword [r14]
test rax, rax
je 0x140017499
mov rcx, r14
call qword [rax + htons]
mov qword [r14], rsi
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x1400174e5
cmp byte [rbx + 0xb], sil
jne 0x1400174b9
mov edx, 2
call qword [rax + 0x28]
mov edi, eax
test eax, eax
jne 0x1400174c9
mov rcx, qword [rbx + 0x50]
lea rdx, [rbx + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edi, eax
test edi, edi
jne 0x140017513
mov edx, esi
mov rcx, rbx
cmp byte [rbx + 0x11], dl
sete dl
call fcn.140015110
mov edi, eax
mov byte [rbx + 0x15], sil
jmp 0x14001750f
cmp byte [rbx + 8], sil
jne 0x14001750f
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14001750f
cmp byte [rbx + 0x12], sil
jne 0x140017505
mov edx, 1
call qword [rax + 0x40]
cmp byte [rbx + 0x16], 5
je 0x14001750f
mov byte [rbx + 0x16], 1
test edi, edi
je 0x140017531
movzx eax, dil
cmp eax, 0xd
je 0x140017525
cmp eax, 0xa
jne 0x140017762
mov dword [rbx + 0x30], edi
mov byte [rbx + 0x15], 6
jmp 0x140017762
cmp byte [rbx + 0x11], sil
jne 0x14001761a
cmp byte [rbx + 0x1c], sil
je 0x14001761a
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x140017560
cmp word [rax + 0x3c], si
jl 0x140017560
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14001759a
jmp 0x140017562
mov eax, esi
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x14001759a
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], rsi
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x140017766
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x28]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x1400175a8
mov dword [rbx + 0xc0], eax
test eax, eax
je 0x1400175d9
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp - 0x20]
mov r9d, 0x18
mov r8d, send
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x1400175e0
cmp eax, 0x20a
jne 0x140017766
jmp 0x1400175e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbp - 0x20]
jne 0x1400175fa
mov rax, qword [rbx + 0x90]
cmp rax, qword [rbp - 0x18]
je 0x14001761a
mov rcx, rbx
call fcn.140014040
cmp byte [rbx + 0x1b], sil
je 0x14001761a
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, esi
cmp byte [rbx + 0x11], sil
jne 0x1400176db
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x140017641
cmp word [rax + 0x3c], si
jl 0x140017641
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x140017677
jmp 0x140017643
mov eax, esi
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x140017677
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], rsi
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x1400176db
movsxd rcx, dword [rbx + 0xbc]
mov rax, qword [rbp - 0x28]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x140017685
mov dword [rbx + 0xc0], eax
mov r10, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x120]
mov rcx, r10
test eax, eax
jne 0x1400176ae
call qword [r10 + 0x30]
mov ecx, esi
mov edi, esi
cmp eax, 0x170a
mov dword [rbp - 0x30], ecx
cmovne edi, eax
jmp 0x1400176bb
lea r9, [rbp - 0x30]
call qword [r10 + 0x38]
mov ecx, dword [rbp - 0x30]
mov edi, eax
test edi, edi
jne 0x1400176db
test ecx, ecx
je 0x1400176d1
xor edx, edx
mov rcx, rbx
call fcn.140019660
mov edi, eax
jmp 0x1400176db
cmp byte [rbx + 9], 5
jne 0x1400176db
mov byte [rbx + 9], sil
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x140017744
mov dword [rbp - 0x30], esi
call fcn.14001bcf0
mov r14, qword [rbx + 0x118]
nop word [rax + rax]
inc esi
lea rdx, [rbp - 0x30]
mov r9d, esi
xor r8d, r8d
mov rcx, r14
call fcn.14001b9b0
mov edi, eax
cmp eax, 0xffffffff
je 0x140017700
test eax, eax
jne 0x140017724
cmp dword [rbp - 0x30], eax
je 0x140017744
mov rcx, rbx
call fcn.140014040
cmp byte [rbx + 0x1b], 0
je 0x140017744
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x11], 0
jne 0x140017762
cmp byte [rbx + 0x15], 0
jne 0x140017762
test edi, edi
jne 0x140017766
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.140015810
mov edi, eax
test edi, edi
je 0x140017770
mov rcx, rbx
call fcn.140014330
jmp 0x140017778
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d1190
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret