Function at 0x14003ee70
Capabilities:
Compute adler32 checksum

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r15, qword [rsp + 0x188]
mov rbx, r9
mov r13, qword [r8]
mov r12, rcx
mov rcx, qword [rsp + 0x180]
add r13, rdx
mov r14d, dword [rsp + 0x190]
mov rsi, rdx
mov rax, qword [r15]
mov r9d, r14d
mov qword [rsp + 0x58], rbx
mov r11, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x68], rcx
lea rdi, [rax + rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x30], rcx
and r9d, 4
je 0x14003eef8
or rax, 0xffffffffffffffff
jmp 0x14003ef01
sub rax, rbx
dec rax
add rax, rcx
lea r10, [rax + 1]
mov qword [rsp + 0x50], rax
test rax, r10
jne 0x14004049d
cmp rcx, rbx
jb 0x14004049d
mov rax, qword [r12 + 0x40]
mov r8d, dword [r12 + 0x20]
mov edx, dword [r12 + 0x28]
mov ebx, dword [r12 + 4]
mov r15d, dword [r12 + 0x24]
mov qword [rsp + 0x48], rax
mov eax, dword [r12]
mov qword [rsp + 0x178], rbp
mov rbp, qword [r12 + 0x38]
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x38], edx
cmp eax, 0x35
ja case.0x14003ef75.4
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x404d0]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r11d, r11d
mov qword [r12 + 8], 0
xor r15d, r15d
mov dword [rsp + 0x38], 0
xor ebx, ebx
mov dword [rsp + 0x20], r11d
xor ebp, ebp
mov dword [r12 + 0x1c], 1
mov dword [r12 + 0x10], 1
test r14b, 1
je 0x14003f0c0
cmp rsi, r13
jae 0x14003efdc
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 8], eax
jmp 0x14003effa
mov r11d, dword [rsp + 0x20]
cmp rsi, r13
jae 0x14003efdc
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 8], eax
jmp 0x14003effa
test r14b, 2
je 0x14003eff1
mov r13d, 1
mov dword [r12], r13d
jmp 0x1400401ad
mov dword [r12 + 8], 0
cmp rsi, r13
jae 0x14003f023
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 0xc], eax
jmp 0x14003f045
mov r11d, dword [rsp + 0x20]
cmp rsi, r13
jae 0x14003f023
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 0xc], eax
jmp 0x14003f045
test r14b, 2
je 0x14003f03c
mov r13d, 1
mov dword [r12], 2
jmp 0x1400401ad
mov dword [r12 + 0xc], 0
mov edi, dword [r12 + 8]
mov eax, 0x8421085
mov r8d, dword [r12 + 0xc]
mov ecx, edi
shl ecx, 8
add ecx, r8d
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 0x14003f083
test r8b, 0x20
jne 0x14003f083
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x14003f083
xor r15d, r15d
jmp 0x14003f089
mov r15d, 1
test r9d, r9d
jne 0x14003f0bb
shr edi, 4
mov eax, 1
lea ecx, [rdi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x14003f0b3
mov eax, 1
shl rax, cl
cmp r10, rax
jb 0x14003f0b3
xor eax, eax
jmp 0x14003f0b8
mov eax, 1
or r15d, eax
test r15d, r15d
jne 0x14003f0ed
mov r11, qword [rsp + 0x30]
cmp ebx, 3
jae 0x14003f7d4
cmp rsi, r13
jb 0x14003f7ba
test r14b, 2
jne 0x1400400b0
xor eax, eax
jmp 0x14003f7c0
mov r11d, dword [rsp + 0x20]
or r13, 0xffffffffffffffff
mov dword [r12], 0x24
jmp 0x1400401ad
mov rax, rsi
cmp rsi, r13
jae 0x14003f0d7
movzx eax, byte [rax]
jmp 0x14003f7bd
mov rax, rsi
cmp rsi, r13
jae 0x14003f800
movzx eax, byte [rax]
jmp 0x14003f811
mov rax, rsi
cmp rsi, r13
jae 0x14003f84e
movzx eax, byte [rax]
jmp 0x14003f85f
cmp rsi, r13
jae 0x14003f893
movzx eax, byte [rsi]
inc rsi
mov byte [r15 + r12 + 0x2928], al
inc r15d
jmp 0x14003f83a
mov rax, rsi
cmp rsi, r13
jae 0x14003f906
movzx eax, byte [rax]
jmp 0x14003f917
mov rax, rsi
cmp rsi, r13
jae 0x14003fac9
movzx eax, byte [rax]
lea r8, [0x140000000]
inc rsi
jmp 0x14003fae4
lea rdx, [0x140000000]
mov rax, rsi
cmp rsi, r13
jae 0x14003fb6a
movzx eax, byte [rax]
jmp 0x14003fb7b
mov rax, rsi
cmp rsi, r13
jae 0x14003fe74
movzx eax, byte [rax]
jmp 0x14003fe85
mov rax, rsi
cmp rsi, r13
jae 0x14003ff65
movzx eax, byte [rax]
jmp 0x14003ff76
mov rax, rsi
cmp rsi, r13
jae 0x14003f3dc
movzx eax, byte [rax]
jmp 0x14003f3ed
mov rax, rsi
cmp rsi, r13
jae 0x14003f4a8
movzx eax, byte [rax]
jmp 0x14003f4b9
mov rax, rsi
cmp rsi, r13
jae 0x14003f54d
movzx eax, byte [rax]
jmp 0x14003f55e
mov rax, rsi
cmp rsi, r13
jae 0x14003f610
movzx eax, byte [rax]
jmp 0x14003f621
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
jmp 0x14003f6a5
cmp r11, rdi
jae 0x14004018c
mov byte [r11], r15b
inc r11
mov qword [rsp + 0x30], r11
mov rcx, r13
sub rcx, rsi
cmp rcx, 4
jl 0x14003f33d
mov rax, rdi
sub rax, r11
cmp rax, 2
jl 0x14003f33d
cmp ebx, 0x1e
jae 0x14003f273
mov eax, dword [rsi]
mov ecx, ebx
shl rax, cl
add rsi, 4
or rbp, rax
add ebx, 0x20
mov rax, rbp
and eax, 0x3ff
movsx r15d, word [r12 + rax*2 + 0x168]
test r15d, r15d
js 0x14003f291
mov ecx, r15d
sar ecx, 9
jmp 0x14003f2c2
mov ecx, 0xa
nop word [rax + rax]
not r15d
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r15d
add rdx, rax
movsx r15d, word [r12 + rdx*2 + 0x968]
test r15d, r15d
js 0x14003f2a0
shr rbp, cl
sub ebx, ecx
bt r15d, 8
jb 0x14003f466
mov rax, rbp
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0x168]
test eax, eax
js 0x14003f2ee
mov ecx, eax
sar ecx, 9
jmp 0x14003f312
mov ecx, 0xa
not eax
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
cdqe
add rdx, rax
movsx eax, word [r12 + rdx*2 + 0x968]
test eax, eax
js 0x14003f2f3
shr rbp, cl
sub ebx, ecx
mov byte [r11], r15b
bt eax, 8
jb 0x14003f32d
mov byte [r11 + 1], al
add r11, 2
jmp 0x14003f238
inc r11
mov r15d, eax
mov qword [rsp + 0x30], r11
jmp 0x14003f466
cmp ebx, 0xf
jae 0x14003f371
cmp rcx, 2
jge 0x14003f409
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x168]
test edi, edi
js 0x14003f39d
sar edi, 9
test edi, edi
je 0x14003f3d7
cmp ebx, edi
jb 0x14003f3d7
mov rdi, qword [rsp + 0x40]
mov rax, rbp
and eax, 0x3ff
movsx r15d, word [r12 + rax*2 + 0x168]
test r15d, r15d
js 0x14003f42d
mov ecx, r15d
sar ecx, 9
and r15d, 0x1ff
jmp 0x14003f454
cmp ebx, 0xa
jbe 0x14003f3d7
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x968]
test edi, edi
jns 0x14003f36c
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14003f3b0
cmp rsi, r13
jb 0x14003f3ea
test r14b, 2
jne 0x140040051
xor eax, eax
jmp 0x14003f3f0
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14003f34c
jmp 0x14003f36c
movzx edx, byte [rsi + 1]
lea ecx, [rbx + 8]
movzx eax, byte [rsi]
add rsi, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rbp, rdx
add ebx, 0x10
jmp 0x14003f371
mov ecx, 0xa
not r15d
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r15d
add rdx, rax
movsx r15d, word [r12 + rdx*2 + 0x968]
test r15d, r15d
js 0x14003f432
shr rbp, cl
sub ebx, ecx
cmp r15d, 0x100
jb case.0x14003ef75.24
and r15d, 0x1ff
cmp r15d, 0x100
je 0x14003f794
lea ecx, [r15 - 0x101]
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0xbc290]
mov r15d, dword [rax + rcx*4 + 0xbc210]
mov dword [rsp + 0x38], edx
test edx, edx
je 0x14003f4e0
cmp ebx, edx
jae 0x14003f4cb
cmp rsi, r13
jb 0x14003f4b6
test r14b, 2
jne 0x140040064
xor eax, eax
jmp 0x14003f4bc
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14003f4a3
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, ebp
shr rbp, cl
add r15d, eax
cmp ebx, 0xf
jae 0x14003f592
mov rax, r13
sub rax, rsi
cmp rax, 2
jge 0x14003f573
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0xf08]
test edi, edi
js 0x14003f517
sar edi, 9
test edi, edi
je 0x14003f548
cmp ebx, edi
jae 0x14003f592
jmp 0x14003f548
cmp ebx, 0xa
jbe 0x14003f548
mov ecx, 0xa
not edi
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x1708]
test edi, edi
jns 0x14003f592
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14003f521
cmp rsi, r13
jb 0x14003f55b
test r14b, 2
jne 0x140040077
xor eax, eax
jmp 0x14003f561
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14003f4f5
jmp 0x14003f592
movzx edx, byte [rsi + 1]
lea ecx, [rbx + 8]
movzx eax, byte [rsi]
add rsi, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rbp, rdx
add ebx, 0x10
mov rax, rbp
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0xf08]
test eax, eax
js 0x14003f5b3
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x14003f5df
mov ecx, 0xa
nop dword [rax + rax]
not eax
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
cdqe
add rdx, rax
movsx eax, word [r12 + rdx*2 + 0x1708]
test eax, eax
js 0x14003f5c0
shr rbp, cl
sub ebx, ecx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0xbc390]
mov r8d, dword [rcx + rax*4 + 0xbc310]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x20], r8d
test edx, edx
je 0x14003f64d
cmp ebx, edx
jae 0x14003f633
cmp rsi, r13
jb 0x14003f61e
test r14b, 2
jne 0x14004008a
xor eax, eax
jmp 0x14003f624
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14003f60b
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, ebp
shr rbp, cl
add r8d, eax
mov dword [rsp + 0x20], r8d
mov r9, qword [rsp + 0x58]
mov rcx, r11
sub rcx, r9
mov eax, r8d
mov qword [rsp + 0x48], rcx
cmp rax, rcx
jbe 0x14003f66f
test r14b, 4
jne case.0x14003ef75.37
mov r10, qword [rsp + 0x50]
sub rcx, rax
mov rdi, qword [rsp + 0x40]
and rcx, r10
add rcx, r9
mov edx, r15d
cmp r11, rcx
mov rax, rcx
cmova rax, r11
add rax, rdx
cmp rax, rdi
jbe 0x14003f6d9
mov eax, r15d
dec r15d
test eax, eax
je 0x140040047
cmp r11, rdi
jae 0x14004009d
mov rdx, qword [rsp + 0x48]
mov rcx, rdx
mov eax, r8d
sub rcx, rax
and rcx, r10
movzx eax, byte [rcx + r9]
mov byte [r11], al
inc r11
inc rdx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x48], rdx
jmp 0x14003f697
cmp r15d, 9
jb 0x14003f750
cmp r15d, r8d
ja 0x14003f750
mov eax, 0xfffffff8
and rdx, rax
add rdx, rcx
nop
mov eax, dword [rcx]
mov dword [r11], eax
mov eax, dword [rcx + 4]
add rcx, 8
mov dword [r11 + 4], eax
add r11, 8
cmp rcx, rdx
jb 0x14003f6f0
and r15d, 7
mov qword [rsp + 0x30], r11
cmp r15d, 3
jae 0x14003f750
test r15d, r15d
je 0x140040047
movzx eax, byte [rcx]
mov byte [r11], al
cmp r15d, 1
jbe 0x14003f735
movzx eax, byte [rcx + 1]
mov byte [r11 + 1], al
mov rdi, qword [rsp + 0x40]
mov eax, r15d
add r11, rax
mov qword [rsp + 0x30], r11
jmp 0x14003f23d
movzx eax, byte [rcx]
lea rcx, [rcx + 3]
mov byte [r11], al
add r15d, 0xfffffffd
movzx eax, byte [rcx - 2]
mov byte [r11 + 1], al
movzx eax, byte [rcx - 1]
mov byte [r11 + 2], al
add r11, 3
cmp r15d, 2
jg 0x14003f750
mov qword [rsp + 0x30], r11
test r15d, r15d
jle 0x140040047
movzx eax, byte [rcx]
mov byte [r11], al
cmp r15d, 1
jle 0x14003f735
jmp 0x14003f72d
test byte [r12 + 0x14], 1
je 0x14003f0c5
test r14b, 1
jne 0x1400403bd
xor r13d, r13d
mov dword [r12], 0x22
jmp 0x1400401a8
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 3
jb 0x14003f0ce
mov eax, ebp
add ebx, 0xfffffffd
and eax, 7
shr rbp, 3
mov dword [r12 + 0x14], eax
shr eax, 1
mov dword [r12 + 0x18], eax
jne 0x14003f9c4
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x14003f828
cmp rsi, r13
jb 0x14003f80e
test r14b, 2
jne 0x1400400c3
xor eax, eax
jmp 0x14003f814
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
mov eax, ebx
and eax, 7
cmp ebx, eax
jb 0x14003f7fb
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rbp, cl
xor r15d, r15d
cmp r15d, 4
jae 0x14003f8ab
test ebx, ebx
je 0x14003f88a
cmp ebx, 8
jae 0x14003f872
cmp rsi, r13
jb 0x14003f85c
test r14b, 2
jne 0x1400400d6
xor eax, eax
jmp 0x14003f862
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x14003f849
mov byte [r15 + r12 + 0x2928], bpl
mov eax, 0xfffffff8
add ebx, eax
shr rbp, 8
inc r15d
jmp 0x14003f83a
cmp rsi, r13
jb 0x14003f13f
test r14b, 2
jne 0x1400400e9
mov byte [r15 + r12 + 0x2928], 0
inc r15d
jmp 0x14003f83a
movzx eax, byte [r12 + 0x2928]
movzx r15d, byte [r12 + 0x2929]
movzx ecx, byte [r12 + 0x292b]
shl ecx, 8
shl r15d, 8
or r15d, eax
movzx eax, byte [r12 + 0x292a]
or ecx, eax
xor ecx, 0xffff
cmp r15d, ecx
jne case.0x14003ef75.39
mov rdi, qword [rsp + 0x40]
test r15d, r15d
je 0x14003f794
test ebx, ebx
je 0x14003f957
cmp ebx, 8
jae 0x14003f92a
cmp rsi, r13
jb 0x14003f914
test r14b, 2
jne 0x1400400fc
xor eax, eax
jmp 0x14003f91a
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x14003f901
movzx r8d, bpl
mov eax, 0xfffffff8
shr rbp, 8
add ebx, eax
mov dword [rsp + 0x20], r8d
cmp r11, rdi
jae 0x14004010f
mov byte [r11], r8b
inc r11
mov qword [rsp + 0x30], r11
dec r15d
jmp 0x14003f8ef
test r15d, r15d
je 0x14003f794
cmp r11, rdi
jae 0x14004013c
cmp rsi, r13
jae 0x140040122
mov rcx, rdi
mov edx, r15d
sub rcx, r11
mov rdi, r13
sub rdi, rsi
mov rax, rcx
cmp rcx, rdi
cmovae rax, rdi
cmp rax, rdx
jae 0x14003f999
cmp rcx, rdi
cmovb rdi, rcx
jmp 0x14003f99c
mov rdi, rdx
mov r8, rdi
mov rdx, rsi
mov rcx, r11
call fcn.140065980
mov r11, qword [rsp + 0x30]
add rsi, rdi
add r11, rdi
sub r15d, edi
mov qword [rsp + 0x30], r11
mov rdi, qword [rsp + 0x40]
jmp 0x14003f957
cmp eax, 3
je case.0x14003ef75.10
cmp eax, 1
jne 0x14003faa3
movabs rax, 0x505050505050505
mov dword [r12 + 0x2c], 0x120
mov dword [r12 + 0x30], 0x20
mov ecx, 2
mov qword [r12 + 0xde8], rax
movabs r8, 0x808080808080808
mov qword [r12 + 0xdf0], rax
mov qword [r12 + 0xdf8], rax
mov qword [r12 + 0xe00], rax
lea rax, [r12 + 0x48]
nop word [rax + rax]
mov qword [rax], r8
mov qword [rax + 8], r8
mov qword [rax + 0x10], r8
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r8
mov qword [rax - 0x20], r8
mov qword [rax - 0x18], r8
mov qword [rax - 0x10], r8
mov qword [rax - 8], r8
sub rcx, 1
jne 0x14003fa30
mov qword [rax], r8
lea rdi, [r12 + 0xd8]
mov qword [rax + 8], r8
mov ecx, WSACleanup
mov eax, 9
rep stosb byte [rdi], al
movabs rax, 0x707070707070707
mov qword [r12 + 0x148], rax
mov qword [r12 + 0x150], rax
mov qword [r12 + 0x158], rax
mov qword [r12 + 0x160], r8
jmp 0x14003fbb9
xor r15d, r15d
lea r8, [0x140000000]
cmp r15d, 3
jae 0x14003fb3a
movsx eax, byte [r15 + r8 + 0xbcce4]
cmp ebx, eax
jae 0x14003fafc
cmp rsi, r13
jb 0x14003fade
test r14b, 2
jne 0x14004014c
xor eax, eax
lea r8, [0x140000000]
jmp 0x14003fae4
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
movsx eax, byte [r15 + r8 + 0xbcce4]
cmp ebx, eax
jb 0x14003fac4
movzx ecx, byte [r15 + r8 + 0xbcce4]
mov edx, 1
shl edx, cl
dec edx
and edx, ebp
mov dword [r12 + r15*4 + 0x2c], edx
movsx ecx, byte [r15 + r8 + 0xbcce4]
shr rbp, cl
sub ebx, ecx
mov ecx, dword [r8 + r15*4 + 0xbc428]
add ecx, edx
mov dword [r12 + r15*4 + 0x2c], ecx
inc r15d
jmp 0x14003faad
lea rcx, [r12 + 0x1b88]
xor edx, edx
mov r8d, 0x120
call fcn.140065dd0
xor r15d, r15d
lea rdx, [0x140000000]
cmp r15d, dword [r12 + 0x34]
jae 0x14003fbb0
cmp ebx, 3
jae 0x14003fb8e
cmp rsi, r13
jb 0x14003fb78
test r14b, 2
jne 0x14004015c
xor eax, eax
jmp 0x14003fb7e
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 3
jb 0x14003fb65
movzx eax, byte [r15 + rdx + 0xbc410]
mov ecx, ebp
and ecx, 7
shr rbp, 3
add ebx, 0xfffffffd
inc r15d
mov byte [rax + r12 + 0x1b88], cl
jmp 0x14003fb59
mov dword [r12 + 0x34], 0x13
mov eax, dword [r12 + 0x18]
test eax, eax
js 0x140040042
imul r14, rax, 0xda0
xor eax, eax
xor edx, edx
add r14, r12
mov qword [rsp + 0x80], rax
mov r8d, 0xc80
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
lea rcx, [r14 + 0x168]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
call fcn.140065dd0
mov eax, dword [r12 + 0x18]
mov r9d, dword [r12 + rax*4 + 0x2c]
test r9d, r9d
je 0x14003fc54
lea rcx, [r14 + 0x48]
mov edx, r9d
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rsp + rax*4 + 0x80]
sub rdx, 1
jne 0x14003fc40
xor edi, edi
xor ecx, ecx
mov qword [rsp + 0xc0], rcx
xor edx, edx
lea r8d, [rdi + 0xf]
nop word [rax + rax]
mov eax, dword [rsp + rdx + 0x84]
lea rdx, [rdx + 4]
add ecx, eax
add edi, eax
add ecx, ecx
mov dword [rsp + rdx + 0xc4], ecx
sub r8, 1
jne 0x14003fc70
cmp ecx, 0x10000
je 0x14003fc9f
cmp edi, 1
ja 0x14004034d
or r10d, 0xffffffff
xor r11d, r11d
test r9d, r9d
je 0x14003fdcf
nop
movzx r9d, byte [r11 + r14 + 0x48]
xor edx, edx
test r9d, r9d
je 0x14003fdbc
lea rcx, [rsp + 0xc0]
mov r8d, r9d
mov edi, dword [rcx + r9*4]
lea rcx, [rcx + r9*4]
lea eax, [rdi + 1]
mov dword [rcx], eax
nop dword [rax]
mov ecx, edi
lea eax, [rdx + rdx]
and ecx, 1
shr edi, 1
mov edx, ecx
or edx, eax
add r8d, 0xffffffff
jne 0x14003fce0
cmp r9d, 0xa
ja 0x14003fd39
movzx edi, r9w
shl di, 9
or di, r11w
cmp edx, 0x400
jae 0x14003fdbc
mov ecx, r9d
mov r8d, 1
shl r8d, cl
nop
mov word [r14 + rdx*2 + 0x168], di
add edx, r8d
cmp edx, 0x400
jb 0x14003fd20
jmp 0x14003fdbc
mov eax, edx
and eax, 0x3ff
movsx ecx, word [r14 + rax*2 + 0x168]
test ecx, ecx
jne 0x14003fd5d
mov word [r14 + rax*2 + 0x168], r10w
mov ecx, r10d
sub r10d, 2
shr edx, 9
cmp r9d, 0xb
jbe 0x14003fda7
lea edi, [r9 - 0xb]
nop word [rax + rax]
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
not ecx
movsxd rax, ecx
movzx ecx, word [r14 + rax*2 + 0x968]
test cx, cx
jne 0x14003fd9e
mov word [r14 + rax*2 + 0x968], r10w
mov ecx, r10d
sub r10d, 2
jmp 0x14003fda1
movsx ecx, cx
sub rdi, 1
jne 0x14003fd70
shr edx, 1
and edx, 1
sub edx, ecx
lea eax, [rdx - 1]
cdqe
mov word [r14 + rax*2 + 0x968], r11w
mov eax, dword [r12 + 0x18]
inc r11d
cmp r11d, dword [r12 + rax*4 + 0x2c]
jb 0x14003fcb0
cmp dword [r12 + 0x18], 2
jne 0x140040030
xor r15d, r15d
mov eax, dword [r12 + 0x30]
add eax, dword [r12 + 0x2c]
cmp r15d, eax
jae 0x14003ffe4
cmp ebx, 0xf
jae 0x14003febd
mov rax, r13
sub rax, rsi
cmp rax, 2
jge 0x14003fe9e
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x1ca8]
test edi, edi
js 0x14003fe30
sar edi, 9
test edi, edi
je 0x14003fe67
cmp ebx, edi
jae 0x14003febd
jmp 0x14003fe67
cmp ebx, 0xa
jbe 0x14003fe67
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x24a8]
test edi, edi
jns 0x14003febd
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14003fe40
cmp rsi, r13
jb 0x14003fe82
mov r14d, dword [rsp + 0x190]
test r14b, 2
jne 0x14004016c
xor eax, eax
jmp 0x14003fe88
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14003fe0a
jmp 0x14003febd
movzx edx, byte [rsi + 1]
lea ecx, [rbx + 8]
movzx eax, byte [rsi]
add rsi, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rbp, rdx
add ebx, 0x10
mov rax, rbp
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0x1ca8]
test r8d, r8d
js 0x14003fee2
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x14003ff12
mov ecx, 0xa
nop word [rax + rax]
not r8d
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x24a8]
test r8d, r8d
js 0x14003fef0
shr rbp, cl
sub ebx, ecx
mov dword [rsp + 0x20], r8d
cmp r8d, 0x10
jae 0x14003ff32
mov byte [r15 + r12 + 0x292c], r8b
inc r15d
jmp 0x14003fdde
jne 0x14003ff3d
test r15d, r15d
je 0x140040362
lea ecx, [r8 - 0x10]
lea rax, [0x140000000]
movsx edx, byte [rcx + rax + 0xbcce8]
mov dword [rsp + 0x38], edx
cmp ebx, edx
jae 0x14003ff88
cmp rsi, r13
jb 0x14003ff73
mov r14d, dword [rsp + 0x190]
test r14b, 2
jne 0x14004017c
xor eax, eax
jmp 0x14003ff79
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14003ff58
mov ecx, edx
lea rax, [0x140000000]
mov edi, 1
sub ebx, edx
shl edi, cl
dec edi
and edi, ebp
shr rbp, cl
lea ecx, [r8 - 0x10]
movsx eax, byte [rcx + rax + 0xbccec]
add edi, eax
cmp r8d, 0x10
jne 0x14003ffc4
lea eax, [r15 - 1]
movzx edx, byte [rax + r12 + 0x292c]
jmp 0x14003ffc6
xor edx, edx
mov eax, r15d
lea rcx, [r12 + 0x292c]
add rcx, rax
mov r8d, edi
call fcn.140065dd0
add r15d, edi
jmp 0x14003fdde
mov edx, dword [r12 + 0x2c]
mov ecx, dword [r12 + 0x30]
add ecx, edx
cmp ecx, r15d
jne 0x140040377
mov r8d, edx
lea rcx, [r12 + 0x48]
lea rdx, [r12 + 0x292c]
call fcn.140065980
mov eax, dword [r12 + 0x2c]
lea rdx, [r12 + 0x292c]
mov r8d, dword [r12 + 0x30]
lea rcx, [r12 + 0xde8]
add rdx, rax
call fcn.140065980
dec dword [r12 + 0x18]
mov r14d, dword [rsp + 0x190]
jmp 0x14003fbb9
mov r11, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
jmp 0x14003f23d
mov r13d, 1
mov dword [r12], 0x17
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0x19
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0x1a
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0x1b
jmp 0x1400401a8
mov r13d, 2
mov dword [r12], gethostname
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 3
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 5
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 6
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 7
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], gethostname
jmp 0x1400401a8
mov r13d, 2
mov dword [r12], reloc.WS2_32.dll_gethostbyname
jmp 0x1400401a8
test r14b, 2
je case.0x14003ef75.40
mov r13d, 1
mov dword [r12], 0x26
jmp 0x1400401a8
mov r13d, 2
mov dword [r12], 9
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], inet_ntoa
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0xe
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0x10
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0x12
jmp 0x1400401a8
mov r13d, 2
mov dword [r12], 0x18
jmp 0x1400401a8
mov dword [r12], 0x27
or r13, 0xffffffffffffffff
mov r11d, dword [rsp + 0x20]
mov eax, dword [rsp + 0x38]
sub rsi, qword [rsp + 0x28]
mov r10, qword [rsp + 0x30]
mov dword [r12 + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [r12 + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [r12 + 0x38], rbp
mov rbp, qword [rsp + 0x178]
mov dword [r12 + 0x20], r11d
mov r11, qword [rsp + 0x68]
mov dword [r12 + 4], ebx
sub r10, r11
mov dword [r12 + 0x24], r15d
mov qword [rax], rsi
mov rax, qword [rsp + 0x70]
mov qword [rax], r10
test r14b, 9
je 0x14004032b
test r13d, r13d
js 0x14004032b
mov edi, dword [r12 + 0x1c]
movabs rax, 0x79baa6bb6398b6f7
mul r10
mov rax, r10
movzx ecx, di
sub rax, rdx
shr edi, 0x10
shr rax, 1
mov r8, r10
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r8, rax
test r10, r10
je 0x140040308
nop
xor edx, edx
cmp r8, 7
jbe 0x1400402ba
lea r9d, [rdx + 7]
nop dword [rax]
movzx eax, byte [r11]
add r9d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r11 + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 7]
add edi, ecx
add ecx, eax
add r11, 8
add edi, ecx
mov eax, r9d
cmp rax, r8
jb 0x140040260
mov eax, edx
cmp rax, r8
jae 0x1400402d5
movzx eax, byte [r11]
inc edx
add ecx, eax
inc r11
add edi, ecx
mov eax, edx
cmp rax, r8
jb 0x1400402c1
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub r10, r8
mov r8d, 0x15b0
jne 0x140040250
shl edi, 0x10
add edi, ecx
mov dword [r12 + 0x1c], edi
test r13d, r13d
jne 0x14004032b
test r14b, 1
je 0x14004032b
cmp edi, dword [r12 + 0x10]
mov eax, 0xfffffffe
cmovne r13d, eax
mov eax, r13d
jmp 0x1400404aa
mov dword [r12], 0x28
jmp case.0x14003ef75.4
mov dword [r12], 0xa
jmp case.0x14003ef75.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x23
jmp case.0x14003ef75.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x11
jmp case.0x14003ef75.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x15
jmp case.0x14003ef75.4
mov dword [r12], 0x25
jmp case.0x14003ef75.4
mov r11, rsi
cmp rsi, r13
jae 0x1400403aa
movzx eax, byte [r11]
inc rsi
jmp 0x1400403b2
test r14b, 2
jne 0x1400403e7
xor eax, eax
mov ecx, ebx
shl rax, cl
or rbp, rax
add ebx, 8
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x1400403d3
cmp rsi, r13
jae 0x1400403aa
movzx eax, byte [rsi]
inc rsi
jmp 0x1400403b2
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rbp, cl
xor r15d, r15d
jmp 0x140040421
mov r13d, 1
mov dword [r12], 0x20
jmp 0x1400401a8
mov r11, rsi
cmp rsi, r13
jae 0x140040439
movzx eax, byte [rsi]
jmp 0x140040446
test r14b, 2
jne 0x14004048a
xor ecx, ecx
mov eax, dword [r12 + 0x10]
shl eax, 8
or eax, ecx
mov dword [r12 + 0x10], eax
inc r15d
cmp r15d, 4
jae case.0x14003ef75.34
test ebx, ebx
je case.0x14003ef75.42
cmp ebx, 8
jae 0x140040459
cmp rsi, r13
jb 0x140040443
test r14b, 2
jne 0x140040477
xor eax, eax
jmp 0x140040449
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x140040434
movzx ecx, bpl
mov eax, 0xfffffff8
shr rbp, 8
add ebx, eax
jmp 0x14004040f
cmp rsi, r13
jae 0x140040407
movzx ecx, byte [rsi]
inc rsi
jmp 0x14004040f
mov r13d, 1
mov dword [r12], 0x29
jmp 0x1400401a8
mov r13d, 1
mov dword [r12], 0x2a
jmp 0x1400401a8
xor eax, eax
mov qword [r15], rax
mov qword [r8], rax
mov eax, 0xfffffffd
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret