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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r15, qword [rcx + 8]
xor r8d, r8d
mov rdi, qword [rcx]
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
mov r14d, r8d
mov qword [rsp + 0x40], r15
mov r12d, r8d
mov rbp, qword [r15 + 0x18]
mov eax, dword [r15 + 0x64]
mov dword [rsp + 0xa8], r8d
mov dword [rsp + 0x34], eax
test rbp, rbp
je 0x14014cabf
mov ebp, dword [rbp]
jmp 0x14014cac2
mov ebp, r8d
mov eax, dword [rdi + 0x48]
lea rcx, [rdi + 0x3c]
dec eax
mov dword [rsp + 0xb8], eax
lea r13d, [rax - 1]
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + 0x48], r13d
test al, al
jne 0x14014caf9
mov r9d, dword [rcx]
inc r9d
mov dword [rcx], r9d
inc dword [rcx]
mov edx, dword [rcx]
mov dword [rsp + 0xb0], r9d
jmp 0x14014cb32
sub al, 1
movzx edx, al
mov byte [rdi + 0x1f], dl
mov r9d, dword [rdi + rdx*4 + 0xe8]
mov dword [rsp + 0xb0], r9d
jne 0x14014cb1b
inc dword [rcx]
mov edx, dword [rcx]
xor al, al
jmp 0x14014cb32
dec dl
mov dword [rsp + 0xb0], r9d
movzx eax, dl
mov byte [rdi + 0x1f], al
mov edx, dword [rdi + rax*4 + 0xe8]
mov dword [rsp + 0x30], edx
test ebp, ebp
je 0x14014cbe1
cmp ebp, 1
jne 0x14014cb83
test al, al
jne 0x14014cb4e
inc dword [rcx]
mov r8d, dword [rcx]
jmp 0x14014cb5e
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r8d, dword [rdi + rax*4 + 0xe8]
mov dword [rsp + 0xa8], r8d
test al, al
jne 0x14014cb71
inc dword [rcx]
mov r12d, dword [rcx]
jmp 0x14014cbd6
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xe8]
jmp 0x14014cbd6
mov r8d, dword [rdi + 0x30]
mov r12d, r8d
mov edx, dword [rdi + 0x2c]
mov dword [rsp + 0xa8], r8d
cmp ebp, edx
jg 0x14014cba8
lea r12d, [r8 + rbp]
sub edx, ebp
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x2c], edx
jmp 0x14014cbba
mov eax, dword [rcx]
lea r8d, [rax + 1]
add eax, ebp
mov dword [rcx], eax
mov dword [rsp + 0xa8], r8d
cmp ebp, edx
jg 0x14014cbcc
lea eax, [r12 + rbp]
sub edx, ebp
mov dword [rdi + 0x30], eax
mov dword [rdi + 0x2c], edx
jmp 0x14014cbd6
mov eax, dword [rcx]
lea r12d, [rax + 1]
add eax, ebp
mov dword [rcx], eax
mov r14d, dword [rsp + 0xa8]
xor r8d, r8d
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 0x58]
cmp dword [rbx + 0x94], ecx
jg 0x14014cc0b
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov r8d, edx
mov edx, 0x87
call fcn.1400bb2e0
jmp 0x14014cc39
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edx, dword [r15 + 0x58]
mov r8d, r14d
mov rcx, rsi
call fcn.14014d7c0
xor r14d, r14d
mov rsi, r15
nop
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rsi + 0x5c]
cmp dword [rbx + 0x94], ecx
jg 0x14014cc7c
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x4b
xor r8d, r8d
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x14014cca6
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x14014cc50
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 0x84]
mov r8d, dword [rsp + 0x34]
cmp dword [rbx + 0x94], ecx
jg 0x14014cce5
mov dword [rsp + 0x20], edx
mov r9d, r13d
mov edx, reloc.WS2_32.dll_socket
mov rcx, rbx
call fcn.1400bb2e0
mov r8d, dword [rsp + 0x34]
jmp 0x14014cd13
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], reloc.WS2_32.dll_socket
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r14
movsxd r13, dword [rbx + 0x90]
mov r9d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], r13d
jg 0x14014cd41
mov edx, 0x87
mov dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.1400bb2e0
mov r9d, dword [rsp + 0x30]
jmp 0x14014cd78
lea eax, [r13 + 1]
mov dword [rbx + 0x90], eax
lea rcx, [r13*2]
mov rax, qword [rbx + 0x88]
add rcx, r13
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 0x88]
cmp dword [rbx + 0x94], ecx
jg 0x14014cdbc
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov r9d, dword [rsp + 0xb8]
mov edx, gethostname
dec r9d
mov rcx, rbx
call fcn.1400bb2e0
mov r9d, dword [rsp + 0x30]
mov edx, dword [rsp + 0xb8]
jmp 0x14014cdf5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xb8]
mov dword [rax + rcx*8], gethostname
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r14
lea r8d, [rdx - 1]
mov dword [rax + rcx*8 + 8], r8d
movzx eax, byte [r15 + 0x24]
lea r15, [0x14019e058]
mov r14d, dword [rsp + 0xa8]
cmp al, 0x56
jne 0x14014ce75
movsxd rcx, dword [rbx + 0x90]
mov esi, dword [rsp + 0xb0]
cmp dword [rbx + 0x94], ecx
jg 0x14014ce40
mov dword [rsp + 0x20], r9d
mov r8d, esi
mov r9d, edx
mov rcx, rbx
mov edx, gethostname
call fcn.1400bb2e0
jmp 0x14014d0d0
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], gethostname
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x14014d0d0
cmp al, 0x43
je 0x14014d0c9
mov rax, qword [rsp + 0x40]
xor r8d, r8d
mov r14d, r8d
mov esi, r8d
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14014ceaa
xor r9d, r9d
mov rcx, rdi
call fcn.1400ff4a0
mov rsi, rax
xor r8d, r8d
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x24], 0x5f
jne 0x14014cf21
movsxd r14, dword [rbx + 0x90]
cmp dword [rbx + 0x94], r14d
jg 0x14014cee8
mov edx, dword [rsp + 0x30]
xor r9d, r9d
mov r8d, dword [rsp + 0xb0]
mov rcx, rbx
mov dword [rsp + 0x20], edx
mov edx, gethostname
call fcn.1400bb2e0
mov r14d, eax
xor r8d, r8d
jmp 0x14014cf21
mov edx, dword [rsp + 0xb0]
lea rcx, [r14 + r14*2]
lea eax, [r14 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x30]
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8], gethostname
mov dword [rax + rcx*8 + 8], r8d
mov qword [rax + rcx*8 + 0x10], r8
test rsi, rsi
je 0x14014d03a
mov edx, dword [rsp + 0x34]
mov r8d, r12d
mov rcx, qword [rsp + 0xa0]
call fcn.14014d7c0
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14014cf6b
mov r9d, dword [rsp + 0xa8]
mov r8d, r12d
mov edx, 0x5a
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x14014cfa3
mov r8d, dword [rsp + 0xa8]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor edx, edx
mov dword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x14014cfc9
cmp qword [rax + 0x308], 0
jne 0x14014cfe5
add dword [rsi], 0xffffffff
jne 0x14014cfe5
mov rcx, qword [rsi + 0x10]
mov rdx, rsi
call fcn.1400ea6d0
jmp 0x14014cfe5
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], rsi
movsxd rax, dword [rbx + 0x90]
mov r9d, dword [rsp + 0xb8]
lea edx, [rax + 1]
cmp dword [rbx + 0x94], eax
jg 0x14014d015
mov dword [rsp + 0x20], edx
mov r8d, edx
mov edx, select
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x14014d093
lea rcx, [rax + rax*2]
mov dword [rbx + 0x90], edx
mov rax, qword [rbx + 0x88]
xor r8d, r8d
mov dword [rax + rcx*8], sendto
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], edx
jmp 0x14014d089
movsxd rcx, dword [rbx + 0x90]
mov r9d, dword [rsp + 0xb8]
cmp dword [rbx + 0x94], ecx
jg 0x14014d068
mov dword [rsp + 0x20], r8d
mov edx, 9
xor r8d, r8d
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x14014d093
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 8], r9d
test r14d, r14d
je 0x14014d0c1
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x14014d0ac
mov rax, r15
jmp 0x14014d0be
movsxd rax, r14d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov r14d, dword [rsp + 0xa8]
mov esi, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
xor r9d, r9d
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x40]
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x20], eax
call fcn.14014af20
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0xb8]
not edx
mov eax, dword [rcx + 0x4c]
add eax, dword [rcx + 0x48]
jns 0x14014d113
mov r8d, edx
mov rdx, rbx
call fcn.1400d4fb0
jmp 0x14014d123
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14014d151
mov r8d, dword [rsp + 0x34]
mov r9d, r13d
mov edx, 0x27
mov dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x14014d186
mov edx, dword [rsp + 0x34]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor r8d, r8d
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x14014d19b
mov rax, r15
jmp 0x14014d1b1
lea eax, [r13 - 1]
movsxd rcx, eax
mov rax, qword [rbx + 0x88]
lea rdx, [rcx + rcx*2]
lea rax, [rax + rdx*8]
mov dword [rax + 8], r8d
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
jne 0x14014d1db
lea eax, [r13 + 1]
movsxd rcx, eax
mov rax, qword [rbx + 0x88]
lea rdx, [rcx + rcx*2]
lea r15, [rax + rdx*8]
mov ecx, dword [rsp + 0x30]
mov dword [r15 + 8], r8d
test ecx, ecx
je 0x14014d1f9
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14014d1f9
mov dword [rdi + rax*4 + 0xe8], ecx
inc byte [rdi + 0x1f]
test esi, esi
je 0x14014d20f
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14014d20f
mov dword [rdi + rax*4 + 0xe8], esi
inc byte [rdi + 0x1f]
test ebp, ebp
je 0x14014d265
cmp ebp, 1
jne 0x14014d24a
test r12d, r12d
je 0x14014d230
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14014d230
mov dword [rdi + rax*4 + 0xe8], r12d
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x14014d265
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14014d265
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
jmp 0x14014d265
mov eax, dword [rdi + 0x2c]
cmp ebp, eax
jle 0x14014d265
mov eax, ebp
mov dword [rdi + 0x2c], ebp
mov dword [rdi + 0x30], r12d
cmp ebp, eax
jle 0x14014d265
mov dword [rdi + 0x2c], ebp
mov dword [rdi + 0x30], r14d
mov rcx, qword [rsp + 0xa0]
mov edx, 1
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14014ab30