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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], esi
push edi
test esi, esi
je 0x13aba4d
cmp dword [esi + 0x20], 0
je 0x13aba4d
cmp dword [esi + 0x24], 0
je 0x13aba4d
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x13aba4d
cmp dword [edi], esi
jne 0x13aba4d
mov eax, dword [edi + 4]
cmp eax, 0x2a
je 0x13aaea0
cmp eax, 0x39
je 0x13aaea0
cmp eax, 0x45
je 0x13aaea0
cmp eax, 0x49
je 0x13aaea0
cmp eax, 0x5b
je 0x13aaea0
cmp eax, 0x67
je 0x13aaea0
cmp eax, 0x71
je 0x13aaea0
cmp eax, 0x29a
jne 0x13aba4d
cmp dword [esi + 0xc], 0
je 0x13aba46
cmp dword [esi + 4], 0
je 0x13aaeb9
cmp dword [esi], 0
je 0x13aba46
cmp eax, 0x29a
jne 0x13aaec9
cmp edx, 4
jne 0x13aba46
cmp dword [esi + 0x10], 0
push ebx
je 0x13aaf6b
cmp dword [edi + 0x14], 0
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x28], edx
je 0x13aaf35
mov ebx, dword [esi + 0x1c]
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.013b1020
mov ebx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp ebx, eax
jbe 0x13aaef9
mov ebx, eax
test ebx, ebx
je 0x13aaf29
mov eax, dword [ebp - 0x14]
push ebx
push dword [eax + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add dword [esi + 0xc], ebx
add dword [ecx + 0x10], ebx
add dword [esi + 0x14], ebx
sub dword [esi + 0x10], ebx
sub dword [ecx + 0x14], ebx
jne 0x13aaf29
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
cmp dword [esi + 0x10], 0
je 0x13aba36
jmp 0x13aaf57
cmp dword [esi + 4], 0
jne 0x13aaf57
xor eax, eax
cmp ecx, 4
setle al
add ecx, ecx
dec eax
and eax, 9
sub ecx, eax
lea eax, [edx + edx]
cmp eax, ecx
jg 0x13aaf57
cmp edx, 4
jne 0x13aaf6b
mov eax, dword [edi + 4]
cmp eax, 0x29a
jne 0x13aaf7e
cmp dword [esi + 4], 0
je 0x13ab0d4
pop ebx
pop edi
mov dword [esi + 0x18], 0xdd2834
mov eax, 0xfffffffb
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x2a
jne 0x13ab0d4
mov ecx, dword [edi + 0x30]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [edi + 0x88], 2
mov ebx, ecx
jge 0x13aafce
mov eax, dword [edi + 0x84]
cmp eax, 2
jl 0x13aafce
cmp eax, 6
jge 0x13aafb8
mov eax, 0x40
lea edx, [eax + 0x20]
jmp 0x13aafd3
jne 0x13aafc4
mov eax, pe_nt_image_headers32
lea edx, [eax + 0x20]
jmp 0x13aafd3
mov eax, 0xc0
lea edx, [eax + 0x20]
jmp 0x13aafd3
xor eax, eax
lea edx, [eax + 0x20]
or ecx, eax
cmp dword [edi + 0x6c], 0
je 0x13aafdf
mov ecx, edx
or ecx, ebx
mov eax, 0x8421085
mul ecx
lea eax, [edi + 8]
sub ecx, edx
mov dword [ebp - 4], eax
mov eax, dword [eax]
shr ecx, 1
add ecx, edx
shr ecx, 4
inc ecx
mov ebx, ecx
shl ebx, 5
sub ebx, ecx
mov ecx, dword [edi + 0x14]
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
inc dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 8]
mov byte [ecx + eax], bl
inc dword [edi + 0x14]
cmp dword [edi + 0x6c], 0
je 0x13ab064
movzx edx, word [esi + 0x32]
mov esi, dword [edi + 0x14]
mov ecx, edx
mov eax, dword [edi + 8]
shr ecx, 8
mov byte [esi + eax], cl
inc dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 8]
mov esi, dword [ebp - 0x18]
mov byte [ecx + eax], dl
inc dword [edi + 0x14]
movzx ebx, word [esi + 0x30]
mov edx, dword [edi + 0x14]
mov ecx, ebx
mov eax, dword [edi + 8]
shr ecx, 8
mov byte [edx + eax], cl
inc dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 8]
mov byte [ecx + eax], bl
inc dword [edi + 0x14]
push 0
xor edx, edx
xor ecx, ecx
call fcn.013aa500
mov dword [esi + 0x30], eax
add esp, 4
mov dword [edi + 4], 0x71
mov ebx, dword [esi + 0x1c]
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.013b1020
mov ebx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp ebx, eax
jbe 0x13ab095
mov ebx, eax
test ebx, ebx
je 0x13ab0c5
mov eax, dword [ebp - 0x14]
push ebx
push dword [eax + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add dword [esi + 0xc], ebx
add dword [ecx + 0x10], ebx
add dword [esi + 0x14], ebx
sub dword [esi + 0x10], ebx
sub dword [ecx + 0x14], ebx
jne 0x13ab0c5
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
cmp dword [edi + 0x14], 0
jne 0x13aba36
lea ebx, [edi + 8]
jmp 0x13ab0da
lea ebx, [edi + 8]
mov dword [ebp - 4], ebx
cmp dword [edi + 4], 0x39
jne 0x13ab324
mov dword [esi + 0x30], 0
lea ebx, [edi + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
mov dword [ebp - 4], ebx
mov byte [ecx + eax], 0x1f
inc dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
mov byte [ecx + eax], 0x8b
inc dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
mov byte [ecx + eax], 8
inc dword [edi + 0x14]
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
test edx, edx
jne 0x13ab1fd
mov eax, dword [ebx]
mov byte [ecx + eax], dl
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
inc ecx
mov dword [edi + 0x14], ecx
mov byte [ecx + eax], dl
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
inc ecx
mov dword [edi + 0x14], ecx
mov byte [ecx + eax], dl
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
inc ecx
mov dword [edi + 0x14], ecx
mov byte [ecx + eax], dl
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
inc ecx
mov dword [edi + 0x14], ecx
mov byte [ecx + eax], dl
inc dword [edi + 0x14]
mov eax, dword [edi + 0x84]
mov edx, dword [edi + 0x14]
cmp eax, 9
jne 0x13ab16d
mov cl, 2
jmp 0x13ab181
cmp dword [edi + 0x88], 2
jge 0x13ab17f
cmp eax, 2
jl 0x13ab17f
xor cl, cl
jmp 0x13ab181
mov cl, 4
mov eax, dword [ebx]
mov byte [edx + eax], cl
inc dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [ebx]
mov byte [ecx + eax], 0xa
inc dword [edi + 0x14]
mov dword [edi + 4], 0x71
mov eax, dword [esi + 0x1c]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.013b1020
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
cmp eax, edx
jbe 0x13ab1be
mov eax, edx
mov dword [ebp - 0x14], edx
test eax, eax
je 0x13ab1ee
push eax
push dword [ecx + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add dword [esi + 0xc], eax
add dword [ecx + 0x10], eax
add dword [esi + 0x14], eax
sub dword [esi + 0x10], eax
sub dword [ecx + 0x14], eax
jne 0x13ab1ee
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
cmp dword [edi + 0x14], 0
jne 0x13aba36
jmp 0x13ab324
mov ecx, dword [edx + 0x2c]
mov eax, dword [edx + 0x10]
neg ecx
sbb cl, cl
and cl, 2
neg eax
sbb al, al
and al, 4
add cl, al
mov eax, dword [edx + 0x1c]
neg eax
sbb al, al
and al, 8
add cl, al
mov eax, dword [edx + 0x24]
neg eax
sbb al, al
and al, 0x10
add cl, al
cmp dword [edx], 0
mov edx, dword [edi + 0x14]
setne al
add cl, al
mov eax, dword [ebx]
mov byte [edx + eax], cl
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
inc edx
mov ecx, dword [ebx]
mov dword [edi + 0x14], edx
movzx eax, byte [eax + 4]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
inc edx
mov ecx, dword [ebx]
mov dword [edi + 0x14], edx
movzx eax, byte [eax + 5]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
inc edx
mov ecx, dword [ebx]
mov dword [edi + 0x14], edx
movzx eax, byte [eax + 6]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
inc edx
mov ecx, dword [ebx]
mov dword [edi + 0x14], edx
movzx eax, byte [eax + 7]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov eax, dword [edi + 0x84]
mov edx, dword [edi + 0x14]
cmp eax, 9
jne 0x13ab299
mov cl, 2
jmp 0x13ab2ad
cmp dword [edi + 0x88], 2
jge 0x13ab2ab
cmp eax, 2
jl 0x13ab2ab
xor cl, cl
jmp 0x13ab2ad
mov cl, 4
mov eax, dword [ebx]
mov byte [edx + eax], cl
inc dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
mov al, byte [eax + 0xc]
mov byte [edx + ecx], al
mov eax, dword [edi + 0x1c]
inc dword [edi + 0x14]
mov edx, dword [edi + 0x14]
cmp dword [eax + 0x10], 0
je 0x13ab2f3
mov ecx, dword [ebx]
movzx eax, byte [eax + 0x14]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
movzx eax, byte [eax + 0x15]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x13ab313
mov eax, dword [ebx]
test eax, eax
je 0x13ab310
mov ecx, dword [esi + 0x30]
push edx
mov edx, eax
call fcn.013aa780
add esp, 4
mov dword [esi + 0x30], eax
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0x45
mov dword [ebp - 4], ebx
mov edx, dword [edi + 4]
cmp edx, 0x45
jne 0x13ab49a
mov edx, dword [edi + 0x1c]
lea ecx, [edi + 0x1c]
mov dword [ebp - 8], ecx
cmp dword [edx + 0x10], 0
je 0x13ab48c
movzx ecx, word [edx + 0x14]
sub ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x14]
mov edx, eax
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
add eax, dword [ebp - 0xc]
cmp eax, ecx
jbe 0x13ab430
mov eax, dword [edi + 0x1c]
sub ecx, edx
push ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x10]
add eax, dword [edi + 0x20]
push eax
mov eax, dword [ebx]
add eax, edx
push eax
call fcn.01405190
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x14], ecx
cmp dword [eax + 0x2c], 0
je 0x13ab3b4
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jbe 0x13ab3b4
mov edx, dword [ebx]
sub ecx, eax
add edx, eax
jne 0x13ab3a5
xor eax, eax
jmp 0x13ab3b1
push ecx
mov ecx, dword [esi + 0x30]
call fcn.013aa780
add esp, 4
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x1c]
add dword [edi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.013b1020
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x18], eax
cmp eax, edx
jbe 0x13ab3dc
mov eax, edx
mov dword [ebp - 0x18], edx
test eax, eax
je 0x13ab40c
push eax
push dword [ecx + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add dword [esi + 0xc], eax
add dword [ecx + 0x10], eax
add dword [esi + 0x14], eax
sub dword [esi + 0x10], eax
sub dword [ecx + 0x14], eax
jne 0x13ab40c
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 0x14]
test edx, edx
jne 0x13aba36
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0xc], eax
add eax, edx
mov dword [ebp - 0x14], edx
cmp eax, ecx
ja 0x13ab366
mov eax, dword [edi + 0x1c]
push dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
add eax, dword [edi + 0x20]
push eax
mov eax, dword [ebx]
add eax, edx
push eax
call fcn.01405190
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 0x1c]
add dword [edi + 0x14], eax
add esp, 0xc
mov eax, dword [ecx]
mov edx, dword [edi + 0x14]
cmp dword [eax + 0x2c], 0
je 0x13ab485
mov eax, dword [ebp - 0x14]
cmp edx, eax
jbe 0x13ab485
mov ebx, dword [ebx]
sub edx, eax
add ebx, eax
jne 0x13ab471
xor eax, eax
jmp 0x13ab482
mov ecx, dword [esi + 0x30]
push edx
mov edx, ebx
call fcn.013aa780
add esp, 4
lea ecx, [edi + 0x1c]
mov dword [esi + 0x30], eax
mov dword [edi + 0x20], 0
mov eax, ecx
mov dword [edi + 4], 0x49
mov dword [ebp - 0x14], eax
jmp 0x13ab4ae
lea eax, [edi + 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 8], ecx
cmp edx, 0x49
jne 0x13ab5c3
mov eax, dword [eax]
cmp dword [eax + 0x1c], 0
je 0x13ab5ac
mov edx, dword [edi + 0x14]
mov ebx, edx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
cmp ebx, dword [edi + 0xc]
jne 0x13ab549
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x13ab4f2
cmp ebx, edx
jbe 0x13ab4f2
mov eax, dword [ecx]
sub ebx, edx
add eax, edx
je 0x13ab4ef
mov ecx, dword [esi + 0x30]
mov edx, eax
push ebx
call fcn.013aa780
add esp, 4
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x1c]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.013b1020
mov ebx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp ebx, eax
jbe 0x13ab50b
mov ebx, eax
test ebx, ebx
je 0x13ab53b
mov eax, dword [ebp - 0x1c]
push ebx
push dword [eax + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add dword [esi + 0xc], ebx
add dword [ecx + 0x10], ebx
add dword [esi + 0x14], ebx
sub dword [esi + 0x10], ebx
sub dword [ecx + 0x14], ebx
jne 0x13ab53b
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov ebx, dword [edi + 0x14]
test ebx, ebx
jne 0x13aba36
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x20], eax
mov eax, dword [ecx]
mov byte [ebx + eax], dl
mov ebx, dword [edi + 0x14]
inc ebx
mov dword [edi + 0x14], ebx
test dl, dl
je 0x13ab578
mov edx, dword [ebp - 0xc]
jmp 0x13ab4c5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x13ab5a5
mov eax, dword [ebp - 0xc]
cmp ebx, eax
jbe 0x13ab5a5
mov edx, dword [ecx]
sub ebx, eax
add edx, eax
jne 0x13ab596
xor eax, eax
jmp 0x13ab5a2
mov ecx, dword [esi + 0x30]
push ebx
call fcn.013aa780
add esp, 4
mov dword [esi + 0x30], eax
mov dword [edi + 0x20], 0
mov ecx, dword [ebp - 8]
mov eax, edi
add eax, 0xc
mov dword [edi + 4], 0x5b
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
jmp 0x13ab5d5
lea eax, [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
cmp edx, 0x5b
jne 0x13ab6e1
mov eax, dword [ecx]
cmp dword [eax + 0x24], 0
je 0x13ab6d5
mov edx, dword [edi + 0x14]
mov ebx, edx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
lea esp, [esp]
mov eax, dword [ebp - 0x1c]
cmp ebx, dword [eax]
jne 0x13ab676
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x13ab61f
cmp ebx, edx
jbe 0x13ab61f
mov eax, dword [ecx]
sub ebx, edx
add eax, edx
je 0x13ab61c
mov ecx, dword [esi + 0x30]
mov edx, eax
push ebx
call fcn.013aa780
add esp, 4
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x1c]
mov ecx, ebx
mov dword [ebp - 0x18], ebx
call fcn.013b1020
mov ebx, dword [ebx + 0x14]
mov eax, dword [esi + 0x10]
cmp ebx, eax
jbe 0x13ab638
mov ebx, eax
test ebx, ebx
je 0x13ab668
mov eax, dword [ebp - 0x18]
push ebx
push dword [eax + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add dword [esi + 0xc], ebx
add dword [ecx + 0x10], ebx
add dword [esi + 0x14], ebx
sub dword [esi + 0x10], ebx
sub dword [ecx + 0x14], ebx
jne 0x13ab668
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov ebx, dword [edi + 0x14]
test ebx, ebx
jne 0x13aba36
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x20], eax
mov eax, dword [ecx]
mov byte [ebx + eax], dl
mov ebx, dword [edi + 0x14]
inc ebx
mov dword [edi + 0x14], ebx
test dl, dl
je 0x13ab6a5
mov edx, dword [ebp - 0x14]
jmp 0x13ab5f0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x13ab6d2
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jbe 0x13ab6d2
mov edx, dword [ecx]
sub ebx, eax
add edx, eax
jne 0x13ab6c3
xor eax, eax
jmp 0x13ab6cf
mov ecx, dword [esi + 0x30]
push ebx
call fcn.013aa780
add esp, 4
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov dword [edi + 4], 0x67
jmp 0x13ab6ea
cmp edx, 0x67
jne 0x13ab7e5
mov eax, dword [ecx]
cmp dword [eax + 0x2c], 0
je 0x13ab782
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0xc]
lea eax, [edx + 2]
cmp eax, dword [ecx]
jbe 0x13ab760
mov eax, dword [esi + 0x1c]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.013b1020
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
cmp eax, edx
jbe 0x13ab725
mov eax, edx
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x13ab755
push eax
push dword [ecx + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add dword [esi + 0xc], eax
add dword [ecx + 0x10], eax
add dword [esi + 0x14], eax
sub dword [esi + 0x10], eax
sub dword [ecx + 0x14], eax
jne 0x13ab755
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 0x14]
test edx, edx
jne 0x13aba36
mov ecx, dword [ebx]
movzx eax, byte [esi + 0x30]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
movzx eax, byte [esi + 0x31]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov dword [esi + 0x30], 0
mov dword [edi + 4], 0x71
mov eax, dword [esi + 0x1c]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.013b1020
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
cmp eax, edx
jbe 0x13ab7ab
mov eax, edx
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x13ab7db
push eax
push dword [ecx + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add dword [esi + 0xc], eax
add dword [ecx + 0x10], eax
add dword [esi + 0x14], eax
sub dword [esi + 0x10], eax
sub dword [ecx + 0x14], eax
jne 0x13ab7db
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
cmp dword [edi + 0x14], 0
jne 0x13aba36
cmp dword [esi + 4], 0
mov edx, dword [ebp - 0x10]
jne 0x13ab809
cmp dword [edi + 0x74], 0
jne 0x13ab809
test edx, edx
je 0x13aba3d
cmp dword [edi + 4], 0x29a
je 0x13ab8e5
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x13ab81c
push edx
push edi
call fcn.013abf30
jmp 0x13ab84c
mov ecx, dword [edi + 0x88]
cmp ecx, 2
jne 0x13ab830
mov ecx, edi
call fcn.013ad0d0
jmp 0x13ab84f
cmp ecx, 3
jne 0x13ab83e
mov ecx, edi
call fcn.013acd60
jmp 0x13ab84f
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0xdcb578]
push edx
push edi
call eax
add esp, 8
cmp eax, 2
je 0x13ab859
cmp eax, 3
jne 0x13ab860
mov dword [edi + 4], 0x29a
test eax, eax
je 0x13aba30
cmp eax, 2
je 0x13aba30
cmp eax, 1
jne 0x13ab8e2
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.013b0730
mov eax, dword [esi + 0x1c]
add esp, 8
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.013b1020
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
cmp eax, edx
jbe 0x13ab8a8
mov eax, edx
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x13ab8d8
push eax
push dword [ecx + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add dword [esi + 0xc], eax
add dword [ecx + 0x10], eax
add dword [esi + 0x14], eax
sub dword [esi + 0x10], eax
sub dword [ecx + 0x14], eax
jne 0x13ab8d8
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
cmp dword [esi + 0x10], 0
je 0x13aba36
mov edx, dword [ebp - 0x10]
cmp edx, 4
jne 0x13aba3d
mov eax, dword [edi + 0x18]
test eax, eax
jg 0x13ab8ff
pop ebx
pop edi
lea eax, [edx - 3]
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x13ab97f
mov edx, dword [edi + 0x14]
movzx eax, byte [esi + 0x30]
mov ecx, dword [ebx]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
inc edx
mov dword [edi + 0x14], edx
movzx eax, byte [esi + 0x31]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
inc edx
mov dword [edi + 0x14], edx
movzx eax, byte [esi + 0x32]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
inc edx
mov dword [edi + 0x14], edx
movzx eax, byte [esi + 0x33]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
inc edx
mov dword [edi + 0x14], edx
movzx eax, byte [esi + 8]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
movzx eax, byte [esi + 9]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
movzx eax, byte [esi + 0xa]
mov byte [edx + ecx], al
inc dword [edi + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx]
movzx eax, byte [esi + 0xb]
mov byte [edx + ecx], al
jmp 0x13ab9c9
movzx ebx, word [esi + 0x32]
mov ecx, dword [edi + 0x14]
mov edx, ebx
mov eax, dword [ebp - 4]
shr edx, 8
mov eax, dword [eax]
mov byte [ecx + eax], dl
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 4]
inc ecx
mov dword [edi + 0x14], ecx
mov eax, dword [eax]
mov byte [ecx + eax], bl
mov edx, dword [edi + 0x14]
mov eax, dword [ebp - 4]
inc edx
mov dword [edi + 0x14], edx
movzx ebx, word [esi + 0x30]
mov ecx, ebx
mov eax, dword [eax]
shr ecx, 8
mov byte [edx + eax], cl
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0x14]
inc ecx
mov dword [edi + 0x14], ecx
mov eax, dword [eax]
mov byte [ecx + eax], bl
inc dword [edi + 0x14]
mov ebx, dword [esi + 0x1c]
mov ecx, ebx
call fcn.013b1020
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jbe 0x13ab9e8
mov eax, ecx
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x13aba15
push eax
push dword [ebx + 0x10]
push dword [esi + 0xc]
call fcn.01405190
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add dword [esi + 0xc], eax
add dword [ebx + 0x10], eax
add dword [esi + 0x14], eax
sub dword [esi + 0x10], eax
sub dword [ebx + 0x14], eax
jne 0x13aba15
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x13aba21
neg eax
mov dword [edi + 0x18], eax
xor eax, eax
cmp dword [edi + 0x14], eax
pop ebx
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], 0
jne 0x13aba3d
mov dword [edi + 0x28], 0xffffffff
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x18], 0xdd2804
pop edi
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret