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

Disassembly:
push rsi
push r12
push r13
push r15
sub rsp, 0x68
mov r12, qword [rcx + 0x28]
mov r13, rcx
test r12, r12
je 0x140004f1e
mov r15, qword [rcx + 0x10]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x140004f1e
mov rsi, qword [rcx]
test rsi, rsi
jne 0x140003f7f
cmp dword [rcx + 8], esi
jne 0x140004f1e
cmp dword [r12], 0xb
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r14
jne 0x140003fa2
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 r14d, r14d
mov dword [rsp + 0x98], r10d
mov dword [rsp + 0x30], edi
mov r8d, r10d
mov dword [rsp + 0xa0], r10d
mov dword [rsp + 0x90], r14d
cmp eax, 0x1c
ja case.0x140004003.1
lea rdx, [0x140000000]
cdqe
lea r11, [0x1400022c0]
mov ecx, dword [rdx + rax*4 + 0x4f30]
lea r9, [0x1400021f0]
add rcx, rdx
jmp rcx
cmp dword [r12 + 8], 0
jne 0x14000401a
mov dword [r12], 0xc
jmp 0x1400044d9
cmp ebx, 0x10
jae 0x14000403e
nop
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x10
jb 0x140004020
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 0x140004076
mov qword [r13 + 0x20], r9
mov dword [r12], 0x1b
jmp 0x1400044d9
mov eax, ebp
and al, 0xf
cmp al, 8
je 0x140004096
lea rax, [0x140002208]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
shr ebp, 4
add ebx, 0xfffffffc
mov ecx, ebp
and ecx, 0xf
add ecx, 8
cmp ecx, dword [r12 + 0x28]
jbe 0x1400040c3
lea rax, [0x140002228]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r12 + 0x14], eax
call fcn.140004fb0
shr ebp, 8
not ebp
mov ebx, r14d
mov dword [r12 + 0x18], eax
and ebp, 2
mov dword [r13 + 0x4c], eax
or ebp, 9
mov dword [r12], ebp
mov ebp, r14d
jmp 0x1400044c9
cmp ebx, 0x20
jae 0x140004121
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x20
jb 0x140004103
mov ecx, ebp
mov eax, ebp
mov ebx, r14d
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, r14d
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
cmp dword [r12 + 0xc], 0
je 0x140004dd3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140004fb0
mov r8d, dword [rsp + 0xa0]
mov r10d, dword [rsp + 0x98]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], 0xb
cmp dword [r12 + 4], 0
je 0x1400041b2
mov ecx, ebx
mov dword [r12], 0x18
and ecx, 7
shr ebp, cl
sub ebx, ecx
jmp 0x1400044d9
cmp ebx, 3
jae 0x1400041d5
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 3
jb 0x1400041b7
mov eax, ebp
shr ebp, 1
dec ebx
and eax, 1
mov dword [r12 + 4], eax
mov eax, ebp
and eax, 3
je 0x140004264
dec eax
je 0x140004227
dec eax
je 0x140004214
dec eax
jne 0x14000426c
lea rax, [0x140002240]
shr ebp, 2
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
add ebx, 0xfffffffe
jmp 0x1400044d9
shr ebp, 2
mov dword [r12], 0xf
add ebx, 0xfffffffe
jmp 0x1400044d9
lea rax, [0x1400017c0]
shr ebp, 2
mov dword [r12 + 0x68], 9
mov qword [r12 + 0x58], rax
lea rax, [0x140001ff0]
mov dword [r12 + 0x6c], 5
mov dword [r12], 0x12
add ebx, 0xfffffffe
mov qword [r12 + 0x60], rax
jmp 0x1400044d9
mov dword [r12], 0xd
shr ebp, 2
add ebx, 0xfffffffe
jmp 0x1400044d9
mov ecx, ebx
and ecx, 7
sub ebx, ecx
shr ebp, cl
cmp ebx, 0x20
jae 0x1400042a3
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x20
jb 0x140004285
mov eax, ebp
movzx ecx, bp
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1400042c9
lea rax, [0x140002258]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov dword [r12 + 0x48], ecx
mov ebp, r14d
mov ebx, r14d
mov dword [r12], 0xe
mov r9d, dword [r12 + 0x48]
test r9d, r9d
je 0x140004346
cmp r9d, edi
cmova r9d, edi
cmp r9d, r10d
cmova r9d, r10d
test r9d, r9d
je 0x140004e30
mov r8, rsi
mov edx, r9d
mov rcx, r15
sub r8, r15
nop dword [rax]
movzx eax, byte [r8 + rcx]
lea rcx, [rcx + 1]
mov byte [rcx - 1], al
dec edx
jne 0x140004310
mov eax, r9d
sub r10d, r9d
sub edi, r9d
add r15, rax
add rsi, rax
sub dword [r12 + 0x48], r9d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x98], r10d
jmp 0x1400044d1
mov dword [r12], 0xb
jmp 0x1400044d9
cmp ebx, 0xe
jae 0x140004376
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0xe
jb 0x140004358
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 0x1400044ee
cmp edx, 0x1e
ja 0x1400044ee
mov dword [r12 + 0x7c], r14d
mov dword [r12], 0x10
lea rdx, [0x140000000]
mov eax, dword [r12 + 0x70]
cmp dword [r12 + 0x7c], eax
jae 0x140004437
cmp ebx, 3
jae 0x140004403
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 3
jb 0x1400043e5
mov eax, dword [r12 + 0x7c]
movzx ecx, bp
add ebx, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x1fc0]
and cx, 7
shr ebp, 3
mov word [r12 + rax*2 + 0x88], cx
inc dword [r12 + 0x7c]
mov eax, dword [r12 + 0x7c]
cmp eax, dword [r12 + 0x70]
jb 0x1400043e0
cmp dword [r12 + 0x7c], 0x13
jae 0x140004463
nop
mov eax, dword [r12 + 0x7c]
movzx eax, word [rdx + rax*2 + 0x1fc0]
mov word [r12 + rax*2 + 0x88], r14w
inc dword [r12 + 0x7c]
cmp dword [r12 + 0x7c], 0x13
jb 0x140004440
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.1400057e0
mov dword [rsp + 0x90], eax
test eax, eax
je 0x140004503
lea rax, [0x1400022a0]
mov qword [r13 + 0x20], rax
mov dword [r12], 0x1b
mov r10d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0xa0]
mov eax, dword [r12]
cmp eax, 0x1c
ja case.0x140004003.1
xor r14d, r14d
jmp 0x140003fe2
lea rax, [0x140002278]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov dword [r12 + 0x7c], r14d
mov dword [r12], 0x11
lea r11, [0x1400022c0]
mov eax, dword [r12 + 0x78]
mov r10d, dword [r12 + 0x7c]
add eax, dword [r12 + 0x74]
cmp r10d, eax
jae 0x14000474f
nop
mov ecx, dword [r12 + 0x68]
mov r8, qword [r12 + 0x58]
mov edx, 1
shl edx, cl
mov eax, ebp
dec edx
and rax, rdx
mov eax, dword [r8 + rax*4]
mov ecx, eax
mov dword [rsp + 0xa8], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x140004595
nop
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
mov eax, ebp
and rax, rdx
mov eax, dword [r8 + rax*4]
mov ecx, eax
mov dword [rsp + 0xa8], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x140004560
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x1400045f7
shr eax, 8
movzx edx, al
cmp ebx, edx
jae 0x1400045cd
nop word [rax + rax]
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x1400045b0
movzx ecx, byte [rsp + 0xa9]
movzx eax, word [rsp + 0xaa]
shr ebp, cl
sub ebx, ecx
mov ecx, r10d
mov word [r12 + rcx*2 + 0x88], ax
inc dword [r12 + 0x7c]
jmp 0x140004737
movzx eax, word [rsp + 0xaa]
cmp ax, 0x10
jne 0x140004664
movzx r8d, byte [rsp + 0xa9]
lea edx, [r8 + 2]
cmp ebx, edx
jae 0x140004633
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x140004616
mov ecx, r8d
sub ebx, r8d
shr ebp, cl
test r10d, r10d
je 0x1400047c5
mov edx, ebp
lea eax, [r10 - 1]
shr ebp, 2
movzx r8d, word [r12 + rax*2 + 0x88]
and edx, 3
add edx, 3
add ebx, 0xfffffffe
jmp 0x1400046fa
movzx r9d, byte [rsp + 0xa9]
cmp ax, 0x11
jne 0x1400046b4
lea edx, [r9 + 3]
cmp ebx, edx
jae 0x14000469d
nop dword [rax + rax]
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x140004680
mov ecx, r9d
mov eax, 0xfffffffd
shr ebp, cl
mov edx, ebp
and edx, 7
add edx, 3
shr ebp, 3
jmp 0x1400046f2
lea edx, [r9 + 7]
cmp ebx, edx
jae 0x1400046dd
nop dword [rax]
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x1400046c0
mov ecx, r9d
mov eax, 0xfffffff9
shr ebp, cl
mov edx, ebp
and edx, 0x7f
add edx, 0xb
shr ebp, 7
sub eax, r9d
mov r8d, r14d
add ebx, eax
mov eax, dword [r12 + 0x78]
lea ecx, [r10 + rdx]
add eax, dword [r12 + 0x74]
cmp ecx, eax
ja 0x1400047c5
test edx, edx
je 0x140004737
nop word [rax + rax]
mov eax, dword [r12 + 0x7c]
mov word [r12 + rax*2 + 0x88], r8w
inc dword [r12 + 0x7c]
dec edx
jne 0x140004720
mov eax, dword [r12 + 0x78]
mov r10d, dword [r12 + 0x7c]
add eax, dword [r12 + 0x74]
cmp r10d, eax
jb 0x140004530
cmp dword [r12], 0x1b
je 0x1400044c9
mov r8d, dword [r12 + 0x74]
lea rax, [r12 + 0x548]
lea r14, [r12 + 0x80]
mov qword [r12 + 0x58], rax
mov qword [r14], rax
lea rax, [r12 + 0x68]
lea r15, [r12 + 0x308]
lea rdx, [r12 + 0x88]
mov r9, r14
mov ecx, 1
mov qword [rsp + 0x28], r15
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.1400057e0
mov dword [rsp + 0x90], eax
test eax, eax
je 0x1400047ce
mov r15, qword [rsp + 0x38]
lea rax, [0x1400022e0]
jmp 0x1400044bd
mov qword [r13 + 0x20], r11
jmp 0x1400044c1
mov rax, qword [r14]
mov r8d, dword [r12 + 0x78]
lea rcx, [r12 + 0x6c]
mov qword [r12 + 0x60], rax
mov eax, dword [r12 + 0x74]
mov dword [rcx], 6
add rax, 0x44
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rdx, [r12 + rax*2]
mov r9, r14
mov ecx, 2
call fcn.1400057e0
mov r15, qword [rsp + 0x38]
mov r8d, dword [rsp + 0xa0]
mov r10d, dword [rsp + 0x98]
mov dword [rsp + 0x90], eax
test eax, eax
je 0x140004842
lea rax, [0x140002300]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov dword [r12], 0x12
cmp edi, 6
jb 0x1400048a9
cmp r10d, 0x102
jb 0x1400048a9
mov edx, r8d
mov rcx, r13
mov qword [r13 + 0x10], r15
mov dword [r13 + 0x18], r10d
mov qword [r13], rsi
mov dword [r13 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
call fcn.140005290
mov r15, qword [r13 + 0x10]
mov r10d, dword [r13 + 0x18]
mov rsi, qword [r13]
mov edi, dword [r13 + 8]
mov ebp, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x98], r10d
jmp 0x1400044d1
mov ecx, dword [r12 + 0x68]
mov r11, qword [r12 + 0x58]
mov edx, 1
shl edx, cl
mov eax, ebp
dec edx
and rax, rdx
mov eax, dword [r11 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x1400048ff
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
mov eax, ebp
and rax, rdx
mov eax, dword [r11 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x1400048d1
test al, al
je 0x1400049cc
test al, 0xf0
jne 0x1400049cc
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0xa8], eax
movzx r14d, byte [rsp + 0xa9]
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
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]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, ebx
jbe 0x1400049c4
movzx r10d, word [rsp + 0xaa]
nop
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
movzx r9d, r14b
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 eax, dword [r11 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, ebx
ja 0x140004970
movzx ecx, r14b
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 0x1400049f3
mov dword [r12], 0x17
jmp 0x1400044c9
test al, 0x20
je 0x140004a04
mov dword [r12], 0xb
jmp 0x1400044c9
test al, 0x40
je 0x140004a14
lea rax, [0x140002318]
jmp 0x1400044bd
movzx ecx, al
mov dword [r12], 0x13
and ecx, 0xf
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x140004a67
cmp ebx, edx
jae 0x140004a51
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x140004a34
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 edx, 1
shl edx, cl
mov eax, ebp
dec edx
and rax, rdx
mov eax, dword [r11 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x140004ac5
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
mov eax, ebp
and rax, rdx
mov eax, dword [r11 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x140004a97
test al, 0xf0
jne 0x140004b8c
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0xa8], eax
movzx r14d, byte [rsp + 0xa9]
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
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]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, ebx
jbe 0x140004b84
movzx r10d, word [rsp + 0xaa]
nop dword [rax]
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
movzx r9d, r14b
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 eax, dword [r11 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, ebx
ja 0x140004b30
movzx ecx, r14b
shr ebp, cl
sub ebx, ecx
mov r8d, dword [rsp + 0xa0]
mov r10d, dword [rsp + 0x98]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebp, cl
sub ebx, ecx
test al, 0x40
je 0x140004bc4
lea rax, [0x140002338]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov ecx, eax
mov dword [r12], 0x15
shr ecx, 0x10
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 0x140004c23
cmp ebx, edx
jae 0x140004c0d
nop
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, edx
jb 0x140004bf0
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 0x140004c4d
lea rax, [0x140002350]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov dword [r12], 0x16
test r10d, r10d
je 0x140004e30
mov ecx, dword [r12 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x140004c97
sub ecx, eax
mov eax, dword [r12 + 0x34]
cmp ecx, eax
jbe 0x140004c83
mov edx, dword [r12 + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x140004c87
sub eax, ecx
mov edx, eax
mov eax, dword [r12 + 0x48]
add rdx, qword [r12 + 0x38]
cmp ecx, eax
jbe 0x140004ca4
jmp 0x140004ca2
mov eax, dword [r12 + 0x48]
mov rdx, r15
sub rdx, rcx
mov ecx, eax
cmp ecx, r10d
cmova ecx, r10d
sub r10d, ecx
sub eax, ecx
sub rdx, r15
mov dword [rsp + 0x98], r10d
mov dword [r12 + 0x48], eax
movzx eax, byte [rdx + r15]
inc r15
mov byte [r15 - 1], al
dec ecx
jne 0x140004cc0
mov qword [rsp + 0x38], r15
cmp dword [r12 + 0x48], ecx
jne 0x1400044d9
mov dword [r12], 0x12
jmp 0x1400044d9
test r10d, r10d
je 0x140004e30
movzx eax, byte [r12 + 0x48]
inc r15
dec r10d
mov byte [r15 - 1], al
mov dword [rsp + 0x98], r10d
mov qword [rsp + 0x38], r15
mov dword [r12], 0x12
jmp 0x1400044d9
cmp dword [r12 + 8], 0
je 0x140004e18
cmp ebx, 0x20
jae 0x140004d4f
test edi, edi
je 0x140004e30
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add ebp, eax
cmp ebx, 0x20
jb 0x140004d31
sub r8d, r10d
add dword [r13 + 0x1c], r8d
add dword [r12 + 0x1c], r8d
test r8d, r8d
je 0x140004d84
mov ecx, dword [r12 + 0x18]
mov eax, r8d
mov rdx, r15
sub rdx, rax
call fcn.140004fb0
mov r10d, dword [rsp + 0x98]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov ecx, ebp
mov eax, ebp
mov r8d, r10d
shl eax, 0x10
and ecx, 0xff00
mov dword [rsp + 0xa0], 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 0x140004e12
lea rax, [0x140002370]
mov dword [r12], 0x1b
mov qword [r13 + 0x20], rax
jmp 0x1400044d9
mov qword [r13 + 0x10], r15
mov dword [r13 + 0x18], r10d
mov qword [r13], rsi
mov dword [r13 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
mov eax, 2
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
add rsp, 0x68
pop r15
pop r13
pop r12
pop rsi
ret
mov ebp, r14d
mov ebx, r14d
mov dword [r12], 0x1a
mov r14d, 1
jmp 0x140004e38
mov r14d, 0xfffffffd
jmp 0x140004e38
mov r14d, dword [rsp + 0x90]
cmp dword [r12 + 0x2c], 0
mov eax, dword [rsp + 0x98]
mov dword [r12 + 0x44], ebx
mov ebx, dword [rsp + 0xa0]
mov dword [r13 + 0x18], eax
mov qword [r13 + 0x10], r15
mov qword [r13], rsi
mov dword [r13 + 8], edi
mov dword [r12 + 0x40], ebp
jne 0x140004e73
cmp dword [r12], 0x18
jge 0x140004e93
cmp ebx, eax
je 0x140004e93
mov edx, ebx
mov rcx, r13
call fcn.140003ca0
test eax, eax
je 0x140004e93
mov dword [r12], 0x1c
mov eax, 0xfffffffc
jmp 0x140004df2
sub ebx, dword [r13 + 0x18]
mov eax, dword [rsp + 0x30]
sub eax, dword [r13 + 8]
add dword [r13 + 0x1c], ebx
add dword [r12 + 0x1c], ebx
add dword [r13 + 0xc], eax
cmp dword [r12 + 8], 0
je 0x140004ed7
test ebx, ebx
je 0x140004ed7
mov rdx, qword [r13 + 0x10]
mov ecx, dword [r12 + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
call fcn.140004fb0
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov eax, dword [r12 + 4]
mov edx, 0
neg eax
mov eax, pe_nt_image_headers64
sbb ecx, ecx
and ecx, 0x40
cmp dword [r12], 0xb
cmove edx, eax
mov eax, 0xfffffffb
add ecx, edx
add ecx, dword [r12 + 0x44]
test r14d, r14d
cmove r14d, eax
mov dword [r13 + 0x48], ecx
mov eax, r14d
jmp 0x140004df2
mov eax, 0xfffffffe
jmp 0x140004df2
mov eax, 0xfffffffe
add rsp, 0x68
pop r15
pop r13
pop r12
pop rsi
ret