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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x20], 0
jne 0x1400625ac
mov rcx, qword [rsp + 0xb0]
call fcn.140064fd0
movzx eax, al
test eax, eax
jne 0x1400625ac
mov rax, qword [rsp + 0xb0]
lea rcx, str.invalid_BOM__must_be_0xEF_0xBB_0xBF_if_given
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x140062940
mov rcx, qword [rsp + 0xb0]
call fcn.140054560
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0x20
je 0x1400625ac
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 9
je 0x1400625ac
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0xa
je 0x1400625ac
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0xd
je 0x1400625ac
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x10]
test eax, eax
je 0x140062677
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0x2f
jne 0x140062677
mov rcx, qword [rsp + 0xb0]
call fcn.140062a30
movzx eax, al
test eax, eax
jne 0x14006262d
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x140062940
mov rcx, qword [rsp + 0xb0]
call fcn.140054560
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0x20
je 0x14006262d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 9
je 0x14006262d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0xa
je 0x14006262d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], 0xd
je 0x14006262d
jmp 0x1400625f1
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x7e
ja case.0x1400626b9.1
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x629a8]
mov eax, dword [rcx + rax*4 + 0x62948]
add rax, rcx
jmp rax
mov eax, 8
jmp 0x140062940
mov eax, 0xa
jmp 0x140062940
mov eax, 9
jmp 0x140062940
mov eax, ntohs
jmp 0x140062940
mov eax, ntohs
jmp 0x140062940
mov eax, reloc.WS2_32.dll_listen
jmp 0x140062940
mov byte [rsp + 0x24], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x25], WSACleanup
mov byte [rsp + 0x26], 0x75
mov byte [rsp + 0x27], 0x65
mov qword [rsp + 0x68], 4
lea rax, [rsp + 0x24]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 1
jmp 0x140062736
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x40], rax
jae 0x14006278e
mov rcx, qword [rsp + 0xb0]
call fcn.140054560
mov dword [rsp + 0x58], eax
movsx eax, byte [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x14006278c
mov rax, qword [rsp + 0xb0]
lea rcx, str.invalid_literal
mov qword [rax + 0x70], rcx
mov dword [rsp + 0x34], reloc.WS2_32.dll_ntohl
jmp 0x140062796
jmp 0x140062729
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
jmp 0x140062940
mov byte [rsp + 0x2c], 0x66
mov byte [rsp + 0x2d], 0x61
mov byte [rsp + 0x2e], WSASetLastError
mov byte [rsp + 0x2f], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x30], 0x65
mov qword [rsp + 0x78], 5
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x48], 1
jmp 0x1400627e6
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x48], rax
jae 0x140062841
mov rcx, qword [rsp + 0xb0]
call fcn.140054560
mov dword [rsp + 0x5c], eax
movsx eax, byte [rsp + 0x5c]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x14006283f
mov rax, qword [rsp + 0xb0]
lea rcx, str.invalid_literal
mov qword [rax + 0x70], rcx
mov dword [rsp + 0x38], reloc.WS2_32.dll_ntohl
jmp 0x140062849
jmp 0x1400627d9
mov dword [rsp + 0x38], 2
mov eax, dword [rsp + 0x38]
jmp 0x140062940
mov byte [rsp + 0x28], WSASetLastError
mov byte [rsp + 0x29], 0x75
mov byte [rsp + 0x2a], WSASetLastError
mov byte [rsp + 0x2b], WSASetLastError
mov qword [rsp + 0x88], 4
lea rax, [rsp + 0x28]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], 1
jmp 0x140062897
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x50], rax
jae 0x1400628f5
mov rcx, qword [rsp + 0xb0]
call fcn.140054560
mov dword [rsp + 0x60], eax
movsx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x90]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x1400628f3
mov rax, qword [rsp + 0xb0]
lea rcx, str.invalid_literal
mov qword [rax + 0x70], rcx
mov dword [rsp + 0x3c], reloc.WS2_32.dll_ntohl
jmp 0x1400628fd
jmp 0x14006288a
mov dword [rsp + 0x3c], 3
mov eax, dword [rsp + 0x3c]
jmp 0x140062940
mov rcx, qword [rsp + 0xb0]
call fcn.1400635a0
jmp 0x140062940
mov rcx, qword [rsp + 0xb0]
call fcn.140062b20
jmp 0x140062940
mov eax, reloc.WS2_32.dll_ntohs
jmp 0x140062940
mov rax, qword [rsp + 0xb0]
lea rcx, str.invalid_literal
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
add rsp, 0xa8
ret