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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov eax, r8d
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
sub eax, 0x80
je 0x140282522
sub eax, 0x40
je 0x14028251a
cmp eax, 0x40
je 0x140282512
mov eax, 0xffffffe0
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov dword [rcx], select
jmp 0x140282528
mov dword [rcx], listen
jmp 0x140282528
mov dword [rcx], 0xa
cmp dword [0x140803e58], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], r15
jne 0x14028254a
call fcn.140281250
mov dword [0x140803e58], 1
mov ecx, 0x2000000
call fcn.140285350
xor ebx, ebx
test eax, eax
je 0x14028256f
mov rax, rsi
shr rax, 2
and eax, 3
je 0x14028256f
mov ecx, 4
sub ecx, eax
jmp 0x140282571
mov ecx, ebx
mov eax, ecx
mov ecx, 0x2000000
mov qword [rsi + 8], rax
lea r15, [rsi + rax*4]
call fcn.140285350
test eax, eax
je 0x14028259d
mov r8, rdi
lea rcx, [r15 + 0x10]
mov rdx, rbp
call fcn.140285400
jmp 0x140282d3d
shr edi, 5
test edi, edi
je 0x1402825c6
lea rdx, [r15 + 0x10]
nop dword [rax + rax]
lea eax, [rbx*4]
inc ebx
mov eax, dword [rax + rbp]
mov dword [rdx], eax
lea rdx, [rdx + 4]
cmp ebx, edi
jb 0x1402825b0
mov eax, dword [rsi]
mov qword [rsp + 0x48], r14
cmp eax, 0xa
je 0x140282b04
cmp eax, 0xc
je 0x1402826eb
cmp eax, 0xe
jne 0x140282d36
mov r10d, dword [r15 + 0x10]
lea r9, [r15 + 0x2e]
lea ebx, [rax - 7]
movzx eax, byte [r9]
lea r11, [0x140803e30]
lea r14, [0x140801c30]
nop word [rax + rax]
movzx ecx, byte [r9 - 2]
lea r11, [r11 + 4]
lea r9, [r9 + 0x20]
movzx r8d, byte [rcx + r14]
movzx ecx, byte [r9 - 0x1f]
shl r8d, 8
movzx edx, byte [rcx + r14]
movzx ecx, al
xor r8d, edx
shl r8d, 8
movzx eax, byte [rcx + r14]
xor r8d, eax
movzx eax, byte [r9 - 0x21]
shl r8d, 8
movzx ecx, byte [rax + r14]
xor r8d, ecx
xor r10d, r8d
xor r10d, dword [r11 - 4]
mov eax, r10d
mov dword [r9 - 0x1e], r10d
xor eax, dword [r9 - 0x3a]
mov dword [r9 - 0x1a], eax
xor eax, dword [r9 - 0x36]
mov dword [r9 - 0x16], eax
xor eax, dword [r9 - 0x32]
mov r8d, eax
shr rax, 0x18
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
mov dword [r9 - 0x12], r8d
movzx eax, byte [rax + r14]
shl eax, 8
movzx ecx, byte [rdx + r14]
xor eax, ecx
mov ecx, r8d
shl eax, 8
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rdx + r14]
xor eax, ecx
movzx ecx, r8b
shl eax, 8
movzx edx, byte [rcx + r14]
xor eax, edx
xor eax, dword [r9 - 0x2e]
mov dword [r9 - 0xe], eax
xor eax, dword [r9 - 0x2a]
mov dword [r9 - 0xa], eax
xor eax, dword [r9 - 0x26]
mov dword [r9 - 6], eax
xor eax, dword [r9 - 0x22]
mov dword [r9 - 2], eax
shr eax, 0x10
sub rbx, 1
jne 0x140282610
jmp 0x140282d36
movzx eax, byte [r15 + 0x24]
lea r14, [0x140801c30]
movzx ebx, byte [rax + r14]
movzx eax, byte [r15 + 0x27]
shl ebx, 8
movzx ecx, byte [rax + r14]
movzx eax, byte [r15 + 0x26]
xor ebx, ecx
shl ebx, 8
movzx ecx, byte [rax + r14]
movzx eax, byte [r15 + 0x25]
xor ebx, ecx
shl ebx, 8
movzx ecx, byte [rax + r14]
xor ebx, ecx
xor ebx, dword [r15 + 0x10]
xor ebx, dword [0x140803e30]
mov r8d, ebx
mov dword [r15 + 0x28], ebx
xor r8d, dword [r15 + 0x14]
mov r9d, r8d
mov dword [r15 + 0x2c], r8d
xor r9d, dword [r15 + 0x18]
mov r10d, r9d
mov dword [r15 + 0x30], r9d
xor r10d, dword [r15 + 0x1c]
mov r11d, r10d
mov dword [r15 + 0x34], r10d
xor r11d, dword [r15 + 0x20]
mov eax, r11d
mov dword [r15 + 0x38], r11d
xor eax, dword [r15 + 0x24]
mov edx, eax
shr rax, 0x18
mov dword [r15 + 0x3c], edx
movzx esi, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor esi, ecx
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
xor esi, ebx
xor esi, dword [0x140803e34]
mov ebx, esi
mov dword [r15 + 0x40], esi
xor ebx, r8d
mov edi, ebx
mov dword [r15 + 0x44], ebx
xor edi, r9d
mov r9d, edi
mov dword [r15 + 0x48], edi
xor r9d, r10d
mov r10d, r9d
mov dword [r15 + 0x4c], r9d
xor r10d, r11d
xor edx, r10d
mov dword [r15 + 0x50], r10d
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [r15 + 0x54], r8d
movzx ebp, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shl ecx, 8
xor ebp, ecx
shl ebp, 8
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebp, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl ebp, 8
movzx eax, byte [rcx + r14]
xor ebp, eax
xor ebp, esi
xor ebp, dword [0x140803e38]
mov r11d, ebp
mov dword [r15 + 0x58], ebp
xor r11d, ebx
mov ebx, r11d
mov dword [r15 + 0x5c], r11d
xor ebx, edi
mov edi, ebx
mov dword [r15 + 0x60], ebx
xor edi, r9d
mov r9d, edi
mov dword [r15 + 0x64], edi
xor r9d, r10d
xor r8d, r9d
mov dword [r15 + 0x68], r9d
mov eax, r8d
shr rax, 0x18
mov edx, r8d
mov dword [r15 + 0x6c], edx
movzx esi, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor esi, ecx
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
mov eax, r8d
shr eax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
xor esi, ebp
xor esi, dword [0x140803e3c]
mov r10d, esi
mov dword [r15 + 0x70], esi
xor r10d, r11d
mov r11d, r10d
mov dword [r15 + 0x74], r10d
xor r11d, ebx
mov ebx, r11d
mov dword [r15 + 0x78], r11d
xor ebx, edi
mov edi, ebx
mov dword [r15 + 0x7c], ebx
xor edi, r9d
xor edx, edi
mov dword [r15 + 0x80], edi
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [r15 + 0x84], r8d
movzx ebp, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor ebp, ecx
movzx ecx, al
shl ebp, 8
movzx eax, byte [rcx + r14]
xor ebp, eax
mov eax, edx
shl ebp, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebp, eax
xor ebp, esi
xor ebp, dword [0x140803e40]
mov r9d, ebp
mov dword [r15 + 0x88], ebp
xor r9d, r10d
mov r10d, r9d
mov dword [r15 + 0x8c], r9d
xor r10d, r11d
mov r11d, r10d
mov dword [r15 + 0x90], r10d
xor r11d, ebx
mov ebx, r11d
mov dword [r15 + 0x94], r11d
xor ebx, edi
xor r8d, ebx
mov dword [r15 + 0x98], ebx
mov eax, r8d
shr rax, 0x18
mov edx, r8d
mov dword [r15 + 0x9c], edx
movzx esi, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor esi, ecx
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
mov eax, r8d
shr eax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
xor esi, ebp
xor esi, dword [0x140803e44]
mov edi, esi
mov dword [r15 + 0xa0], esi
xor edi, r9d
mov r9d, edi
mov dword [r15 + 0xa4], edi
xor r9d, r10d
mov r10d, r9d
mov dword [r15 + 0xa8], r9d
xor r10d, r11d
mov r11d, r10d
mov dword [r15 + 0xac], r10d
xor r11d, ebx
xor edx, r11d
mov dword [r15 + 0xb0], r11d
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [r15 + 0xb4], r8d
movzx ebp, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor ebp, ecx
movzx ecx, al
shl ebp, 8
movzx eax, byte [rcx + r14]
xor ebp, eax
mov eax, edx
shl ebp, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebp, eax
xor ebp, esi
xor ebp, dword [0x140803e48]
mov ebx, ebp
mov dword [r15 + 0xb8], ebp
xor ebx, edi
mov dword [r15 + 0xbc], ebx
mov edi, ebx
xor edi, r9d
mov esi, edi
mov dword [r15 + 0xc0], edi
xor esi, r10d
mov r10d, esi
mov dword [r15 + 0xc4], esi
xor r10d, r11d
xor r8d, r10d
mov dword [r15 + 0xc8], r10d
mov eax, r8d
shr rax, 0x18
mov r9d, r8d
mov dword [r15 + 0xcc], r9d
movzx edx, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor edx, ecx
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r14]
xor edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor edx, eax
xor edx, ebp
xor edx, dword [0x140803e4c]
mov dword [r15 + 0xd0], edx
xor edx, ebx
mov dword [r15 + 0xd4], edx
xor edx, edi
mov dword [r15 + 0xd8], edx
xor edx, esi
mov dword [r15 + 0xdc], edx
xor edx, r10d
xor r9d, edx
mov dword [r15 + 0xe0], edx
mov dword [r15 + 0xe4], r9d
jmp 0x140282d36
mov ebx, dword [r15 + 0x10]
lea rsi, [r15 + 0x1e]
movzx r11d, byte [rsi]
lea rbp, [0x140803e38]
mov r15d, 2
lea r14, [0x140801c30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi - 2]
movzx r10d, byte [rax + r14]
movzx eax, byte [rsi + 1]
shl r10d, 8
movzx ecx, byte [rax + r14]
xor r10d, ecx
movzx eax, r11b
shl r10d, 8
movzx ecx, byte [rax + r14]
movzx eax, byte [rsi - 1]
xor r10d, ecx
shl r10d, 8
movzx ecx, byte [rax + r14]
xor r10d, ecx
xor r10d, dword [rbp - 8]
xor r10d, ebx
mov r8d, r10d
mov dword [rsi + 2], r10d
xor r8d, dword [rsi - 0xa]
mov r9d, r8d
mov dword [rsi + 6], r8d
xor r9d, dword [rsi - 6]
mov eax, r9d
mov dword [rsi + 0xa], r9d
xor eax, dword [rsi - 2]
mov edx, eax
shr rax, 0x18
mov dword [rsi + 0xe], edx
movzx ebx, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor ebx, ecx
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r14]
xor ebx, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r14]
xor ebx, eax
xor ebx, dword [rbp - 4]
xor ebx, r10d
mov r10d, ebx
mov dword [rsi + 0x12], ebx
xor r10d, r8d
mov r11d, r10d
mov dword [rsi + 0x16], r10d
xor r11d, r9d
xor edx, r11d
mov dword [rsi + 0x1a], r11d
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [rsi + 0x1e], r8d
movzx edi, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor edi, ecx
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r14]
xor edi, eax
mov eax, edx
shl edi, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor edi, eax
xor edi, dword [rbp]
xor edi, ebx
mov r9d, edi
mov dword [rsi + 0x22], edi
xor r9d, r10d
mov r10d, r9d
mov dword [rsi + 0x26], r9d
xor r10d, r11d
lea rbp, [rbp + 0x14]
mov dword [rsi + 0x2a], r10d
lea rsi, [rsi + 0x50]
xor r8d, r10d
mov edx, r8d
mov eax, r8d
shr rax, 0x18
mov dword [rsi - 0x22], edx
movzx r11d, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor r11d, ecx
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + r14]
xor r11d, eax
mov eax, r8d
shr eax, 8
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + r14]
xor r11d, eax
xor r11d, dword [rbp - 0x10]
xor r11d, edi
mov r8d, r11d
mov dword [rsi - 0x1e], r11d
xor r8d, r9d
mov r9d, r8d
mov dword [rsi - 0x1a], r8d
xor r9d, r10d
mov eax, r9d
mov dword [rsi - 0x16], r9d
xor eax, edx
mov edx, eax
shr rax, 0x18
mov dword [rsi - 0x12], edx
movzx ebx, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor ebx, ecx
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r14]
xor ebx, eax
mov eax, edx
shl ebx, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebx, eax
xor ebx, dword [rbp - 0xc]
xor ebx, r11d
mov r11d, ebx
mov dword [rsi - 0xe], ebx
xor r11d, r8d
mov dword [rsi - 0xa], r11d
xor r11d, r9d
mov dword [rsi - 6], r11d
xor r11d, edx
mov dword [rsi - 2], r11d
shr r11d, 0x10
sub r15, 1
jne 0x140282b30
mov r14, qword [rsp + 0x48]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret