Function at 0x140001000
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov qword [rbp - 0xb8], rbx
mov qword [rbp - 0xb0], rsi
mov qword [rbp - 0xa8], rdi
mov qword [rbp - 0xa0], r12
mov qword [rbp - 0x98], r13
mov qword [rbp - 0x90], r14
mov qword [rbp - 0x88], r15
mov r12, rcx
mov edx, 0x54
lea rcx, [0x140183520]
sub rsp, 0x20
call fcn.1400a9db0
add rsp, 0x20
mov rsi, rax
mov r8d, 0x59
mov byte [rsi], r8b
mov r9d, 0x58
mov byte [rsi + 1], r9b
mov r10d, 0x4e
mov byte [rsi + 2], r10b
mov edx, WSAGetLastError
mov byte [rsi + 3], dl
mov ecx, 0x5a
mov byte [rsi + 4], cl
mov r11d, WSAGetLastError
mov byte [rsi + 5], r11b
mov r15d, 0x64
mov byte [rsi + 6], r15b
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov byte [rsi + 7], al
mov byte [rsi + 8], 0x61
mov byte [rsi + 9], r11b
mov r11d, reloc.WS2_32.dll_WSACleanup
mov byte [rsi + 0xa], r11b
mov byte [rsi + 0xb], reloc.WS2_32.dll_WSAStartup
mov edi, 0x63
mov byte [rsi + 0xc], dil
mov byte [rsi + 0xd], r9b
mov byte [rsi + 0xe], r15b
mov r9d, WSAGetLastError
mov byte [rsi + 0xf], r9b
mov byte [rsi + 0x10], dil
mov ecx, WSAGetLastError
mov byte [rsi + 0x11], cl
mov edx, 0x52
mov byte [rsi + 0x12], dl
mov r8d, reloc.WS2_32.dll_getprotobyname
mov byte [rsi + 0x13], r8b
mov byte [rsi + 0x14], r15b
mov r10d, 0x57
mov byte [rsi + 0x15], r10b
mov byte [rsi + 0x16], r9b
mov byte [rsi + 0x17], 0x76
mov byte [rsi + 0x18], dil
mov edi, 0x47
mov byte [rsi + 0x19], dil
mov ecx, gethostbyname
mov byte [rsi + 0x1a], cl
mov byte [rsi + 0x1b], 0x75
mov byte [rsi + 0x1c], 0x59
mov byte [rsi + 0x1d], WSAGetLastError
mov byte [rsi + 0x1e], 0x5a
mov edx, 0x6a
mov byte [rsi + 0x1f], dl
mov byte [rsi + 0x20], 0x65
mov byte [rsi + 0x21], 0x48
mov byte [rsi + 0x22], al
mov byte [rsi + 0x23], 0x78
mov r8d, 0x4d
mov byte [rsi + 0x24], r8b
mov byte [rsi + 0x25], dl
mov byte [rsi + 0x26], r8b
mov edx, gethostbyname
mov byte [rsi + 0x27], dl
mov byte [rsi + 0x28], 0x4e
mov r9d, 0x54
mov byte [rsi + 0x29], r9b
mov byte [rsi + 0x2a], 0x59
mov byte [rsi + 0x2b], reloc.WS2_32.dll_gethostbyaddr
mov byte [rsi + 0x2c], 0x4f
mov ecx, 0x44
mov byte [rsi + 0x2d], cl
mov byte [rsi + 0x2e], 0x6b
mov byte [rsi + 0x2f], 0x77
mov byte [rsi + 0x30], 0x51
mov r10d, 0x55
mov byte [rsi + 0x31], r10b
mov r8d, 0x4a
mov byte [rsi + 0x32], r8b
mov byte [rsi + 0x33], cl
mov byte [rsi + 0x34], 0x52
mov byte [rsi + 0x35], 0x45
mov ecx, 0x56
mov byte [rsi + 0x36], cl
mov byte [rsi + 0x37], dil
mov byte [rsi + 0x38], 0x52
mov byte [rsi + 0x39], dl
mov byte [rsi + 0x3a], 0x68
mov byte [rsi + 0x3b], r8b
mov edx, 0x53
mov byte [rsi + 0x3c], dl
mov byte [rsi + 0x3d], 0x6b
mov byte [rsi + 0x3e], r11b
mov byte [rsi + 0x3f], 0x4d
mov byte [rsi + 0x40], r9b
mov byte [rsi + 0x41], r10b
mov byte [rsi + 0x42], reloc.WS2_32.dll_getprotobyname
mov byte [rsi + 0x43], 0x50
mov byte [rsi + 0x44], r10b
mov r13d, 0x46
mov eax, 0x46
movzx eax, al
movabs r9, 0x101010101010101
imul rax, r9
lea rdi, [rsi + 0x45]
stosb byte [rdi], al
stosb byte [rdi], al
mov byte [rsi + 0x47], dl
mov byte [rsi + 0x48], r10b
mov byte [rsi + 0x49], gethostbyname
mov byte [rsi + 0x4a], 0x52
mov r14d, ecx
mov eax, ecx
movzx eax, al
imul rax, r9
lea rdi, [rsi + 0x4b]
stosb byte [rdi], al
stosb byte [rdi], al
mov byte [rsi + 0x4d], WSAGetLastError
mov byte [rsi + 0x4e], r15b
mov byte [rsi + 0x4f], 0x59
mov byte [rsi + 0x50], 0x57
mov byte [rsi + 0x51], cl
mov byte [rsi + 0x52], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsi + 0x53], 0x3d
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x50], 0x54
lea rcx, [rbp - 0x50]
sub rsp, 0x20
call fcn.1400013e0
add rsp, 0x20
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [0x140170040]
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], 0
xor ebx, ebx
test r12d, r12d
jle 0x140001309
xor eax, eax
mov rdi, qword [rbp - 0x60]
dec rdi
xor r8d, r8d
mov rdx, rdi
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], r8
sub rsp, 0x20
call fcn.1400a9e80
add rsp, 0x20
mov rcx, rax
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
sub rsp, 0x20
call fcn.14000bbf0
add rsp, 0x20
mov r9, qword [rbp - 0x58]
movzx esi, byte [rax + r9]
mov r8d, 1
lea rdx, [rbp - 0x40]
lea rcx, [0x140183520]
sub rsp, 0x20
call fcn.1400a9f10
add rsp, 0x20
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov r10, qword [rbp - 0x28]
add r10, qword [rbp - 0x30]
mov byte [r10 - 1], sil
inc ebx
cmp ebx, r12d
jl 0x140001294
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rbx, qword [rbp - 0xb8]
mov rsi, qword [rbp - 0xb0]
mov rdi, qword [rbp - 0xa8]
mov r12, qword [rbp - 0xa0]
mov r13, qword [rbp - 0x98]
mov r14, qword [rbp - 0x90]
mov r15, qword [rbp - 0x88]
mov rsp, rbp
pop rbp
ret