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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r9
xor r14b, r14b
xor r9d, r9d
xorps xmm0, xmm0
mov qword [rbp - 0x18], r9
mov rdi, rdx
mov rsi, rcx
movdqu xmmword [rbp - 0x28], xmm0
test r8, r8
je 0x140146c65
test rdx, rdx
je 0x140146c65
mov rcx, qword [rdx + 0x80]
test rcx, rcx
je 0x140146c65
cmp r8, qword [rdx + 0x40]
jb 0x140146c65
mov eax, dword [rdx + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, rax
cmp r8, rcx
ja 0x140146c65
movzx edx, byte [r8]
lea r10, [r8 + 1]
mov dword [rbx], edx
mov r11, r10
cmp edx, 0x21
jae 0x140146c65
cmp edx, 1
jne 0x140145b1a
movzx edx, byte [r10]
mov r8d, dword [rdi + 0x28]
cmp edx, r8d
ja 0x140146c65
movzx eax, byte [r10 + 2]
movzx ecx, byte [r10 + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 4]
shl ecx, 8
or ecx, eax
lea eax, [rdx + rcx]
cmp eax, r8d
ja 0x140146c65
mov dword [rbx + 8], edx
lea ecx, [rcx*4]
mov dword [rbx + 0xc], r9d
mov rax, qword [rdi + 0x30]
add rax, 4
add rcx, rax
mov al, 1
mov qword [rbx + 0x10], rcx
jmp 0x140146c67
lea eax, [rdx - 2]
cmp eax, 1
jbe 0x140146b80
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
cmp edx, 0xb
jne 0x140145b67
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r10]
movzx ecx, byte [r10 + 1]
shl eax, 8
or ecx, eax
mov al, 1
mov dword [rbx + 8], ecx
jmp 0x140146c67
mov r15d, dword [rdi + 0x88]
add r15, qword [rdi + 0x80]
lea rax, [r15 - 4]
cmp r11, rax
ja 0x140146c65
movzx eax, byte [r10]
add r11, 3
shl eax, 8
movzx ecx, byte [r11 - 2]
or ecx, eax
movzx eax, byte [r11 - 1]
shl ecx, 8
or ecx, eax
je 0x140146c65
mov r10d, ecx
add r10, r8
cmp r10, qword [rdi + 0x40]
jb 0x140146c65
cmp r10, r15
jae 0x140146c65
cmp edx, 4
je 0x1401469cd
cmp edx, 5
sete r14b
je 0x1401469cd
cmp edx, 6
je 0x14014680b
cmp edx, 7
sete r14b
je 0x14014680b
cmp edx, 8
je 0x140146693
cmp edx, 9
sete r14b
je 0x140146693
cmp edx, 0xa
jne 0x140145c48
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
movzx eax, byte [r11 + 1]
movzx ecx, byte [r11]
shl ecx, 8
or ecx, eax
mov al, 1
mov dword [rbx + 0x18], ecx
jmp 0x140146c67
lea eax, [rdx - 0xc]
cmp eax, 1
jbe 0x140146472
lea eax, [rdx - 0xe]
cmp eax, 1
jbe 0x140146360
lea eax, [rdx - 0x10]
cmp eax, 7
ja 0x140145f10
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
lea r8, [r11 + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
or ecx, eax
lea eax, [rdx - 0x10]
shl ecx, 2
mov dword [rbx + 0x18], ecx
cmp eax, 3
ja 0x140145cfa
cmp r8, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x140146c65
movzx eax, byte [r11 + 2]
add r8, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [r8 - 1]
or ecx, eax
shl ecx, 2
lea eax, [rdx - 0x12]
mov dword [rbx + 0x1c], ecx
test eax, 0xfffffffa
je 0x140145d0d
mov dword [rbx + 0x20], r9d
jmp 0x140145d66
cmp r8, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x140146c65
movzx eax, byte [r8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r8 + 1]
add r8, 4
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x20], ecx
movzx eax, byte [r8 - 2]
shl ax, 8
movsx r9d, ax
movzx eax, byte [r8 - 1]
or r9d, eax
shl r9d, 0x10
lea eax, [rdx - 0x11]
mov dword [rbx + 0x24], r9d
test eax, 0xfffffff9
jne 0x140145f03
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x140145f03
cmp byte [rcx + 0x7c], 0
je 0x140145f03
cmp r8, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x140146c65
movzx eax, byte [r8]
movzx r14d, byte [r8 + 1]
shl eax, 8
or r14d, eax
movzx eax, byte [r8 + 2]
shl r14d, 8
or r14d, eax
movzx eax, byte [r8 + 3]
shl r14d, 8
or r14d, eax
cmp edx, 0x11
jne 0x140145e27
lea rax, [rbp - 0x28]
mov r8d, r14d
lea r9d, [rdx - 0xf]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x24]
lea eax, [rax*4]
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x13
jne 0x140145e7d
lea rax, [rbp - 0x28]
mov r9d, 4
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x24]
lea eax, [rax*4]
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x24], eax
cmp dword [rbx], 0x15
jne 0x140145eb7
lea rax, [rbp - 0x28]
mov r9d, 1
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x17
jne 0x140145f03
lea rax, [rbp - 0x28]
mov r9d, 3
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x24]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x24], eax
mov dword [rbx], reloc.WS2_32.dll_recv
mov al, 1
jmp 0x140146c67
lea eax, [rdx - 0x18]
cmp eax, 3
jbe 0x1401461c6
lea eax, [rdx - 0x1c]
cmp eax, 3
jbe 0x140145fda
cmp edx, 0x20
jne 0x140146c65
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
dec rcx
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
inc r11
cmp eax, 0x1c
jae 0x140146c65
mov dword [rbx + 0x18], eax
mov r9, qword [rdi + 0x40]
cmp r11, r9
jb 0x140146c65
mov edx, dword [rdi + 0x88]
add rdx, qword [rdi + 0x80]
lea rax, [rdx - 4]
cmp r11, rax
ja 0x140146c65
movzx eax, byte [r11]
movzx ecx, byte [r11 + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [r11 + 2]
shl ecx, 8
or ecx, eax
je 0x140146c65
mov eax, ecx
add rax, r8
cmp rax, r9
jb 0x140146c65
cmp rax, rdx
jae 0x140146c65
mov qword [rbx + 0x20], rax
mov al, 1
mov byte [rbx + 0x28], 0
jmp 0x140146c67
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
add r11, 4
or ecx, eax
shl ecx, 2
mov dword [rbx + 0x18], ecx
movzx eax, byte [r11 - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 - 1]
or ecx, eax
lea eax, [rdx - 0x1e]
shl ecx, 2
mov dword [rbx + 0x1c], ecx
cmp eax, 1
jbe 0x140146049
mov dword [rbx + 0x20], r9d
jmp 0x1401460a2
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
add r11, 4
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x20], ecx
movzx eax, byte [r11 - 2]
shl ax, 8
movsx r9d, ax
movzx eax, byte [r11 - 1]
or r9d, eax
shl r9d, 0x10
lea eax, [rdx - 0x1d]
mov dword [rbx + 0x24], r9d
test eax, 0xfffffffd
jne 0x1401461b9
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x1401461b9
cmp byte [rcx + 0x7c], 0
je 0x1401461b9
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
movzx r14d, byte [r11 + 1]
shl eax, 8
or r14d, eax
movzx eax, byte [r11 + 2]
shl r14d, 8
or r14d, eax
movzx eax, byte [r11 + 3]
shl r14d, 8
or r14d, eax
cmp edx, 0x1d
jne 0x140146163
lea rax, [rbp - 0x28]
mov r8d, r14d
lea r9d, [rdx - 0x1b]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x24]
lea eax, [rax*4]
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x1f
jne 0x1401461b9
lea rax, [rbp - 0x28]
mov r9d, 4
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x24]
lea eax, [rax*4]
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x24], eax
mov dword [rbx], 0x1c
mov al, 1
jmp 0x140146c67
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
lea r8, [r11 + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
or ecx, eax
lea eax, [rdx - 0x1a]
shl ecx, 2
mov dword [rbx + 0x18], ecx
cmp eax, 1
jbe 0x14014621f
mov dword [rbx + 0x1c], r9d
mov ecx, r9d
jmp 0x140146276
cmp r8, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x140146c65
movzx eax, byte [r11 + 2]
add r8, 4
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x1c], ecx
movzx eax, byte [r11 + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r8 - 1]
or ecx, eax
shl ecx, 0x10
lea eax, [rdx - 0x19]
mov dword [rbx + 0x20], ecx
test eax, 0xfffffffd
jne 0x140146353
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x140146353
cmp byte [rcx + 0x7c], r9b
je 0x140146353
cmp r8, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x140146c65
movzx eax, byte [r8]
mov r15d, 3
movzx ecx, byte [r8 + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [r8 + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 3]
shl ecx, 8
or ecx, eax
cmp edx, 0x1b
cmovne r15d, r9d
cmp edx, 0x19
jne 0x140146307
lea r15d, [rdx - 0x18]
jmp 0x14014630c
cmp edx, 0x1b
jne 0x140146353
lea rax, [rbp - 0x28]
mov r8d, ecx
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov rdx, rdi
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
lea eax, [rax*4]
add dword [rbx + 0x18], eax
cmp r15d, 3
jne 0x140146353
mov eax, dword [rbp - 0x24]
shl eax, 0x10
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov dword [rbx], 0x18
mov al, 1
jmp 0x140146c67
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
add r11, 4
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x18], ecx
movzx eax, byte [r11 - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 - 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x1c], ecx
cmp edx, 0xf
jne 0x140146465
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x140146465
cmp byte [rcx + 0x7c], r9b
je 0x140146465
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
lea r9d, [rdx - 0xd]
movzx r8d, byte [r11 + 1]
mov rdx, rdi
shl eax, 8
mov rcx, rsi
or r8d, eax
movzx eax, byte [r11 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r11 + 3]
shl r8d, 8
or r8d, eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
shl eax, 0x10
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x24]
shl eax, 0x10
add dword [rbx + 0x1c], eax
mov dword [rbx], reloc.WS2_32.dll_ntohl
mov al, 1
jmp 0x140146c67
mov qword [rbx + 8], r10
mov byte [rbx + 0x10], r9b
mov r14, qword [rdi + 0x40]
cmp r11, r14
jb 0x140146c65
mov r10d, dword [rdi + 0x88]
add r10, qword [rdi + 0x80]
lea rax, [r10 - 4]
cmp r11, rax
ja 0x140146c65
movzx eax, byte [r11 + 1]
movzx ecx, byte [r11]
shl ecx, 8
or ecx, eax
movzx eax, byte [r11 + 2]
shl ecx, 8
or ecx, eax
je 0x140146c65
mov r9d, ecx
add r9, r8
cmp r9, r14
jb 0x140146c65
cmp r9, r10
jae 0x140146c65
lea rax, [r10 - 0x18]
cmp r9, rax
ja 0x140146c65
movzx eax, byte [r9]
movzx ecx, byte [r9 + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [r9 + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 3]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x18], ecx
movzx eax, byte [r9 + 5]
movzx ecx, byte [r9 + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 7]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x24], ecx
movzx eax, byte [r9 + 8]
movzx ecx, byte [r9 + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [r9 + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0xb]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x1c], ecx
movzx eax, byte [r9 + 0xd]
movzx ecx, byte [r9 + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x28], ecx
movzx eax, byte [r9 + 0x10]
movzx ecx, byte [r9 + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [r9 + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x13]
shl ecx, 8
add r9, 0x18
or ecx, eax
mov dword [rbx + 0x20], ecx
movzx eax, byte [r9 - 3]
movzx ecx, byte [r9 - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 - 1]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x2c], ecx
cmp edx, 0xd
jne 0x140146686
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x140146686
cmp byte [rcx + 0x7c], 0
je 0x140146686
cmp r9, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x140146c65
movzx eax, byte [r9]
mov rcx, rsi
movzx r8d, byte [r9 + 1]
shl eax, 8
or r8d, eax
movzx eax, byte [r9 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 3]
shl r8d, 8
lea r9d, [rdx - 7]
or r8d, eax
mov rdx, rdi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x24]
add dword [rbx + 0x24], eax
mov eax, dword [rbp - 0x20]
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x1c]
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x18]
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x14]
add dword [rbx + 0x2c], eax
mov dword [rbx], recv
mov al, 1
jmp 0x140146c67
lea r8, [rbx + 8]
movzx r9d, r14b
mov rdx, r10
mov rcx, rdi
call fcn.1401459c0
test al, al
je 0x140146c65
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff8
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x28], ecx
movzx eax, byte [r11 + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x2c], ecx
movzx eax, byte [r11 + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 5]
add r11, 8
or ecx, eax
shl ecx, 2
mov dword [rbx + 0x30], ecx
movzx eax, byte [r11 - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 - 1]
or ecx, eax
shl ecx, 2
mov dword [rbx + 0x34], ecx
test r14b, r14b
je 0x1401467fe
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x1401467fe
cmp byte [rcx + 0x7c], 0
je 0x1401467fe
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11 + 1]
mov r9d, 4
movzx r8d, byte [r11]
mov rdx, rdi
shl r8d, 8
mov rcx, rsi
or r8d, eax
movzx eax, byte [r11 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r11 + 3]
shl r8d, 8
or r8d, eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
shl eax, 0x10
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x24]
shl eax, 0x10
add dword [rbx + 0x2c], eax
mov eax, dword [rbp - 0x20]
lea eax, [rax*4]
add dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x1c]
lea eax, [rax*4]
add dword [rbx + 0x34], eax
mov dword [rbx], 8
mov al, 1
jmp 0x140146c67
lea r8, [rbx + 8]
movzx r9d, r14b
mov rdx, r10
mov rcx, rdi
call fcn.1401459c0
test al, al
je 0x140146c65
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
mov edx, 0x7fffffff
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x28], ecx
movzx eax, byte [r11 + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x2c], ecx
movzx eax, byte [r11 + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 5]
or ecx, eax
shl ecx, 0x10
test ecx, ecx
cmovs ecx, edx
mov dword [rbx + 0x30], ecx
movzx eax, byte [r11 + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 7]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x34], ecx
movzx eax, byte [r11 + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 9]
add r11, 0xc
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x38], ecx
movzx eax, byte [r11 - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 - 1]
or ecx, eax
shl ecx, 0x10
test ecx, ecx
cmovs ecx, edx
mov dword [rbx + 0x3c], ecx
test r14b, r14b
je 0x1401469c0
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x1401469c0
cmp byte [rcx + 0x7c], 0
je 0x1401469c0
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
mov r9d, 6
movzx r8d, byte [r11 + 1]
mov rdx, rdi
shl eax, 8
mov rcx, rsi
or r8d, eax
movzx eax, byte [r11 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r11 + 3]
shl r8d, 8
or r8d, eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
shl eax, 0x10
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x24]
shl eax, 0x10
add dword [rbx + 0x2c], eax
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x34], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x38], eax
mov eax, dword [rbp - 0x14]
shl eax, 0x10
add dword [rbx + 0x3c], eax
mov dword [rbx], 6
mov al, 1
jmp 0x140146c67
lea r8, [rbx + 8]
movzx r9d, r14b
mov rdx, r10
mov rcx, rdi
call fcn.1401459c0
test al, al
je 0x140146c65
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x28], ecx
movzx eax, byte [r11 + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x2c], ecx
movzx eax, byte [r11 + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 5]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x30], ecx
movzx eax, byte [r11 + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 7]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x34], ecx
movzx eax, byte [r11 + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 + 9]
add r11, 0xc
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x38], ecx
movzx eax, byte [r11 - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [r11 - 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x3c], ecx
test r14b, r14b
je 0x140146b73
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x140146b73
cmp byte [rcx + 0x7c], 0
je 0x140146b73
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
mov r9d, 6
movzx r8d, byte [r11 + 1]
mov rdx, rdi
shl eax, 8
mov rcx, rsi
or r8d, eax
movzx eax, byte [r11 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r11 + 3]
shl r8d, 8
or r8d, eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140144fd0
test al, al
je 0x140146c65
mov eax, dword [rbp - 0x28]
shl eax, 0x10
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x24]
shl eax, 0x10
add dword [rbx + 0x2c], eax
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x34], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x38], eax
mov eax, dword [rbp - 0x14]
shl eax, 0x10
add dword [rbx + 0x3c], eax
mov dword [rbx], 4
mov al, 1
jmp 0x140146c67
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r10]
add r11, 4
movzx ecx, byte [r10 + 1]
shl ax, 8
or cx, ax
mov word [rbx + 8], cx
movzx ecx, byte [r11 - 2]
movzx eax, byte [r11 - 1]
shl cx, 8
or cx, ax
mov word [rbx + 0xa], cx
cmp edx, 3
jne 0x140146c5b
mov rcx, qword [rsi + 0x90]
lea rax, [0x1402b64e0]
cmp qword [rcx + 0x18], rax
jne 0x140146c5b
cmp byte [rcx + 0x7c], r9b
je 0x140146c5b
cmp r11, qword [rdi + 0x40]
jb 0x140146c65
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r11, rcx
ja 0x140146c65
movzx eax, byte [r11]
lea r9d, [rdx - 2]
movzx r8d, byte [r11 + 1]
mov rdx, rdi
shl eax, 8
mov rcx, rsi
or r8d, eax
movzx eax, byte [r11 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r11 + 3]
shl r8d, 8
or r8d, eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140144fd0
test al, al
je 0x140146c65
movzx eax, word [rbp - 0x28]
add word [rbx + 0xa], ax
mov dword [rbx], 2
mov al, 1
jmp 0x140146c67
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret