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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, qword [rcx + 8]
xor r15d, r15d
mov rdi, qword [rcx]
mov r12d, edx
mov rsi, qword [rcx + 0x10]
mov ebp, r8d
mov rbx, rcx
mov dword [rsp + 0x80], r15d
mov al, byte [r14 + 0x20]
lea edx, [r15 + 2]
dec dword [rdi + 0x44]
mov r13d, dword [rdi + 0x44]
mov byte [rsp + 0x88], al
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r15d
cmp r12d, edx
jne 0x1402d7e0b
cmp byte [r14 + 0x21], 0x5a
jne 0x1402d7e0b
xor eax, eax
jmp 0x1402d81ab
mov r9d, 0x39
test ebp, ebp
jle 0x1402d7e93
cmp byte [r14 + 0x20], 0x59
jne 0x1402d7e7b
mov ecx, dword [rsi + 0x98]
mov dword [rsp + 0x30], ecx
cmp r12d, edx
jne 0x1402d7e59
mov r10b, 0x56
cmp byte [r14 + 0x21], r10b
jne 0x1402d7e3a
mov r8d, dword [rbx + 0x34]
jmp 0x1402d7e3e
mov r8d, dword [rbx + 0x2c]
mov eax, 0x2c
mov edx, 0x37
cmovne edx, r9d
lea r9d, [rax + 8]
cmovne eax, r9d
mov ecx, dword [rax + rbx]
jmp 0x1402d7e65
mov r8d, dword [rbx + 0x3c]
mov edx, 0x36
mov ecx, dword [rbx + 0x34]
mov dword [rsp + 0x28], r13d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1402d81c4
jmp 0x1402d7e93
mov r9d, r13d
mov dword [rsp + 0x20], 1
mov edx, 0x31
mov rcx, rsi
call fcn.1402b4e38
cmp r12d, 1
jne 0x1402d7eac
cmp dword [r14 + 0x84], r15d
jne 0x1402d7eac
xor edx, edx
mov rcx, rbx
call fcn.1402d7608
mov eax, dword [rsi + 0x98]
mov dword [rsp + 0x38], eax
mov al, byte [r14 + 0x22]
cmp byte [r14 + 0x21], al
jne 0x1402d7fbc
test ebp, ebp
je 0x1402d7fbc
cmp byte [r14 + 0x20], 0x59
jne 0x1402d7fbc
mov al, byte [rdi + 0x1f]
test al, al
jne 0x1402d7ee6
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x1402d7ef9
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xd8]
test al, al
jne 0x1402d7f02
inc dword [rdi + 0x38]
mov r15d, dword [rdi + 0x38]
jmp 0x1402d7f12
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r15d, dword [rdi + rax*4 + 0xd8]
mov eax, 2
cmp r12d, eax
jne 0x1402d7f53
mov r8d, dword [rbx + 0x2c]
mov r9d, ebp
and dword [rsp + 0x20], 0
mov edx, 0x86
mov rcx, rsi
call fcn.1402b4e38
mov r8d, dword [rbx + 0x3c]
mov r9d, r15d
and dword [rsp + 0x20], 0
mov edx, 0x86
mov rcx, rsi
call fcn.1402b4e38
mov r8d, r15d
jmp 0x1402d7f76
cmp dword [rbx + 0x28], 0
je 0x1402d7f8a
and dword [rsp + 0x20], 0
mov r9d, ebp
mov r8d, dword [rbx + 0x3c]
mov edx, 0x86
mov rcx, rsi
call fcn.1402b4e38
mov r8d, dword [rbx + 0x28]
mov r9d, r13d
mov dword [rsp + 0x20], ebp
mov edx, 0x39
mov rcx, rsi
call fcn.1402b4e38
test ebp, ebp
je 0x1402d7fa2
cmp byte [rdi + 0x1f], 8
jae 0x1402d7fa2
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd8], ebp
inc byte [rdi + 0x1f]
test r15d, r15d
je 0x1402d7fbc
cmp byte [rdi + 0x1f], 8
jae 0x1402d7fbc
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xd8], r15d
inc byte [rdi + 0x1f]
mov ecx, r12d
sub ecx, 1
je 0x1402d8032
cmp ecx, 1
je 0x1402d8001
cmp dword [r14 + 0x84], 0
mov r15d, dword [rbx + 0x3c]
mov r13d, dword [rbx + 0x40]
je 0x1402d7ffc
mov r8d, dword [r14 + 0x88]
mov r9d, 1
and dword [rsp + 0x20], 0
mov edx, 0x55
mov rcx, rsi
call fcn.1402b4e38
jmp 0x1402d8042
xor r9d, r9d
jmp 0x1402d801b
mov r8d, dword [r14 + 0x84]
mov r9d, 1
mov r15d, dword [rbx + 0x2c]
mov r13d, dword [rbx + 0x30]
test r8d, r8d
jne 0x1402d7fe8
mov eax, dword [rbx + 0x20]
mov r8d, r15d
mov rdx, r14
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1402d7780
jmp 0x1402d8042
mov r15d, dword [rbx + 0x34]
mov rcx, rbx
mov r13d, dword [rbx + 0x38]
call fcn.1402d8a40
cmp r12d, dword [rbx + 0x24]
jne 0x1402d807d
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r15d
mov edx, 0x81
mov rcx, rsi
call fcn.1402b4e38
movsxd rax, dword [rsi + 0x98]
test eax, eax
jle 0x1402d807d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x90]
mov word [rax + rcx*8 - 0x16], 2
cmp dword [rsp + 0x98], 0
mov r12d, listen
mov eax, dword [rsi + 0x98]
mov r8d, r15d
mov rcx, rsi
lea edx, [r12 - 6]
je 0x1402d80dc
and dword [rsp + 0x20], 0
lea r9d, [rax + 2]
call fcn.1402b4e38
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.1402b4e38
cmp byte [rsp + 0x88], 0x4c
mov r12d, eax
mov dword [rsp + 0x80], eax
je 0x1402d817d
jmp 0x1402d811d
xor r9d, r9d
cmp byte [rsp + 0x88], 0x4c
setne r9b
and dword [rsp + 0x20], 0
inc r9d
add r9d, eax
call fcn.1402b4e38
cmp byte [rsp + 0x88], 0x4c
je 0x1402d8175
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, dword [rsp + 0x34]
mov edx, r12d
mov rcx, rsi
call fcn.1402b4e38
mov rbp, qword [r14 + 0x18]
test rbp, rbp
je 0x1402d813c
mov ebp, dword [rbp]
test ebp, ebp
je 0x1402d813c
mov edx, ebp
mov rcx, rdi
call fcn.1402a1144
mov r12d, eax
jmp 0x1402d813f
xor r12d, r12d
mov r8d, r12d
mov edx, r15d
mov rcx, rbx
call fcn.1402d89b0
mov eax, dword [rsp + 0x38]
mov r9d, r13d
mov rdx, qword [r14 + 0x18]
mov r8d, r12d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1402d88e0
mov r8d, ebp
mov edx, r12d
mov rcx, rdi
call fcn.1402ac940
mov r12d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1402d819c
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, eax
mov rcx, rsi
lea edx, [r8 + 0xb]
call fcn.1402b4e38
mov edx, dword [rsp + 0x34]
mov rcx, rsi
call fcn.1402bf958
mov eax, r12d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret