Function at 0x1402b7470
Capabilities:
Compute adler32 checksum

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1403e9140]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, qword [rbp + 0xf0]
mov rsi, r8
mov rbx, r9
mov qword [rsp + 0x78], rdx
mov r14, rdx
mov qword [rsp + 0x30], rdx
mov qword [rbp - 8], r8
mov r15, rcx
add rdx, qword [rsi]
mov r12, rdi
mov r8, qword [rbp + 0xf8]
mov qword [rbp - 0x70], rcx
mov rcx, 0xffffffffffffffff
mov qword [rbp - 0x80], rbx
mov r9d, ecx
mov qword [rbp], rdi
mov qword [rbp + 8], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x1402b74ff
mov rax, qword [r8]
add rax, rdi
mov qword [rsp + 0x48], rax
jmp 0x1402b7508
mov qword [rsp + 0x48], 0
mov r10d, dword [rbp + 0x100]
mov qword [rsp + 0x1e8], r13
and r10d, 4
je 0x1402b7527
mov qword [rsp + 0x58], rcx
xor r11d, r11d
jmp 0x1402b7548
mov r13, qword [r8]
mov rcx, rdi
sub rcx, rbx
dec r13
add r13, rcx
mov qword [rsp + 0x58], r13
lea r11, [r13 + 1]
test r13, r11
jne 0x1402b8b9a
cmp rdi, rbx
jb 0x1402b8b9a
mov r13d, dword [r15 + 0x20]
lea rax, [r15 + 0x1848]
mov edi, dword [r15 + 0x24]
mov r8d, dword [r15 + 0x28]
mov ebx, dword [r15 + 4]
mov rsi, qword [r15 + 0x38]
mov qword [rbp + 0x10], rax
lea rax, [r15 + 0x1cc8]
mov qword [rbp + 0x18], rax
lea rax, [r15 + 0x1d48]
mov qword [rbp + 0x20], rax
lea rax, [r15 + 0x1d94]
mov qword [rbp + 0x28], rax
lea rax, [r15 + 0x1eb4]
mov qword [rbp + 0x30], rax
lea rax, [r15 + 0x1ed4]
mov qword [rbp + 0x38], rax
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x68], rax
mov eax, dword [r15]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], r8d
cmp eax, 0x35
ja case.0x1402b75e7.4
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x2b8bd0]
lea rax, [0x140000000]
add rcx, rax
mov eax, 1
jmp rcx
xor eax, eax
mov r8d, 1
mov qword [r15 + 8], rax
mov edi, eax
mov dword [rsp + 0x20], eax
mov r13d, eax
mov dword [rsp + 0x24], eax
mov ebx, eax
mov dword [rsp + 0x28], eax
mov esi, eax
mov eax, dword [rbp + 0x100]
mov dword [r15 + 0x1c], r8d
mov dword [r15 + 0x10], r8d
test r8b, al
je 0x1402b7f40
jmp 0x1402b762f
mov eax, dword [rbp + 0x100]
mov r8d, 1
cmp r14, rdx
jb 0x1402b7648
test al, 2
mov dword [r15], r8d
mov r9d, 0xfffffffc
cmovne r9d, r8d
jmp 0x1402b89bf
movzx eax, byte [r14]
inc r14
mov dword [r15 + 8], eax
mov eax, 1
cmp r14, rdx
jb 0x1402b7669
mov dword [r15], 2
jmp 0x1402b89ae
movzx r9d, byte [r14]
mov eax, 0x8421085
mov r8d, dword [r15 + 8]
inc r14
mov ecx, r8d
mov qword [rsp + 0x30], r14
shl ecx, 8
add ecx, r9d
mov dword [r15 + 0xc], r9d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x1402b76b9
test r9b, 0x20
jne 0x1402b76b9
mov eax, r8d
and al, 0xf
cmp al, 8
jne 0x1402b76b9
xor edi, edi
mov dword [rsp + 0x24], edi
lea edx, [rdi + 1]
jmp 0x1402b76c4
mov edx, 1
mov edi, edx
mov dword [rsp + 0x24], edx
test r10d, r10d
jne 0x1402b76f3
shr r8d, 4
mov eax, edx
lea ecx, [r8 + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x1402b76eb
mov rax, rdx
shl rax, cl
cmp r11, rax
jb 0x1402b76eb
xor eax, eax
jmp 0x1402b76ed
mov eax, edx
or edi, eax
mov dword [rsp + 0x24], edi
test edi, edi
je 0x1402b7f3b
mov r8d, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], Ordinal_41
jmp 0x1402b89f2
cmp r14, rdx
jae 0x1402b8891
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, r8d
jb case.0x1402b75e7.18
mov edx, dword [rsp + 0x28]
lea rax, [0x140000000]
mov ecx, r8d
sub ebx, r8d
mov r13d, 1
mov dword [rsp + 0x38], ebx
shl r13d, cl
dec r13d
and r13d, esi
shr rsi, cl
lea ecx, [rdx - 0x10]
mov qword [rsp + 0x60], rsi
movsx eax, byte [rcx + rax + 0x3c59fc]
add r13d, eax
cmp edx, 0x10
jne 0x1402b7784
lea eax, [rdi - 1]
movzx edx, byte [rax + r15 + 0x1eeb]
jmp 0x1402b7786
xor edx, edx
mov ecx, edi
add rcx, 0x1eeb
mov r8d, r13d
add rcx, r15
call fcn.140395dd0
add edi, r13d
mov r13d, dword [rsp + 0x28]
mov edx, dword [r15 + 0x2c]
mov ecx, dword [r15 + 0x30]
add ecx, edx
mov dword [rsp + 0x24], edi
cmp edi, ecx
jae 0x1402b7910
cmp ebx, 0xf
jae 0x1402b788f
mov rax, qword [rsp + 0x40]
sub rax, r14
cmp rax, 2
jge 0x1402b7869
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x1048]
test r8d, r8d
js 0x1402b77fd
sar r8d, 9
test r8d, r8d
je 0x1402b7839
cmp ebx, r8d
jae 0x1402b788f
jmp 0x1402b7839
cmp ebx, 0xa
jbe 0x1402b7839
mov ecx, 0xa
nop word [rax + rax]
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1d48]
test r8d, r8d
jns 0x1402b788f
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x1402b7810
mov rdx, qword [rsp + 0x40]
cmp r14, rdx
jae 0x1402b872e
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x1402b77d3
jmp 0x1402b788f
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
mov qword [rsp + 0x30], r14
or rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx r13d, word [r15 + rax*2 + 0x1048]
test r13d, r13d
js 0x1402b78b4
mov ecx, r13d
sar ecx, 9
and r13d, 0x1ff
jmp 0x1402b78e2
mov ecx, 0xa
nop dword [rax]
not r13d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r13d
add rdx, rax
movsx r13d, word [r15 + rdx*2 + 0x1d48]
test r13d, r13d
js 0x1402b78c0
shr rsi, cl
sub ebx, ecx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x38], ebx
cmp r13d, 0x10
jae 0x1402b86f8
mov eax, edi
inc edi
mov byte [rax + r15 + 0x1eeb], r13b
jmp 0x1402b77a2
jne 0x1402b8915
mov r8, rdx
lea rcx, [r15 + 0x1d94]
lea rdx, [r15 + 0x1eeb]
call fcn.140395690
mov edx, dword [r15 + 0x2c]
lea rcx, [r15 + 0x1eb4]
mov r8d, dword [r15 + 0x30]
add rdx, 0x1eeb
add rdx, r15
call fcn.140395690
dec dword [r15 + 0x18]
mov eax, dword [r15 + 0x18]
test eax, eax
jns 0x1402b8379
mov r9, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, rdx
sub rcx, r14
cmp rcx, 4
jl 0x1402b7a7d
mov rax, r9
sub rax, r12
cmp rax, 2
jl 0x1402b7a7d
cmp ebx, 0x1e
jae 0x1402b79c5
movzx eax, byte [r14 + 2]
mov ecx, ebx
movzx edx, byte [r14 + 3]
shl rdx, 8
or rdx, rax
movzx eax, byte [r14 + 1]
shl rdx, 8
or rdx, rax
movzx eax, byte [r14]
shl rdx, 8
add r14, 4
or rdx, rax
mov qword [rsp + 0x30], r14
shl rdx, cl
or rsi, rdx
add ebx, 0x20
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r15 + rax*2 + 0x48]
test edi, edi
js 0x1402b79de
mov ecx, edi
sar ecx, 9
jmp 0x1402b7a02
mov ecx, 0xa
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, edi
add rdx, rax
movsx edi, word [r15 + rdx*2 + 0x1848]
test edi, edi
js 0x1402b79e3
shr rsi, cl
sub ebx, ecx
bt edi, 8
jb 0x1402b7bdd
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x48]
test r8d, r8d
js 0x1402b7a2c
mov ecx, r8d
sar ecx, 9
jmp 0x1402b7a53
mov ecx, 0xa
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1848]
test r8d, r8d
js 0x1402b7a31
shr rsi, cl
lea rax, [r12 + 1]
sub ebx, ecx
mov byte [r12], dil
bt r8d, 8
jb 0x1402b7bd2
add r12, 2
mov byte [rax], r8b
mov qword [rsp + 0x50], r12
jmp 0x1402b795f
cmp ebx, 0xf
jae 0x1402b7b56
cmp rcx, 2
jge 0x1402b7b30
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x48]
test r8d, r8d
js 0x1402b7abc
sar r8d, 9
test r8d, r8d
je 0x1402b7af9
cmp ebx, r8d
jae 0x1402b7b56
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7b05
cmp ebx, 0xa
jbe 0x1402b7af9
mov ecx, 0xa
nop word [rax + rax]
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1848]
test r8d, r8d
jns 0x1402b7b56
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x1402b7ad0
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7b05
mov r9, qword [rsp + 0x48]
cmp r14, rdx
jae 0x1402b873a
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x1402b7a90
jmp 0x1402b7b56
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
mov qword [rsp + 0x30], r14
or rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r15 + rax*2 + 0x48]
test edi, edi
js 0x1402b7b75
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x1402b7b9f
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, edi
add rdx, rax
movsx edi, word [r15 + rdx*2 + 0x1848]
test edi, edi
js 0x1402b7b80
shr rsi, cl
sub ebx, ecx
cmp edi, 0x100
jae 0x1402b7bdd
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7bb8
mov r9, qword [rsp + 0x48]
cmp r12, r9
jae 0x1402b8746
mov byte [r12], dil
inc r12
mov qword [rsp + 0x50], r12
jmp 0x1402b7964
mov r12, rax
mov qword [rsp + 0x50], rax
mov edi, r8d
and edi, 0x1ff
mov dword [rsp + 0x24], edi
cmp edi, 0x100
je 0x1402b7f30
lea ecx, [rdi - 0x101]
lea rax, [0x140000000]
movzx r8d, byte [rcx + rax + 0x3c5ac0]
movzx edi, word [rax + rcx*2 + 0x3c5a80]
mov dword [rsp + 0x20], r8d
test r8d, r8d
je 0x1402b7c67
cmp ebx, r8d
jae 0x1402b7c51
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7c2c
mov r9, qword [rsp + 0x48]
cmp r14, rdx
jae 0x1402b8885
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, r8d
jb 0x1402b7c2c
mov ecx, r8d
mov eax, 1
shl eax, cl
sub ebx, r8d
dec eax
and eax, esi
shr rsi, cl
add edi, eax
cmp ebx, 0xf
jae 0x1402b7d46
mov rax, qword [rsp + 0x40]
sub rax, r14
cmp rax, 2
jge 0x1402b7d20
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x848]
test r8d, r8d
js 0x1402b7cb1
sar r8d, 9
test r8d, r8d
je 0x1402b7ce9
cmp ebx, r8d
jae 0x1402b7d46
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7cf5
cmp ebx, 0xa
jbe 0x1402b7ce9
mov ecx, 0xa
nop dword [rax + rax]
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1cc8]
test r8d, r8d
jns 0x1402b7d46
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x1402b7cc0
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7cf5
mov r9, qword [rsp + 0x48]
cmp r14, rdx
jae 0x1402b8856
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x1402b7c82
jmp 0x1402b7d46
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
mov qword [rsp + 0x30], r14
or rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x848]
test r8d, r8d
js 0x1402b7d6b
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x1402b7d92
mov ecx, 0xa
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1cc8]
test r8d, r8d
js 0x1402b7d70
mov eax, r8d
sub ebx, ecx
shr rsi, cl
lea rcx, [0x140000000]
movzx r8d, byte [r8 + rcx + 0x3c5a60]
mov dword [rsp + 0x20], r8d
movzx r13d, word [rcx + rax*2 + 0x3c5a20]
mov dword [rsp + 0x28], r13d
test r8d, r8d
je 0x1402b7e14
cmp ebx, r8d
jae 0x1402b7df8
mov rdx, qword [rsp + 0x40]
jmp 0x1402b7dd3
mov r9, qword [rsp + 0x48]
cmp r14, rdx
jae 0x1402b8862
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, r8d
jb 0x1402b7dd3
mov ecx, r8d
mov eax, 1
shl eax, cl
sub ebx, r8d
dec eax
and eax, esi
shr rsi, cl
add r13d, eax
mov dword [rsp + 0x28], r13d
mov r11, qword [rbp - 0x80]
mov rdx, r12
sub rdx, r11
mov qword [rsp + 0x68], rdx
test r13d, r13d
je 0x1402b7e35
mov eax, r13d
cmp rax, rdx
ja 0x1402b7e35
test rdx, rdx
jne 0x1402b7e42
test byte [rbp + 0x100], 4
jne case.0x1402b75e7.37
mov r10, qword [rsp + 0x58]
mov r8, rdx
mov eax, r13d
sub r8, rax
mov eax, edi
and r8, r10
add r8, r11
cmp r12, r8
mov rcx, r8
cmova rcx, r12
add rcx, rax
cmp rcx, r9
jbe 0x1402b7ebb
mov eax, edi
dec edi
test eax, eax
je 0x1402b795f
jmp 0x1402b7e8b
mov rdx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x80]
cmp r12, r9
jae 0x1402b886e
mov eax, r13d
mov rcx, rdx
sub rcx, rax
inc rdx
and rcx, r10
mov qword [rsp + 0x68], rdx
movzx eax, byte [rcx + r11]
mov byte [r12], al
inc r12
mov qword [rsp + 0x50], r12
jmp 0x1402b7e6a
cmp edi, 2
jbe 0x1402b7f02
lea ecx, [rdi - 3]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 1]
nop
movzx eax, byte [r8]
add edi, 0xfffffffd
mov byte [r12], al
movzx eax, byte [r8 + 1]
mov byte [r12 + 1], al
movzx eax, byte [r8 + 2]
add r8, 3
mov byte [r12 + 2], al
add r12, 3
sub rcx, 1
jne 0x1402b7ed0
mov qword [rsp + 0x50], r12
test edi, edi
je 0x1402b795f
movzx eax, byte [r8]
mov byte [r12], al
cmp edi, 1
jbe 0x1402b7f21
movzx eax, byte [r8 + 1]
mov byte [r12 + 1], al
mov eax, edi
add r12, rax
mov qword [rsp + 0x50], r12
jmp 0x1402b795f
test byte [r15 + 0x14], 1
jne 0x1402b87d4
mov rdx, qword [rsp + 0x40]
cmp ebx, 3
jae 0x1402b7f6a
cmp r14, rdx
jae 0x1402b875d
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 3
jb case.0x1402b75e7.3
mov eax, esi
add ebx, 0xfffffffd
and eax, 7
shr rsi, 3
mov dword [r15 + 0x14], eax
shr eax, 1
mov dword [r15 + 0x18], eax
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x38], ebx
jne 0x1402b8178
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x1402b7fc1
cmp r14, rdx
jae 0x1402b8769
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rsi, rax
inc r14
mov eax, ebx
mov qword [rsp + 0x30], r14
and eax, 7
cmp ebx, eax
jb case.0x1402b75e7.5
mov ecx, ebx
and ebx, 0xfffffff8
and cl, 7
shr rsi, cl
xor edi, edi
cmp edi, 4
jae 0x1402b8039
test ebx, ebx
je case.0x1402b75e7.7
cmp ebx, 8
jae 0x1402b8001
cmp r14, rdx
jae 0x1402b8775
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 8
jb case.0x1402b75e7.6
mov eax, edi
add ebx, 0xfffffff8
mov byte [rax + r15 + 0x1ee7], sil
shr rsi, 8
inc edi
jmp 0x1402b7fce
cmp r14, rdx
jae 0x1402b8781
movzx ecx, byte [r14]
inc r14
mov eax, edi
inc edi
mov qword [rsp + 0x30], r14
mov byte [rax + r15 + 0x1ee7], cl
jmp 0x1402b7fce
movzx eax, byte [r15 + 0x1ee7]
movzx edi, byte [r15 + 0x1ee8]
movzx ecx, byte [r15 + 0x1eea]
shl ecx, 8
shl edi, 8
or edi, eax
movzx eax, byte [r15 + 0x1ee9]
or ecx, eax
mov dword [rsp + 0x24], edi
xor ecx, 0xffff
cmp edi, ecx
jne 0x1402b889d
test edi, edi
je 0x1402b816e
test ebx, ebx
je case.0x1402b75e7.9
cmp ebx, 8
jae 0x1402b80ab
cmp r14, rdx
jae 0x1402b878d
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 8
jb case.0x1402b75e7.51
movzx r13d, sil
shr rsi, 8
add ebx, 0xfffffff8
mov dword [rsp + 0x28], r13d
cmp r12, qword [rsp + 0x48]
jae 0x1402b8799
mov byte [r12], r13b
inc r12
dec edi
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x24], edi
jmp 0x1402b8075
test edi, edi
je 0x1402b816e
mov rax, qword [rsp + 0x48]
cmp r12, rax
jb 0x1402b810d
mov r8d, dword [rsp + 0x20]
mov r9d, 2
mov r13d, dword [rsp + 0x28]
mov dword [r15], 9
jmp 0x1402b89f2
mov rax, qword [rsp + 0x48]
cmp r14, rdx
jae 0x1402b87b0
mov r13, rax
mov rcx, rdx
sub r13, r12
mov edx, edi
sub rcx, r14
mov rax, r13
cmp r13, rcx
cmovae rax, rcx
cmp rax, rdx
jae 0x1402b813c
cmp r13, rcx
cmovae r13, rcx
jmp 0x1402b813f
mov r13, rdx
mov r8, r13
mov rdx, r14
mov rcx, r12
call fcn.140395690
mov rdx, qword [rsp + 0x40]
add r14, r13
add r12, r13
mov qword [rsp + 0x30], r14
sub edi, r13d
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x24], edi
jmp 0x1402b80da
mov r13d, dword [rsp + 0x28]
jmp 0x1402b7f30
cmp eax, 3
je 0x1402b88b4
cmp eax, 1
jne 0x1402b8240
movdqa xmm1, xmmword [0x1403c7ad0]
lea rcx, [r15 + 0x1d94]
movdqa xmm0, xmmword [0x1403c7a20]
lea rcx, [rcx + 0x90]
mov dword [r15 + 0x2c], 0x120
mov dword [r15 + 0x30], reloc.WLDAP32.dll_Ordinal_32
movups xmmword [r15 + 0x1eb4], xmm0
movups xmmword [r15 + 0x1ec4], xmm0
movdqa xmm0, xmmword [0x1403c7c30]
movups xmmword [rcx - 0x90], xmm1
movups xmmword [rcx - 0x80], xmm1
movups xmmword [rcx - 0x70], xmm1
movups xmmword [rcx - 0x60], xmm1
movups xmmword [rcx - 0x50], xmm1
movups xmmword [rcx - 0x40], xmm1
movups xmmword [rcx - 0x30], xmm1
movups xmmword [rcx - 0x20], xmm1
movups xmmword [rcx - 0x10], xmm1
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movdqa xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_an]
movups xmmword [rcx + 0x70], xmm0
movq qword [rcx + 0x80], xmm0
mov dword [rcx + 0x88], 0x8080808
mov dword [rcx + 0x8c], 0x8080808
jmp 0x1402b794e
xor edi, edi
lea r9, [0x140000000]
cmp edi, 3
jae 0x1402b82e6
movsx eax, byte [rdi + r9 + 0x3c59f8]
cmp ebx, eax
jae 0x1402b8297
jmp 0x1402b8268
lea r9, [0x140000000]
cmp r14, rdx
jae 0x1402b87bc
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
mov eax, edi
add ebx, 8
movsx eax, byte [rax + r9 + 0x3c59f8]
cmp ebx, eax
jb 0x1402b8268
mov r8d, edi
mov edx, 1
movzx ecx, byte [r8 + r9 + 0x3c59f8]
movzx eax, word [r9 + r8*2 + 0x3c5af4]
shl edx, cl
dec edx
and edx, esi
mov dword [r15 + r8*4 + 0x2c], edx
add eax, edx
movsx ecx, byte [r8 + r9 + 0x3c59f8]
mov rdx, qword [rsp + 0x40]
sub ebx, ecx
shr rsi, cl
mov qword [rsp + 0x60], rsi
inc edi
mov dword [rsp + 0x38], ebx
mov dword [r15 + r8*4 + 0x2c], eax
jmp 0x1402b8249
xor eax, eax
xorps xmm0, xmm0
movups xmmword [r15 + 0x1ed4], xmm0
mov word [r15 + 0x1ee4], ax
xor edi, edi
mov byte [r15 + 0x1ee6], al
mov dword [rsp + 0x24], edi
cmp edi, dword [r15 + 0x34]
jae 0x1402b836c
cmp ebx, 3
jae 0x1402b833f
cmp r14, rdx
jae 0x1402b87c8
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 3
jb case.0x1402b75e7.14
lea r9, [0x140000000]
mov eax, edi
mov rcx, rsi
shr rsi, 3
add ebx, 0xfffffffd
and cl, 7
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x38], ebx
inc edi
movzx eax, byte [rax + r9 + 0x3c5ae0]
mov byte [rax + r15 + 0x1ed4], cl
jmp 0x1402b8304
mov dword [r15 + 0x34], reloc.WS2_32.dll_send
jmp 0x1402b794e
mov rdi, qword [rbp + rax*8 + 0x28]
xorps xmm0, xmm0
mov r9, rax
mov qword [rsp + 0x70], rdi
mov rax, qword [rbp + rax*8 + 0x10]
xor edx, edx
shl r9, 0xb
mov r8d, 0x800
add r9, 0x48
mov qword [rbp - 0x78], rax
add r9, r15
mov rcx, r9
mov qword [rbp - 0x10], r9
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
call fcn.140395dd0
mov eax, dword [r15 + 0x18]
test eax, eax
jne 0x1402b83df
lea rcx, [r15 + 0x1848]
xor edx, edx
mov r8d, 0x480
call fcn.140395dd0
jmp 0x1402b8459
xorps xmm0, xmm0
cmp eax, 1
jne 0x1402b8429
movups xmmword [r15 + 0x1cc8], xmm0
movups xmmword [r15 + 0x1cd8], xmm0
movups xmmword [r15 + 0x1ce8], xmm0
movups xmmword [r15 + 0x1cf8], xmm0
movups xmmword [r15 + 0x1d08], xmm0
movups xmmword [r15 + 0x1d18], xmm0
movups xmmword [r15 + 0x1d28], xmm0
movups xmmword [r15 + 0x1d38], xmm0
jmp 0x1402b8459
movups xmmword [r15 + 0x1d48], xmm0
xor eax, eax
movups xmmword [r15 + 0x1d58], xmm0
movups xmmword [r15 + 0x1d68], xmm0
movups xmmword [r15 + 0x1d78], xmm0
mov qword [r15 + 0x1d88], rax
mov dword [r15 + 0x1d90], eax
mov eax, dword [r15 + 0x18]
mov edx, dword [r15 + rax*4 + 0x2c]
test edx, edx
je 0x1402b8481
mov rcx, rdi
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rbp + rax*4 + 0x40]
sub rdx, 1
jne 0x1402b8470
mov r13d, dword [rbp + 0x50]
xor eax, eax
mov r15d, dword [rbp + 0x54]
mov esi, dword [rbp + 0x58]
mov r11d, dword [rbp + 0x5c]
mov ecx, dword [rbp + 0x48]
mov r10d, dword [rbp + 0x60]
mov r12d, dword [rbp + 0x64]
mov r14d, dword [rbp + 0x68]
mov edi, dword [rbp + 0x6c]
mov r9d, dword [rbp + 0x70]
mov edx, dword [rbp + 0x74]
mov qword [rbp - 0x60], rax
mov eax, dword [rbp + 0x44]
add eax, eax
add ecx, eax
mov dword [rbp - 0x58], eax
mov eax, dword [rbp + 0x4c]
add ecx, ecx
add eax, ecx
mov dword [rbp - 0x54], ecx
add eax, eax
mov dword [rbp - 0x50], eax
lea ecx, [rax + r13]
add ecx, ecx
mov dword [rbp - 0x4c], ecx
lea eax, [r15 + rcx]
add eax, eax
mov dword [rbp - 0x48], eax
lea ecx, [rsi + rax]
add ecx, ecx
mov dword [rbp - 0x44], ecx
lea eax, [r11 + rcx]
add eax, eax
mov dword [rbp - 0x40], eax
lea ecx, [r10 + rax]
add r10d, r11d
add r10d, esi
add ecx, ecx
add r10d, r15d
mov dword [rbp - 0x3c], ecx
add r10d, r13d
add r10d, dword [rbp + 0x44]
add r10d, dword [rbp + 0x4c]
lea eax, [rcx + r12]
add eax, eax
mov dword [rbp - 0x38], eax
lea ecx, [rax + r14]
add ecx, ecx
mov dword [rbp - 0x34], ecx
lea eax, [rcx + rdi]
add eax, eax
mov dword [rbp - 0x30], eax
lea ecx, [rax + r9]
add ecx, ecx
mov dword [rbp - 0x2c], ecx
lea eax, [rcx + rdx]
mov ecx, dword [rbp + 0x78]
add eax, eax
mov dword [rbp - 0x28], eax
lea r8d, [rax + rcx]
mov eax, dword [rbp + 0x7c]
add r10d, eax
add r8d, r8d
add r10d, ecx
mov dword [rbp - 0x24], r8d
add r10d, edx
add eax, r8d
add r10d, r9d
add eax, eax
add r10d, edi
mov dword [rbp - 0x20], eax
add r10d, r14d
add r10d, r12d
add r10d, dword [rbp + 0x48]
cmp eax, 0x10000
je 0x1402b8576
cmp r10d, 1
ja 0x1402b88cb
mov r15, qword [rbp - 0x70]
xor esi, esi
mov eax, dword [r15 + 0x18]
lea r9d, [rsi - 1]
cmp dword [r15 + rax*4 + 0x2c], esi
jbe 0x1402b86d0
mov rbx, qword [rbp - 0x10]
mov r12, qword [rsp + 0x70]
nop dword [rax + rax]
movzx r8d, byte [rsi + r12]
xor r10d, r10d
test r8d, r8d
je 0x1402b86bb
mov r13, qword [rsp + 0x58]
lea rcx, [rbp - 0x60]
mov r11d, dword [rcx + r8*4]
lea rcx, [rcx + r8*4]
mov r14d, r8d
lea eax, [r11 + 1]
mov dword [rcx], eax
nop dword [rax + rax]
mov ecx, r11d
lea eax, [r10 + r10]
and ecx, 1
shr r11d, 1
mov r10d, ecx
or r10d, eax
mov edx, r10d
add r14d, 0xffffffff
jne 0x1402b85d0
cmp r8d, 0xa
ja 0x1402b8644
movzx r10d, r8w
mov qword [rsp + 0x58], r13
shl r10w, 9
or r10w, si
cmp edx, 0x400
jae 0x1402b86bb
mov ecx, r8d
mov qword [rsp + 0x58], r13
mov r8d, 1
shl r8d, cl
nop dword [rax]
nop word [rax + rax]
mov eax, edx
add edx, r8d
mov word [rbx + rax*2], r10w
cmp edx, 0x400
jb 0x1402b8630
jmp 0x1402b86bb
mov rax, rdx
and eax, 0x3ff
movsx ecx, word [rbx + rax*2]
test ecx, ecx
jne 0x1402b8660
mov word [rbx + rax*2], r9w
mov ecx, r9d
sub r9d, 2
mov r10, qword [rbp - 0x78]
shr edx, 9
mov qword [rsp + 0x58], r13
cmp r8d, 0xb
jbe 0x1402b86aa
add r8d, 0xfffffff5
mov qword [rsp + 0x58], r13
nop dword [rax + rax]
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
not ecx
movsxd rax, ecx
movsx ecx, word [r10 + rax*2]
test cx, cx
jne 0x1402b86a4
mov word [r10 + rax*2], r9w
mov ecx, r9d
sub r9d, 2
sub r8, 1
jne 0x1402b8680
shr edx, 1
and edx, 1
sub edx, ecx
lea eax, [rdx - 1]
cdqe
mov word [r10 + rax*2], si
mov eax, dword [r15 + 0x18]
inc esi
cmp esi, dword [r15 + rax*4 + 0x2c]
jb 0x1402b85a0
mov ebx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x28]
cmp eax, 2
jne 0x1402b794a
xor edi, edi
jmp 0x1402b779d
jne 0x1402b8702
test edi, edi
je 0x1402b88fe
lea ecx, [r13 - 0x10]
lea rax, [0x140000000]
movsx r8d, byte [rcx + rax + 0x3c59f4]
mov dword [rsp + 0x20], r8d
cmp ebx, r8d
jae 0x1402b7737
mov rdx, qword [rsp + 0x40]
jmp case.0x1402b75e7.18
mov dword [r15], reloc.WS2_32.dll_recv
jmp 0x1402b89a9
mov dword [r15], reloc.WS2_32.dll_socket
jmp 0x1402b89a9
mov r8d, dword [rsp + 0x20]
mov r9d, 2
mov dword [r15], Ordinal_27
jmp 0x1402b89f2
mov dword [r15], 3
jmp 0x1402b89a9
mov dword [r15], 5
jmp 0x1402b89a9
mov dword [r15], 6
jmp 0x1402b89a9
mov dword [r15], 7
jmp 0x1402b89a9
mov dword [r15], gethostname
jmp 0x1402b89a9
mov r8d, dword [rsp + 0x20]
mov r9d, 2
mov dword [r15], gethostname
jmp 0x1402b89f2
mov dword [r15], Ordinal_41
jmp 0x1402b89a9
mov dword [r15], listen
jmp 0x1402b89a9
mov dword [r15], send
jmp 0x1402b89a9
mov rdx, qword [rsp + 0x40]
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x1402b8806
cmp r14, rdx
jae 0x1402b893e
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rsi, rax
inc r14
mov eax, ebx
and eax, 7
cmp ebx, eax
jb case.0x1402b75e7.32
mov rax, qword [rsp + 0x78]
mov ecx, ebx
and cl, 7
and ebx, 0xfffffff8
shr rsi, cl
cmp r14, rax
jbe 0x1402b8830
nop dword [rax + rax]
cmp ebx, 8
jb 0x1402b8830
dec r14
add ebx, 0xfffffff8
cmp r14, rax
ja 0x1402b8820
mov ecx, ebx
mov rax, 0xffffffffffffffff
shl rax, cl
not rax
and rsi, rax
test byte [rbp + 0x100], 1
je 0x1402b89e3
xor edi, edi
jmp 0x1402b8962
mov dword [r15], reloc.WLDAP32.dll_Ordinal_26
jmp 0x1402b89a9
mov dword [r15], reloc.WLDAP32.dll_Ordinal_27
jmp 0x1402b89a9
mov r8d, dword [rsp + 0x20]
mov r9d, 2
mov dword [r15], gethostname
jmp 0x1402b89f2
mov dword [r15], Ordinal_27
jmp 0x1402b89a9
mov dword [r15], reloc.WS2_32.dll_select
jmp 0x1402b89a9
mov r8d, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], Ordinal_45
jmp 0x1402b89f2
mov r8d, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], 0xa
jmp 0x1402b89f2
mov edi, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
mov r15, qword [rbp - 0x70]
mov r12, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x20]
mov r13d, dword [rsp + 0x28]
mov r9d, 0xffffffff
mov dword [r15], reloc.WLDAP32.dll_Ordinal_35
jmp 0x1402b89f2
mov r8d, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], reloc.WS2_32.dll_recvfrom
jmp 0x1402b89f2
mov r8d, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], reloc.WS2_32.dll_setsockopt
jmp 0x1402b89f2
mov r9d, 0xffffffff
mov dword [r15], Ordinal_41
jmp 0x1402b89f2
mov dword [r15], reloc.WLDAP32.dll_Ordinal_32
jmp 0x1402b89a9
cmp r14, rdx
jae 0x1402b89a2
movzx ecx, byte [r14]
inc r14
mov eax, dword [r15 + 0x10]
shl eax, 8
or eax, ecx
mov dword [r15 + 0x10], eax
inc edi
cmp edi, 4
jae 0x1402b89e3
test ebx, ebx
je case.0x1402b75e7.42
cmp ebx, 8
jae 0x1402b898c
cmp r14, rdx
jae 0x1402b8999
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 8
jb case.0x1402b75e7.41
movzx ecx, sil
shr rsi, 8
add ebx, 0xfffffff8
jmp 0x1402b8953
mov dword [r15], reloc.WLDAP32.dll_Ordinal_41
jmp 0x1402b89a9
mov dword [r15], Ordinal_45
mov eax, 1
test byte [rbp + 0x100], 2
mov r9d, 0xfffffffc
cmovne r9d, eax
mov r13d, dword [rsp + 0x28]
mov eax, r9d
mov r8d, dword [rsp + 0x20]
cmp r9d, 1
je case.0x1402b75e7.4
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rcx
cmp eax, 0xfffffffc
je case.0x1402b75e7.4
jmp 0x1402b89f2
mov r8d, dword [rsp + 0x20]
xor r9d, r9d
mov dword [r15], Ordinal_35
mov rax, qword [rsp + 0x78]
cmp r14, rax
jbe case.0x1402b75e7.4
nop dword [rax]
cmp ebx, 8
jb case.0x1402b75e7.4
dec r14
add ebx, 0xfffffff8
cmp r14, rax
ja 0x1402b8a00
sub r14, qword [rsp + 0x78]
mov ecx, ebx
mov r11d, dword [rbp + 0x100]
mov rax, 0xffffffffffffffff
shl rax, cl
not rax
mov dword [r15 + 4], ebx
mov rbx, qword [rbp]
and rax, rsi
mov qword [r15 + 0x38], rax
sub r12, rbx
mov rax, qword [rsp + 0x68]
mov qword [r15 + 0x40], rax
mov rax, qword [rbp - 8]
mov dword [r15 + 0x20], r13d
mov dword [r15 + 0x24], edi
mov dword [r15 + 0x28], r8d
mov qword [rax], r14
mov rax, qword [rbp + 8]
mov qword [rax], r12
test r11b, 9
je 0x1402b8b95
test r9d, r9d
js 0x1402b8b95
mov r8d, dword [r15 + 0x1c]
movabs rax, 0x79baa6bb6398b6f7
mul r12
mov rax, r12
movzx ecx, r8w
sub rax, rdx
shr r8d, 0x10
shr rax, 1
mov r10, r12
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r10, rax
test r12, r12
je 0x1402b8b71
xor edx, edx
cmp r10, 7
jbe 0x1402b8b1a
lea r11d, [rdx + 7]
nop
movzx eax, byte [rbx]
add r11d, 8
add ecx, eax
add edx, 8
movzx eax, byte [rbx + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 7]
add r8d, ecx
add ecx, eax
add rbx, 8
add r8d, ecx
mov eax, r11d
cmp rax, r10
jb 0x1402b8ac0
mov eax, edx
cmp rax, r10
jae 0x1402b8b35
movzx eax, byte [rbx]
inc edx
add ecx, eax
inc rbx
add r8d, ecx
mov eax, edx
cmp rax, r10
jb 0x1402b8b21
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r8d, eax
sub r12, r10
mov r10d, 0x15b0
jne 0x1402b8ab2
mov r11d, dword [rbp + 0x100]
shl r8d, 0x10
lea eax, [r8 + rcx]
mov dword [r15 + 0x1c], eax
test r9d, r9d
jne 0x1402b8b95
test r11b, 1
je 0x1402b8b95
cmp eax, dword [r15 + 0x10]
mov ecx, 0xfffffffe
cmovne r9d, ecx
mov eax, r9d
jmp 0x1402b8ba7
xor eax, eax
mov qword [r8], rax
mov qword [rsi], rax
mov eax, 0xfffffffd
mov r13, qword [rsp + 0x1e8]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140362750
add rsp, 0x190
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret