Function at 0x100003370
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push rsi
push r12
push r14
push r15
sub rsp, 0x58
mov r15, rcx
test rcx, rcx
je 0x1000044da
mov r12, qword [rcx + 0x28]
test r12, r12
je 0x1000044da
mov r14, qword [rcx + 0x10]
mov qword [rsp + 0x38], r14
test r14, r14
je 0x1000044da
mov rsi, qword [rcx]
test rsi, rsi
jne 0x1000033b8
cmp dword [rcx + 8], esi
jne 0x1000044da
cmp dword [r12], 0xb
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r13
jne 0x1000033de
mov dword [r12], 0xc
mov r10d, dword [rcx + 0x18]
mov eax, dword [r12]
mov edi, dword [rcx + 8]
mov ebp, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
xor r13d, r13d
mov dword [rsp + 0x90], r10d
mov dword [rsp + 0x34], edi
mov r8d, r10d
mov dword [rsp + 0x80], r10d
mov dword [rsp + 0x30], r13d
cmp eax, 0x1c
ja case.0x10000343c.1
lea rdx, [0x100000000]
lea r9, [0x100002148]
lea r11, [0x100002218]
cdqe
mov ecx, dword [rdx + rax*4 + 0x44ec]
add rcx, rdx
jmp rcx
cmp dword [r12 + 8], 0
jne 0x100003453
mov dword [r12], 0xc
jmp 0x10000435e
cmp ebx, 0x10
jae 0x100003476
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x10
jb 0x100003458
movzx ecx, bpl
mov eax, ebp
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
je 0x1000034ae
mov qword [r15 + 0x20], r9
mov dword [r12], 0x1b
jmp 0x10000435e
mov eax, ebp
and al, 0xf
cmp al, 8
je 0x1000034ce
lea rax, [0x100002160]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
shr ebp, 4
add ebx, 0xfffffffc
mov ecx, ebp
and ecx, 0xf
add ecx, 8
cmp ecx, dword [r12 + 0x28]
jbe 0x1000034fb
lea rax, [0x100002180]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r12 + 0x14], eax
call fcn.100002e70
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
shr ebp, 8
mov dword [r12 + 0x18], eax
not ebp
mov dword [r15 + 0x4c], eax
mov ebx, r13d
and ebp, 2
or ebp, 9
mov dword [r12], ebp
mov ebp, r13d
jmp 0x10000435e
cmp ebx, 0x20
jae 0x10000356e
nop dword [rax + rax]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x20
jb 0x100003550
mov ecx, ebp
mov eax, ebp
mov ebx, r13d
shl eax, 0x10
and ecx, 0xff00
mov dword [r12], 0xa
add ecx, eax
mov eax, ebp
shr ebp, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, ebp
mov ebp, r13d
mov dword [r12 + 0x18], eax
mov dword [r15 + 0x4c], eax
cmp dword [r12 + 0xc], 0
je 0x100004388
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100002e70
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
mov dword [r12 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r12], 0xb
cmp dword [r12 + 4], 0
je 0x1000035ff
mov ecx, ebx
mov dword [r12], 0x18
and ecx, 7
shr ebp, cl
sub ebx, ecx
jmp 0x10000435e
cmp ebx, 3
jae 0x100003622
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 3
jb 0x100003604
mov eax, ebp
shr ebp, 1
dec ebx
and eax, 1
mov dword [r12 + 4], eax
mov eax, ebp
and eax, 3
je 0x1000036b4
sub eax, 1
je 0x100003677
sub eax, 1
je 0x100003664
cmp eax, 1
jne 0x1000036bc
lea rax, [0x100002198]
shr ebp, 2
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
add ebx, 0xfffffffe
jmp 0x10000435e
shr ebp, 2
mov dword [r12], 0xf
add ebx, 0xfffffffe
jmp 0x10000435e
lea rax, [0x1000018a0]
shr ebp, 2
mov dword [r12 + 0x68], 9
mov qword [r12 + 0x58], rax
lea rax, [0x1000020a0]
mov dword [r12 + 0x6c], 5
mov dword [r12], 0x12
add ebx, 0xfffffffe
mov qword [r12 + 0x60], rax
jmp 0x10000435e
mov dword [r12], 0xd
shr ebp, 2
add ebx, 0xfffffffe
jmp 0x10000435e
mov ecx, ebx
and ecx, 7
sub ebx, ecx
shr ebp, cl
cmp ebx, 0x20
jae 0x1000036f3
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x20
jb 0x1000036d5
mov eax, ebp
movzx ecx, bp
not eax
shr eax, 0x10
cmp ecx, eax
je 0x100003719
lea rax, [0x1000021b0]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov dword [r12 + 0x48], ecx
mov ebp, r13d
mov ebx, r13d
mov dword [r12], 0xe
mov r9d, dword [r12 + 0x48]
test r9d, r9d
je 0x10000379e
cmp r9d, edi
cmova r9d, edi
cmp r9d, r10d
cmova r9d, r10d
test r9d, r9d
je 0x1000043e9
mov r8, rsi
mov edx, r9d
mov rcx, r14
sub r8, r14
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
add edx, 0xffffffff
mov byte [rcx - 1], al
jne 0x100003760
mov r8d, dword [rsp + 0x80]
mov eax, r9d
sub r10d, r9d
add r14, rax
sub edi, r9d
add rsi, rax
sub dword [r12 + 0x48], r9d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x90], r10d
jmp 0x10000435e
mov dword [r12], 0xb
jmp 0x10000435e
cmp ebx, 0xe
jae 0x1000037ce
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0xe
jb 0x1000037b0
mov ecx, ebp
shr ebp, 5
add ebx, 0xfffffff2
mov edx, ebp
shr ebp, 5
and ecx, 0x1f
mov eax, ebp
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr ebp, 4
add eax, 4
mov dword [r12 + 0x74], ecx
mov dword [r12 + 0x78], edx
mov dword [r12 + 0x70], eax
cmp ecx, 0x11e
ja 0x10000393d
cmp edx, 0x1e
ja 0x10000393d
mov dword [r12 + 0x7c], r13d
mov dword [r12], 0x10
lea rdx, [0x100000000]
mov eax, dword [r12 + 0x70]
cmp dword [r12 + 0x7c], eax
jae 0x100003892
cmp ebx, 3
jae 0x10000385e
nop dword [rax]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 3
jb 0x100003840
mov eax, dword [r12 + 0x7c]
movzx ecx, bp
add ebx, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x2120]
and cx, 7
shr ebp, 3
mov word [r12 + rax*2 + 0x88], cx
inc dword [r12 + 0x7c]
mov eax, dword [r12 + 0x70]
cmp dword [r12 + 0x7c], eax
jb 0x100003838
cmp dword [r12 + 0x7c], 0x13
jae 0x1000038c3
nop word [rax + rax]
mov eax, dword [r12 + 0x7c]
movzx eax, word [rdx + rax*2 + 0x2120]
mov word [r12 + rax*2 + 0x88], r13w
inc dword [r12 + 0x7c]
cmp dword [r12 + 0x7c], 0x13
jb 0x1000038a0
lea rcx, [r12 + 0x68]
lea rax, [r12 + 0x548]
lea r9, [r12 + 0x80]
mov qword [r9], rax
mov qword [r12 + 0x58], rax
lea rax, [r12 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r12 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.1000023e0
mov edx, eax
mov dword [rsp + 0x30], eax
test eax, eax
je 0x100003955
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
lea rax, [0x1000021f8]
mov qword [r15 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x10000435e
lea rax, [0x1000021d0]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov r10d, dword [rsp + 0x90]
mov dword [r12 + 0x7c], r13d
mov dword [r12], 0x11
lea r11, [0x100002218]
mov eax, dword [r12 + 0x78]
add eax, dword [r12 + 0x74]
cmp dword [r12 + 0x7c], eax
jae 0x100003bcd
nop word [rax + rax]
mov ecx, dword [r12 + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, ebp
and rcx, rax
mov rax, qword [r12 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x98], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x100003a08
nop
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
mov ecx, dword [r12 + 0x68]
dec edi
add ebp, eax
mov eax, 1
inc rsi
shl eax, cl
lea ecx, [rax - 1]
mov eax, ebp
and rcx, rax
mov rax, qword [r12 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x98], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x1000039c0
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x100003a6c
movzx edx, byte [rsp + 0x99]
shr eax, 8
movzx ecx, al
cmp ebx, ecx
jae 0x100003a45
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
movzx eax, dl
cmp ebx, eax
jb 0x100003a25
movzx eax, word [rsp + 0x9a]
movzx ecx, dl
shr ebp, cl
sub ebx, ecx
mov ecx, dword [r12 + 0x7c]
mov word [r12 + rcx*2 + 0x88], ax
inc dword [r12 + 0x7c]
jmp 0x100003bb8
movzx eax, word [rsp + 0x9a]
cmp ax, 0x10
jne 0x100003ae0
movzx r8d, byte [rsp + 0x99]
lea edx, [r8 + 2]
cmp ebx, edx
jae 0x100003aad
nop dword [rax + rax]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x100003a90
mov eax, dword [r12 + 0x7c]
mov ecx, r8d
sub ebx, r8d
shr ebp, cl
test eax, eax
je 0x100003c5e
mov edx, ebp
dec eax
shr ebp, 2
movzx r8d, word [r12 + rax*2 + 0x88]
and edx, 3
add edx, 3
add ebx, 0xfffffffe
jmp 0x100003b7e
cmp ax, 0x11
jne 0x100003b33
movzx r9d, byte [rsp + 0x99]
lea edx, [r9 + 3]
cmp ebx, edx
jae 0x100003b14
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x100003af7
mov ecx, r9d
mov eax, 0xfffffffd
mov r8d, r13d
shr ebp, cl
sub eax, r9d
mov edx, ebp
shr ebp, 3
and edx, 7
add edx, 3
add ebx, eax
jmp 0x100003b7e
movzx r9d, byte [rsp + 0x99]
lea edx, [r9 + 7]
cmp ebx, edx
jae 0x100003b61
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x100003b44
mov ecx, r9d
mov eax, 0xfffffff9
mov r8d, r13d
shr ebp, cl
sub eax, r9d
mov edx, ebp
shr ebp, 7
and edx, 0x7f
add edx, 0xb
add ebx, eax
mov eax, dword [r12 + 0x7c]
lea ecx, [rdx + rax]
mov eax, dword [r12 + 0x78]
add eax, dword [r12 + 0x74]
cmp ecx, eax
ja 0x100003c77
test edx, edx
je 0x100003bb8
nop dword [rax]
mov eax, dword [r12 + 0x7c]
mov word [r12 + rax*2 + 0x88], r8w
inc dword [r12 + 0x7c]
add edx, 0xffffffff
jne 0x100003ba0
mov eax, dword [r12 + 0x78]
add eax, dword [r12 + 0x74]
cmp dword [r12 + 0x7c], eax
jb 0x100003990
cmp dword [r12], 0x1b
je 0x100004356
mov r8d, dword [r12 + 0x74]
lea rax, [r12 + 0x548]
lea r14, [r12 + 0x308]
mov qword [r12 + 0x80], rax
mov qword [r12 + 0x58], rax
lea rax, [r12 + 0x68]
lea rdx, [r12 + 0x88]
lea r9, [r12 + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r14
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.1000023e0
mov dword [rsp + 0x30], eax
test eax, eax
je 0x100003c90
mov r14, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
lea rax, [0x100002238]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov r8d, dword [rsp + 0x80]
mov qword [r15 + 0x20], r11
mov dword [r12], 0x1b
jmp 0x10000435e
mov r8d, dword [rsp + 0x80]
mov qword [r15 + 0x20], r11
mov dword [r12], 0x1b
jmp 0x10000435e
mov rax, qword [r12 + 0x80]
mov r8d, dword [r12 + 0x78]
lea rcx, [r12 + 0x6c]
mov qword [r12 + 0x60], rax
mov eax, dword [r12 + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea r9, [r12 + 0x80]
lea rdx, [r12 + rax*2 + 0x88]
mov ecx, 2
call fcn.1000023e0
mov dword [rsp + 0x30], eax
test eax, eax
je 0x100003d0b
mov r14, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
lea rax, [0x100002258]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov r14, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
mov dword [r12], 0x12
xor r13d, r13d
cmp edi, 6
jb 0x100003d90
cmp r10d, 0x102
jb 0x100003d90
mov edx, r8d
mov rcx, r15
mov qword [r15 + 0x10], r14
mov dword [r15 + 0x18], r10d
mov qword [r15], rsi
mov dword [r15 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
call fcn.100002980
mov r14, qword [r15 + 0x10]
mov r10d, dword [r15 + 0x18]
mov rsi, qword [r15]
mov edi, dword [r15 + 8]
mov ebp, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
mov r8d, dword [rsp + 0x80]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x90], r10d
jmp 0x10000435e
mov ecx, dword [r12 + 0x68]
mov r11, qword [r12 + 0x58]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, ebp
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x100003e01
nop dword [rax]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
mov ecx, dword [r12 + 0x68]
dec edi
add ebp, eax
mov eax, 1
inc rsi
shl eax, cl
lea ecx, [rax - 1]
mov eax, ebp
and rcx, rax
mov rax, qword [r12 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x100003dc0
test al, al
je 0x100003ed2
test al, 0xf0
jne 0x100003ed2
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0x98], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, ebp
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rsp + 0x99]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, ebx
jbe 0x100003eca
movzx r10d, word [rsp + 0x9a]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add ebp, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add ebx, 8
dec r8d
dec edi
inc rsi
and r8d, ebp
shr r8d, cl
add r8d, eax
mov rax, qword [r12 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, ebx
ja 0x100003e71
movzx ecx, r11b
shr ebp, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebp, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r12 + 0x48], ecx
test al, al
jne 0x100003f09
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
mov dword [r12], 0x17
jmp 0x10000435e
test al, 0x20
je 0x100003f2a
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
mov dword [r12], 0xb
jmp 0x10000435e
test al, 0x40
je 0x100003f56
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
lea rax, [0x100002270]
mov qword [r15 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x10000435e
movzx ecx, al
mov dword [r12], 0x13
and ecx, 0xf
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x100003fac
cmp ebx, edx
jae 0x100003f96
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, dword [r12 + 0x50]
jb 0x100003f76
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, ebp
shr ebp, cl
add dword [r12 + 0x48], eax
sub ebx, edx
mov dword [r12], 0x14
mov ecx, dword [r12 + 0x6c]
mov r11, qword [r12 + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, ebp
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x100004021
nop dword [rax]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
mov ecx, dword [r12 + 0x6c]
dec edi
add ebp, eax
mov eax, 1
inc rsi
shl eax, cl
lea ecx, [rax - 1]
mov eax, ebp
and rcx, rax
mov rax, qword [r12 + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x100003fe0
test al, 0xf0
jne 0x1000040f1
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0x98], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, ebp
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rsp + 0x99]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, ebx
jbe 0x1000040e9
movzx r10d, word [rsp + 0x9a]
nop dword [rax]
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add ebp, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add ebx, 8
dec r8d
dec edi
inc rsi
and r8d, ebp
shr r8d, cl
add r8d, eax
mov rax, qword [r12 + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, ebx
ja 0x100004090
movzx ecx, r11b
shr ebp, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebp, cl
sub ebx, ecx
test al, 0x40
je 0x100004129
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
lea rax, [0x100002290]
mov qword [r15 + 0x20], rax
mov dword [r12], 0x1b
jmp 0x10000435e
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x90]
mov ecx, eax
shr ecx, 0x10
mov dword [r12], 0x15
mov dword [r12 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x100004199
cmp ebx, edx
jae 0x100004183
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, dword [r12 + 0x50]
jb 0x100004163
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, ebp
shr ebp, cl
add dword [r12 + 0x4c], eax
sub ebx, edx
mov eax, dword [r12 + 0x30]
sub eax, r10d
add eax, r8d
cmp dword [r12 + 0x4c], eax
jbe 0x1000041c3
lea rax, [0x1000022a8]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov dword [r12], 0x16
test r10d, r10d
je 0x1000043e9
mov edx, dword [r12 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp edx, eax
jbe 0x100004214
sub edx, eax
mov eax, dword [r12 + 0x34]
cmp edx, eax
jbe 0x1000041fe
mov ecx, dword [r12 + 0x2c]
sub edx, eax
sub ecx, edx
add rcx, qword [r12 + 0x38]
jmp 0x100004207
sub eax, edx
mov ecx, eax
add rcx, qword [r12 + 0x38]
mov eax, dword [r12 + 0x48]
cmp edx, eax
jbe 0x100004221
mov edx, eax
jmp 0x100004221
mov eax, dword [r12 + 0x48]
mov rcx, r14
sub rcx, rdx
mov edx, eax
cmp edx, r10d
cmova edx, r10d
sub r10d, edx
sub eax, edx
mov dword [r12 + 0x48], eax
mov dword [rsp + 0x90], r10d
nop word [rax + rax]
movzx eax, byte [rcx]
inc r14
inc rcx
add edx, 0xffffffff
mov byte [r14 - 1], al
jne 0x100004240
mov qword [rsp + 0x38], r14
cmp dword [r12 + 0x48], edx
jne 0x10000435e
mov dword [r12], 0x12
jmp 0x10000435e
test r10d, r10d
je 0x1000043e9
movzx eax, byte [r12 + 0x48]
inc r14
dec r10d
mov byte [r14 - 1], al
mov dword [rsp + 0x90], r10d
mov qword [rsp + 0x38], r14
mov dword [r12], 0x12
jmp 0x10000435e
cmp dword [r12 + 8], 0
je 0x1000043cf
cmp ebx, 0x20
jae 0x1000042d1
test edi, edi
je 0x1000043e9
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x20
jb 0x1000042b3
sub r8d, r10d
add dword [r15 + 0x1c], r8d
add dword [r12 + 0x1c], r8d
test r8d, r8d
je 0x100004306
mov ecx, dword [r12 + 0x18]
mov eax, r8d
mov rdx, r14
sub rdx, rax
call fcn.100002e70
mov r10d, dword [rsp + 0x90]
mov dword [r12 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov ecx, ebp
mov eax, ebp
mov r8d, r10d
shl eax, 0x10
and ecx, 0xff00
mov dword [rsp + 0x80], r10d
add ecx, eax
mov eax, ebp
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, ebp
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r12 + 0x18]
je 0x1000043c9
lea rax, [0x1000022c8]
mov dword [r12], 0x1b
mov qword [r15 + 0x20], rax
jmp 0x10000435e
mov r8d, dword [rsp + 0x80]
mov eax, dword [r12]
cmp eax, 0x1c
ja case.0x10000343c.1
xor r13d, r13d
lea rdx, [0x100000000]
lea r11, [0x100002218]
lea r9, [0x100002148]
jmp 0x100003430
mov qword [r15 + 0x10], r14
mov dword [r15 + 0x18], r10d
mov qword [r15], rsi
mov dword [r15 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
mov eax, 2
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov r13, qword [rsp + 0x40]
add rsp, 0x58
pop r15
pop r14
pop r12
pop rsi
ret
mov ebp, r13d
mov ebx, r13d
mov dword [r12], 0x1a
mov dword [rsp + 0x30], 1
jmp 0x1000043e9
mov dword [rsp + 0x30], 0xfffffffd
cmp dword [r12 + 0x2c], 0
mov eax, dword [rsp + 0x90]
mov qword [r15 + 0x10], r14
mov dword [r15 + 0x18], eax
mov qword [r15], rsi
mov dword [r15 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
jne 0x100004425
cmp dword [r12], 0x18
jge 0x10000444c
mov ebx, dword [rsp + 0x80]
cmp ebx, eax
je 0x100004453
jmp 0x10000442c
mov ebx, dword [rsp + 0x80]
mov edx, ebx
mov rcx, r15
call fcn.100003180
test eax, eax
je 0x100004453
mov dword [r12], 0x1c
mov eax, 0xfffffffc
jmp 0x1000043a6
mov ebx, dword [rsp + 0x80]
sub ebx, dword [r15 + 0x18]
mov eax, dword [rsp + 0x34]
sub eax, dword [r15 + 8]
add dword [r15 + 0x1c], ebx
add dword [r12 + 0x1c], ebx
add dword [r15 + 0xc], eax
cmp dword [r12 + 8], 0
je 0x100004497
test ebx, ebx
je 0x100004497
mov rdx, qword [r15 + 0x10]
mov ecx, dword [r12 + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
call fcn.100002e70
mov dword [r12 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov eax, dword [r12 + 4]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp dword [r12], 0xb
cmove r13d, eax
mov eax, dword [rsp + 0x30]
add ecx, r13d
add ecx, dword [r12 + 0x44]
test eax, eax
mov dword [r15 + 0x48], ecx
mov ecx, 0xfffffffb
cmove eax, ecx
jmp 0x1000043a6
mov eax, 0xfffffffe
jmp 0x1000043a6
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r12
pop rsi
ret