Function at 0x14000c400
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, rdx
mov rdi, rcx
mov r13, qword [rdx + 0x18]
mov r12, qword [rdx + 0x20]
test r13, r13
je 0x14000c42d
mov rax, qword [r12 + 0x30]
jmp 0x14000c432
mov eax, dword [r12 + 0x34]
mov qword [rsp + 0x58], rax
mov eax, dword [r12 + 0x50]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call fcn.14000c000
cmp eax, 0xc
je 0x14000c476
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call fcn.14000c000
cmp eax, 0xc
jne 0x14000c7ca
mov r14, qword [rsp + 0x58]
mov ebp, dword [rsp + 0x70]
lea rax, [0x14002682e]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movabs rax, 0xdc1e847802469ed2
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.14000c3a0
mov rsi, qword [rax]
test rsi, rsi
mov qword [rsp + 0x50], rdi
je 0x14000c548
call sub.KERNEL32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, r14
mov r8d, ebp
call rsi
mov rdi, qword [rbx + 0x28]
mov r15, qword [rbx + 0x30]
test r15, r15
je 0x14000c515
mov rsi, qword [rbx + 0x48]
lea rax, [r15*8]
lea rbx, [rax + rax*4]
xor r14d, r14d
nop
mov edx, dword [rdi + r14 + 0x14]
add rdx, rsi
mov ecx, dword [rdi + r14 + 0xc]
mov r8d, dword [rdi + r14 + 0x10]
add rcx, qword [rsp + 0x58]
call fcn.140013b60
add r14, 0x28
cmp rbx, r14
jne 0x14000c4f0
mov rax, r13
shl rax, 4
mov rbp, qword [rsp + 0x58]
test r13, r13
je 0x14000c6e0
mov rcx, qword [r12 + 0x30]
lea rsi, [r12 + rax]
add rsi, 0x78
mov rax, rbp
sub rax, rcx
jne 0x14000c6f9
jmp 0x14000c7e0
mov r15, rax
movzx eax, byte [0x140030af8]
mov rcx, qword [0x140030ac8]
test rcx, rcx
jne 0x14000c577
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14000ceb2
mov rcx, rax
mov qword [0x140030ac8], rax
mov r8d, 0xa
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14000ceb2
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x68], r14
movabs rcx, 0x6c642e6c6c64746e
mov qword [rax], rcx
mov byte [rax + 8], WSAGetLastError
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
mov qword [rsp + 0x40], 9
lea rbp, [rsp + 0x30]
mov rcx, rbp
call fcn.1400064e0
mov rsi, rax
mov r14, rdx
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov rdi, rax
mov byte [rsi], 0
test r14, r14
je 0x14000c5f7
mov rcx, qword [0x140030ac8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
je 0x14000c4cf
lea rax, [0x14001a243]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
movabs rax, 0x3c8050d5a4848775
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.14000c3d0
movabs rcx, 0xca27999d1b9121eb
xor rcx, qword [rax]
movabs rdx, 0x66a22a401b9087f7
xor rdx, qword [rax + 8]
mov r8d, 0x5ead4d15
xor r8d, dword [rax + 0x10]
movzx r9d, byte [rax + 0x16]
movzx eax, word [rax + 0x14]
mov r10d, eax
shr r10d, 8
xor al, 0xd2
xor r10b, 0x44
movzx eax, al
movzx r10d, r10b
shl r10d, 8
or r10d, eax
xor r9b, 0xfd
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdx
mov dword [rsp + 0x88], r8d
mov word [rsp + 0x8c], r10w
mov byte [rsp + 0x8e], r9b
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x78]
mov r8d, 0x17
call fcn.140006690
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14000cd85
cmp qword [rsp + 0x38], 0
je 0x14000c4cf
mov rcx, qword [0x140030ac8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000c4cf
mov ecx, dword [r12 + 0x34]
lea rsi, [r12 + rax]
add rsi, 0x78
mov rax, rbp
sub rax, rcx
je 0x14000c7e0
mov ecx, dword [rsi + 0x28]
test rcx, rcx
je 0x14000c7e0
cmp dword [rsi + 0x2c], 0
je 0x14000c7e0
add rcx, rbp
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x14000c740
jmp 0x14000c7b0
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x14000c7b0
cmp r8d, 0xa
jb 0x14000c734
lea r9, [r8 - 8]
shr r9, 0x3f
add r8, r9
add r8, 0xfffffffffffffff8
sar r8, 1
cmp r8, 2
cmovl r8, rdx
xor r9d, r9d
jmp 0x14000c778
inc r9
cmp r8, r9
je 0x14000c730
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x14000c770
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rbp + r10], rax
jmp 0x14000c770
cmp dword [rcx], 0
je 0x14000c7db
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x14000c740
jmp 0x14000c7b0
mov dword [rdi + 4], eax
mov dword [rdi + 8], edx
mov dword [rdi], 1
jmp 0x14000ce9e
mov rbp, qword [rsp + 0x58]
cmp dword [rsi + 0xc], 0
mov qword [rsp + 0xa0], rsi
je 0x14000ca4a
mov eax, dword [rsi + 8]
test rax, rax
je 0x14000ca4a
add rax, rbp
lea rcx, [rbp + 2]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x98], r15
mov r14d, dword [rax + 0xc]
test r14, r14
jne 0x14000c840
cmp dword [rax + 0x10], 0
jne 0x14000c840
cmp dword [rax], 0
jne 0x14000c840
cmp dword [rax + 4], 0
jne 0x14000c840
cmp dword [rax + 8], 0
je 0x14000ca4a
nop dword [rax]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x90], rax
add r14, rbp
mov rcx, r14
call fcn.140016d20
lea r12, [rsp + 0x30]
mov rcx, r12
mov rdx, r14
mov r8, rax
call fcn.1400097e0
cmp qword [rsp + 0x30], 0
mov ecx, 6
jne 0x14000ce65
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rcx, r12
call fcn.140006690
mov r8, qword [rsp + 0x30]
test r8, r8
jne 0x14000ce67
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rcx, r15
call sub.KERNEL32.dll_LoadLibraryA
mov rsi, rax
test rax, rax
mov r12, qword [rsp + 0x60]
cmove rax, r12
mov qword [rsp + 0x68], rax
mov byte [r15], 0
test r14, r14
je 0x14000c8dd
mov rcx, qword [0x140030ac8]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x14000ce87
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx]
mov ecx, dword [rcx + 0x10]
add rcx, rbp
lea rdx, [rax + rbp]
test rax, rax
mov qword [rsp + 0x60], rcx
cmove rdx, rcx
mov qword [rsp + 0xb0], rdx
mov r12, qword [rdx]
test r12, r12
je 0x14000ca10
xor r14d, r14d
jmp 0x14000c966
movzx edx, r12w
mov rcx, qword [rsp + 0x68]
call sub.KERNEL32.dll_GetProcAddress
mov r15, rbx
mov rcx, rax
test rax, rax
je 0x14000ce10
mov rdx, qword [rsp + 0x60]
mov qword [rdx + r14], rcx
mov rcx, qword [rsp + 0xb0]
mov r12, qword [rcx + r14 + 8]
add r14, 8
mov rbx, r15
mov r13, rax
test r12, r12
je 0x14000ca16
test r12, r12
js 0x14000c920
mov rax, qword [rsp + 0xa8]
cmp byte [rax + r12], 0
je 0x14000ca10
add r12, rax
mov rcx, r12
call fcn.140016d20
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov rdx, r12
mov r8, rax
call fcn.1400097e0
cmp qword [rsp + 0x30], 0
jne 0x14000cdd4
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140006690
mov r8, qword [rsp + 0x30]
test r8, r8
jne 0x14000cde3
mov rsi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
mov rdx, rsi
call sub.KERNEL32.dll_GetProcAddress
mov r15, rax
mov byte [rsi], 0
test r12, r12
je 0x14000c9fc
mov rcx, qword [0x140030ac8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, r13
mov rcx, r15
test r15, r15
jne 0x14000c93d
jmp 0x14000cdfe
mov rax, r13
mov r15, rbx
mov rcx, qword [rsp + 0x90]
add rcx, 0x14
mov r13, rax
mov rax, rcx
mov rbx, r15
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x98]
mov r14d, dword [rax + 0xc]
test r14, r14
jne 0x14000c840
jmp 0x14000c81e
test r15, r15
lea rbx, [rsp + 0x30]
je 0x14000cd06
shl r15, 3
lea r14, [r15 + r15*4]
lea r13, [0x140025d81]
xor r15d, r15d
jmp 0x14000cade
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x30]
movabs rax, 0x80c2c6afed327a24
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.14000c340
mov rsi, qword [rax]
test rsi, rsi
je 0x14000cb50
mov dword [rsp + 0x30], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0xb8]
mov r9d, ebp
call rsi
test eax, eax
jne 0x14000cd7b
add r15, 0x28
cmp r14, r15
je 0x14000cd06
mov eax, dword [rdi + r15 + 0x10]
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x14000cad1
mov eax, dword [rdi + r15 + 0xc]
add rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov eax, dword [rdi + r15 + 0x24]
test eax, 0x20000000
jne 0x14000cb30
mov ebp, 1
test eax, 0x40000000
je 0x14000ca70
shr eax, 0x1f
lea ebp, [rax*2 + 2]
jmp 0x14000ca70
mov ebp, reloc.WS2_32.dll_recv
test eax, 0x40000000
je 0x14000ca70
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov ebp, eax
jmp 0x14000ca70
mov r12, rax
movzx eax, byte [0x140030af8]
mov rax, qword [0x140030ac8]
test rax, rax
jne 0x14000cb7c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14000ceb2
mov qword [0x140030ac8], rax
mov r8d, 0xa
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14000ceb2
movabs rcx, 0x6c642e6c6c64746e
mov qword [rax], rcx
mov byte [rax + 8], WSAGetLastError
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
mov qword [rsp + 0x40], 9
mov rcx, rbx
call fcn.1400064e0
mov rsi, rax
mov rbx, rdx
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov r13, rax
mov byte [rsi], 0
test rbx, rbx
je 0x14000cbf1
mov rcx, qword [0x140030ac8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r13, r13
je 0x14000ce1a
lea rax, [0x14001a9f3]
mov qword [rsp + 0x30], rax
lea rsi, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movabs rax, 0x3e5a431294b0e3a1
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.14000c370
mov rcx, qword [rax]
movabs rdx, 0xe9541bba2c47ec18
xor rcx, rdx
mov rdx, qword [rax + 8]
movabs r8, 0xdfc34d502e4ebbcb
xor rdx, r8
mov r8d, dword [rax + 0x10]
mov r9d, 0x7b4bdae4
xor r8d, r9d
movzx eax, word [rax + 0x14]
mov r9d, eax
xor r9b, 0xf
shr eax, 8
xor al, 7
movzx r9d, r9b
movzx eax, al
shl eax, 8
or eax, r9d
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdx
mov dword [rsp + 0x88], r8d
mov word [rsp + 0x8c], ax
mov r8d, 0x16
mov rcx, rsi
lea rdx, [rsp + 0x78]
call fcn.140006690
mov r8, qword [rsp + 0x30]
test r8, r8
jne 0x14000ce28
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rcx, r13
mov rdx, rsi
call sub.KERNEL32.dll_GetProcAddress
mov r13, rax
mov byte [rsi], 0
test rbx, rbx
je 0x14000cce4
mov rcx, qword [0x140030ac8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r13, r13
je 0x14000ce4a
mov qword [r12], r13
mov rsi, qword [r12]
lea rbx, [rsp + 0x30]
lea r13, [0x140025d81]
jmp 0x14000ca9f
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x4c], 0
je 0x14000cd5e
mov eax, dword [rax + 0x48]
test rax, rax
je 0x14000cd5e
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x14000cd5e
add rsi, 8
nop word cs:[rax + rax]
mov rcx, rdi
mov edx, 2
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x14000cd40
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rax
mov dword [rcx], 0
jmp 0x14000ce9e
mov ecx, 5
jmp 0x14000ce52
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call sub.KERNEL32.dll_GetProcAddress
mov rdi, rax
mov byte [rsi], 0
test r14, r14
je 0x14000cdb7
mov rcx, qword [0x140030ac8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
mov r14, qword [rsp + 0x68]
mov ebp, dword [rsp + 0x60]
je 0x14000c4cf
mov qword [r15], rdi
mov rsi, qword [r15]
jmp 0x14000c4bf
mov rax, qword [rsp + 0x50]
mov ecx, 6
jmp 0x14000ce91
cmp qword [rsp + 0x38], 0
je 0x14000cdfa
mov rcx, qword [0x140030ac8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
jmp 0x14000ce03
mov ecx, 2
mov rax, qword [rsp + 0x50]
mov r12d, ebx
jmp 0x14000ce91
mov ecx, 2
mov r12d, r13d
jmp 0x14000ce8c
mov ecx, 1
mov rsi, qword [rsp + 0x50]
xor eax, eax
jmp 0x14000ce57
cmp qword [rsp + 0x38], 0
mov rsi, qword [rsp + 0x50]
je 0x14000ce44
mov rcx, qword [0x140030ac8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
xor ecx, ecx
jmp 0x14000ce57
mov eax, r13d
mov ecx, 2
mov rsi, qword [rsp + 0x50]
mov dword [rsi + 4], ecx
mov dword [rsi + 8], eax
mov dword [rsi], 1
jmp 0x14000ce9e
jmp 0x14000ce8c
cmp qword [rsp + 0x38], 0
mov r12, qword [rsp + 0x60]
je 0x14000ce83
mov rcx, qword [0x140030ac8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
jmp 0x14000ce8c
mov ecx, 1
mov rax, qword [rsp + 0x50]
mov dword [rax + 4], ecx
mov dword [rax + 8], r12d
mov dword [rax], 1
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2