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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
test edi, edi
je case.default.0x489cb8
mov ebp, dword [edi + 0x1c]
test ebp, ebp
je case.default.0x489cb8
xor esi, esi
cmp dword [edi + 0xc], esi
je case.default.0x489cb8
cmp dword [edi], esi
jne 0x489c6d
cmp dword [edi + 4], esi
jne case.default.0x489cb8
cmp dword [ebp], 0xb
jne 0x489c7a
mov dword [ebp], 0xc
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jmp 0x48a307
jmp dword [eax*4 + 0x48b19f]
cmp dword [ebp + 8], 0
jne 0x489cd1
mov dword [ebp], 0xc
jmp 0x48a307
push 0x10
pop eax
cmp ebx, eax
jae 0x489d0f
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x48b09e
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x489cdc
test byte [ebp + 8], 2
je 0x489d61
cmp edx, 0x8b1f
jne 0x489d61
push esi
push esi
push esi
call fcn.004897d0
mov dword [ebp + 0x18], eax
push 0x1f
pop eax
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 2
push eax
mov byte [esp + 0x39], 0x8b
push dword [ebp + 0x18]
call fcn.004897d0
mov edx, esi
mov dword [ebp + 0x18], eax
mov ebx, esi
mov dword [esp + 0x30], edx
add esp, 0x18
mov dword [esp + 0x1c], ebx
mov dword [ebp], 1
jmp 0x48a303
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x10], esi
test eax, eax
je 0x489d6f
or dword [eax + 0x30], 0xffffffff
test byte [ebp + 8], 1
je 0x489e1d
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [esp + 0x18]
jne 0x489e1d
mov eax, edx
and al, 0xf
cmp al, 8
je 0x489db4
mov dword [edi + 0x18], str.unknown_compression_method
mov dword [ebp], 0x1d
jmp 0x48a303
shr edx, 4
sub ebx, 4
mov ecx, edx
mov dword [esp + 0x18], edx
and ecx, 0xf
mov dword [esp + 0x1c], ebx
add ecx, 8
cmp dword [ebp + 0x24], 0
jne 0x489e0f
mov dword [ebp + 0x24], ecx
xor eax, eax
push esi
inc eax
shl eax, cl
push esi
push esi
mov dword [ebp + 0x14], eax
call fcn.0048b488
mov edx, dword [esp + 0x24]
add esp, 0xc
shr edx, 8
mov ebx, esi
not edx
mov dword [ebp + 0x18], eax
and edx, 2
mov dword [edi + 0x30], eax
or edx, 9
mov dword [ebp], edx
mov edx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
jmp 0x48a303
cmp ecx, dword [ebp + 0x24]
jbe 0x489dd3
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x489da8
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x489da8
push 0x10
pop eax
cmp ebx, eax
jae 0x489e64
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x48b09e
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x489e31
mov dword [ebp + 0x10], edx
cmp dl, 8
je 0x489e7f
mov dword [edi + 0x18], str.unknown_compression_method
mov dword [ebp], 0x1d
jmp 0x48a307
test edx, 0xe000
je 0x489e90
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x489e73
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x489ea1
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebp + 0x10], 0x200
je 0x489eca
mov byte [esp + 0x24], dl
lea eax, [esp + 0x24]
push 2
shr edx, 8
push eax
mov byte [esp + 0x2d], dl
push dword [ebp + 0x18]
call fcn.004897d0
add esp, 0xc
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [esp + 0x18], edx
mov ebx, esi
mov dword [ebp], 2
cmp ebx, 0x20
jae 0x489f15
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x48b09e
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp ebx, 0x20
jb 0x489ee6
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x489f1f
mov dword [eax + 4], edx
test dword [ebp + 0x10], 0x200
je 0x489f5a
mov eax, edx
mov byte [esp + 0x24], dl
shr eax, 8
mov byte [esp + 0x25], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x26], al
lea eax, [esp + 0x24]
push 4
shr edx, 0x18
push eax
mov byte [esp + 0x2f], dl
push dword [ebp + 0x18]
call fcn.004897d0
add esp, 0xc
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [esp + 0x18], edx
mov ebx, esi
mov dword [ebp], 3
push 0x10
pop eax
cmp ebx, eax
jae 0x489fa7
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x48b09e
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp ebx, 0x10
jb 0x489f78
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x489fbf
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebp + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebp + 0x10], 0x200
je 0x489fe8
mov byte [esp + 0x24], dl
lea eax, [esp + 0x24]
push 2
shr edx, 8
push eax
mov byte [esp + 0x2d], dl
push dword [ebp + 0x18]
call fcn.004897d0
add esp, 0xc
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, esi
mov ebx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 4
test dword [ebp + 0x10], 0x400
je 0x48a084
push 0x10
pop eax
cmp ebx, eax
jae 0x48a042
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x48b09e
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp ebx, 0x10
jb 0x48a013
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x40], edx
test eax, eax
je 0x48a04f
mov dword [eax + 0x14], edx
test dword [ebp + 0x10], 0x200
je 0x48a078
mov byte [esp + 0x24], dl
lea eax, [esp + 0x24]
push 2
shr edx, 8
push eax
mov byte [esp + 0x2d], dl
push dword [ebp + 0x18]
call fcn.004897d0
add esp, 0xc
mov dword [ebp + 0x18], eax
mov ebx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
jmp 0x48a08e
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48a08e
mov dword [eax + 0x10], esi
mov ecx, dword [esp + 0x10]
mov dword [ebp], 5
test dword [ebp + 0x10], 0x400
je 0x48a126
mov esi, dword [ebp + 0x40]
cmp esi, ecx
cmova esi, ecx
test esi, esi
je 0x48a11b
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x48a0ee
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x38], eax
test eax, eax
je 0x48a0ee
mov edx, dword [ecx + 0x14]
sub edx, dword [ebp + 0x40]
mov ecx, dword [ecx + 0x18]
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x48a0d8
sub ecx, edx
jmp 0x48a0da
mov ecx, esi
mov eax, dword [esp + 0x38]
push ecx
push dword [esp + 0x18]
add eax, edx
push eax
call fcn.00490990
add esp, 0xc
test dword [ebp + 0x10], 0x200
je 0x48a10a
push esi
push dword [esp + 0x18]
push dword [ebp + 0x18]
call fcn.004897d0
add esp, 0xc
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], esi
sub ecx, esi
sub dword [ebp + 0x40], esi
mov dword [esp + 0x10], ecx
xor esi, esi
cmp dword [ebp + 0x40], esi
jne 0x48b09e
mov dword [ebp + 0x40], esi
mov dword [ebp], 6
test dword [ebp + 0x10], 0x800
je 0x48a1b7
test ecx, ecx
je 0x48b09e
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movzx eax, byte [esi + edx]
inc esi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48a176
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x48a172
mov ecx, dword [ebp + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x48a172
mov eax, dword [esp + 0x38]
mov byte [edx + ecx], al
inc dword [ebp + 0x40]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x48a182
cmp esi, edi
jb 0x48a149
test dword [ebp + 0x10], 0x200
mov edi, dword [esp + 0x44]
je 0x48a1a3
push esi
push edx
push dword [ebp + 0x18]
call fcn.004897d0
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword [ebp + 0x18], eax
sub dword [esp + 0x10], esi
add dword [esp + 0x14], esi
test ecx, ecx
jne 0x48b09e
xor esi, esi
jmp 0x48a1c1
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48a1c1
mov dword [eax + 0x1c], esi
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x40], esi
mov dword [ebp], 7
test dword [ebp + 0x10], 0x1000
je 0x48a256
test ecx, ecx
je 0x48b09e
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movzx eax, byte [esi + edx]
inc esi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48a215
mov edx, dword [eax + 0x24]
test edx, edx
je 0x48a211
mov ecx, dword [ebp + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x48a211
mov eax, dword [esp + 0x38]
mov byte [edx + ecx], al
inc dword [ebp + 0x40]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x48a221
cmp esi, edi
jb 0x48a1e8
test dword [ebp + 0x10], 0x200
mov edi, dword [esp + 0x44]
je 0x48a242
push esi
push edx
push dword [ebp + 0x18]
call fcn.004897d0
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword [ebp + 0x18], eax
sub dword [esp + 0x10], esi
add dword [esp + 0x14], esi
test ecx, ecx
jne 0x48b09e
xor esi, esi
jmp 0x48a260
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48a260
mov dword [eax + 0x24], esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ebp], 8
test dword [ebp + 0x10], 0x200
je 0x48a2cc
jmp 0x48a2a7
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
push 0x10
pop eax
cmp ebx, eax
jb 0x48a27a
movzx eax, word [ebp + 0x18]
cmp edx, eax
je 0x48a2c2
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x489da8
mov ebx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x48a2e7
mov eax, dword [ebp + 0x10]
xor edx, edx
sar eax, 9
inc edx
and eax, edx
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x30], edx
push esi
push esi
push esi
call fcn.004897d0
mov dword [ebp + 0x18], eax
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [ebp], 0xb
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
cmp eax, 0x1e
jbe switch.0x00489cb8
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
cmp ebx, 0x20
jb 0x48a31e
mov ecx, edx
mov ebx, 0xff00
and ecx, ebx
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, ebx
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x10]
add eax, edx
mov dword [ebp + 0x18], eax
mov edx, esi
mov dword [edi + 0x30], eax
mov ebx, esi
mov dword [esp + 0x18], edx
mov dword [ebp], 0xa
cmp dword [ebp + 0xc], esi
je 0x48b061
push esi
push esi
push esi
call fcn.0048b488
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebp], 0xb
cmp dword [esp + 0x48], 5
je 0x48b09e
cmp dword [esp + 0x48], 6
je 0x48b09e
cmp dword [ebp + 4], esi
je 0x48a410
mov ecx, ebx
mov dword [ebp], 0x1a
and ecx, 7
shr edx, cl
sub ebx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
jmp 0x48a303
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
cmp ebx, 3
jb 0x48a3e7
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebp + 4], eax
mov eax, edx
and eax, 3
sub eax, esi
je 0x48a482
dec eax
je 0x48a449
dec eax
je 0x48a441
dec eax
jne 0x48a489
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebp], 0x1d
jmp 0x48a489
push 0x10
pop eax
mov dword [ebp], eax
jmp 0x48a489
cmp dword [esp + 0x48], 6
mov dword [ebp + 0x4c], 0x4c4ea8
mov dword [ebp + 0x54], 9
mov dword [ebp + 0x50], 0x4c56a8
mov dword [ebp + 0x58], 5
mov dword [ebp], 0x13
jne 0x48a489
shr edx, 2
sub ebx, 3
mov dword [esp + 0x18], edx
jmp 0x48b09e
mov dword [ebp], 0xd
shr edx, 2
sub ebx, 3
jmp 0x489e02
mov ecx, ebx
and ecx, 7
sub ebx, ecx
shr edx, cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jae 0x48a4e3
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x48b09e
movzx eax, byte [ecx]
dec esi
mov ecx, ebx
mov dword [esp + 0x10], esi
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x14]
add edx, eax
inc ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x48a4b2
xor esi, esi
mov eax, edx
mov ecx, edx
not eax
and ecx, 0xffff
shr eax, 0x10
cmp ecx, eax
je 0x48a502
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x489da8
cmp dword [esp + 0x48], 6
mov edx, esi
mov ebx, esi
mov dword [ebp + 0x40], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0xe
je 0x48b09e
mov ecx, dword [esp + 0x10]
mov dword [ebp], 0xf
mov esi, dword [ebp + 0x40]
test esi, esi
je 0x48a580
cmp esi, ecx
cmova esi, ecx
cmp esi, dword [esp + 0x20]
cmova esi, dword [esp + 0x20]
test esi, esi
je 0x48b09e
push esi
push dword [esp + 0x18]
push dword [esp + 0x30]
call fcn.00490990
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add dword [esp + 0x14], esi
sub ecx, esi
sub dword [esp + 0x20], esi
add dword [esp + 0x28], esi
sub dword [ebp + 0x40], esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
xor esi, esi
jmp 0x48a307
mov dword [ebp], 0xb
jmp 0x48a579
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
cmp ebx, 0xe
jb 0x48a589
mov eax, edx
sub ebx, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x18], edx
cmp dword [ebp + 0x60], 0x11e
mov dword [ebp + 0x5c], eax
ja 0x48a606
cmp dword [ebp + 0x64], 0x1e
ja 0x48a606
push 0x11
pop eax
mov dword [ebp + 0x68], esi
mov dword [ebp], eax
jmp case.0x489cb8.17
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x489e73
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
cmp ebx, 3
jb 0x48a612
mov eax, dword [ebp + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [esp + 0x18], edx
movzx eax, word [eax*2 + 0x4c5728]
mov word [ebp + eax*2 + 0x70], cx
inc dword [ebp + 0x68]
sub ebx, 3
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x5c]
jb 0x48a63b
jmp 0x48a689
mov eax, dword [ebp + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c5728]
mov word [ebp + eax*2 + 0x70], cx
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], 0x13
jb 0x48a674
lea eax, [ebp + 0x530]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebp + 0x54]
lea eax, [ebp + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea eax, [ebp + 0x70]
push eax
push esi
call fcn.0048cedb
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x48a6d9
mov dword [edi + 0x18], str.invalid_code_lengths_set
mov dword [ebp], 0x1d
jmp 0x48a2ff
mov dword [ebp + 0x68], esi
mov dword [ebp], 0x12
mov eax, dword [ebp + 0x64]
mov esi, dword [ebp + 0x68]
add eax, dword [ebp + 0x60]
mov dword [esp + 0x34], esi
cmp esi, eax
jae 0x48a958
mov ecx, dword [ebp + 0x54]
xor edx, edx
mov eax, dword [ebp + 0x4c]
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, ebx
jbe 0x48a766
mov esi, dword [esp + 0x10]
test esi, esi
je 0x48b09e
mov edx, dword [esp + 0x14]
mov ecx, ebx
dec esi
add ebx, 8
mov dword [esp + 0x10], esi
movzx eax, byte [edx]
shl eax, cl
add dword [esp + 0x18], eax
inc edx
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x14], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, ebx
ja 0x48a71f
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edx
cmp cx, dx
jae 0x48a7cb
mov ecx, eax
shr ecx, 8
movzx esi, cl
jmp 0x48a7a4
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x48b09e
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx]
mov ecx, ebx
shl edx, cl
add dword [esp + 0x18], edx
inc dword [esp + 0x14]
add ebx, 8
cmp ebx, esi
jb 0x48a77d
movzx ecx, ah
shr dword [esp + 0x18], cl
sub ebx, ecx
mov ecx, dword [esp + 0x34]
mov ax, word [esp + 0x3a]
mov dword [esp + 0x1c], ebx
mov word [ebp + ecx*2 + 0x70], ax
inc dword [ebp + 0x68]
jmp 0x48a91e
cmp word [esp + 0x3a], dx
mov edx, dword [esp + 0x18]
jne 0x48a841
movzx esi, ah
lea eax, [esi + 2]
cmp ebx, eax
jae 0x48a80b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48b09e
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x14]
mov dword [esp + 0x18], edx
add ebx, 8
jmp 0x48a7d9
mov ecx, esi
sub ebx, esi
shr edx, cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x48a935
movzx eax, word [ebp + ecx*2 + 0x6e]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [esp + 0x38], eax
sub ebx, 2
jmp 0x48a8f4
push 0x11
pop ecx
cmp word [esp + 0x3a], cx
movzx ecx, ah
jne 0x48a89b
lea esi, [ecx + 3]
mov dword [esp + 0x38], ecx
cmp ebx, esi
jae 0x48a88a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48b09e
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x14]
mov dword [esp + 0x18], edx
cmp ebx, esi
jb 0x48a859
mov ecx, dword [esp + 0x38]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x48a8e6
lea esi, [ecx + 7]
mov dword [esp + 0x38], ecx
cmp ebx, esi
jae 0x48a8d7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48b09e
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x14]
mov dword [esp + 0x18], edx
cmp ebx, esi
jb 0x48a8a6
mov ecx, dword [esp + 0x38]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [esp + 0x3c], 0
pop eax
sub eax, ecx
mov ecx, dword [esp + 0x34]
add ebx, eax
mov eax, dword [ebp + 0x64]
add ecx, esi
add eax, dword [ebp + 0x60]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp ecx, eax
ja 0x48a94a
test esi, esi
je 0x48a91e
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x68]
mov word [ebp + eax*2 + 0x70], cx
inc dword [ebp + 0x68]
dec esi
jne 0x48a910
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
add eax, dword [ebp + 0x60]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jb 0x48a6f8
jmp 0x48a958
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebp], 0x1d
xor esi, esi
jmp 0x48a303
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebp], 0x1d
xor esi, esi
cmp dword [ebp], 0x1d
je 0x48a2ff
cmp word [ebp + 0x270], si
jne 0x48a979
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x48a6cd
lea eax, [ebp + 0x530]
lea esi, [ebp + 0x6c]
mov dword [ebp + 0x4c], eax
mov dword [esi], eax
lea ecx, [ebp + 0x54]
lea eax, [ebp + 0x2f0]
mov dword [ecx], 9
push eax
push ecx
push esi
push dword [ebp + 0x60]
lea eax, [ebp + 0x70]
push eax
push 1
call fcn.0048cedb
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x48a9c2
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [esp + 0x18]
jmp 0x48a93c
mov eax, dword [esi]
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x2f0]
push eax
mov eax, dword [ebp + 0x60]
push ecx
push esi
push dword [ebp + 0x64]
lea eax, [eax*2 + 0x70]
mov dword [ecx], 6
add eax, ebp
push eax
push 2
call fcn.0048cedb
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x48aa04
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x48a9b9
cmp dword [esp + 0x48], 6
mov dword [ebp], 0x13
je 0x48b09e
mov edx, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [esp + 0x10]
mov dword [ebp], 0x14
cmp ecx, 6
jb 0x48aa9f
mov eax, dword [esp + 0x20]
cmp eax, 0x102
jb 0x48aa9f
mov ecx, dword [esp + 0x28]
push dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
push edi
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], ebx
call fcn.0048d368
cmp dword [ebp], 0xb
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
pop ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10]
pop ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
jne 0x48a307
or dword [ebp + 0x1bc4], 0xffffffff
jmp 0x48a307
mov ecx, dword [ebp + 0x54]
xor eax, eax
inc eax
mov dword [ebp + 0x1bc4], esi
mov esi, dword [ebp + 0x4c]
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x48ab12
mov esi, dword [esp + 0x10]
test esi, esi
je 0x48b09e
mov eax, dword [esp + 0x14]
mov ecx, ebx
dec esi
add ebx, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp + 0x54]
add edx, eax
inc dword [esp + 0x14]
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x18], edx
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x18]
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x48aac6
test al, al
je 0x48abd1
test al, 0xf0
jne 0x48abd1
mov ebx, eax
movzx ecx, al
shr ebx, 8
xor edi, edi
movzx esi, bl
inc edi
add ecx, esi
mov edx, eax
shl edi, cl
mov ecx, esi
dec edi
shr eax, 0x10
and edi, dword [esp + 0x18]
shr edi, cl
mov ecx, dword [ebp + 0x4c]
add edi, eax
mov dword [esp + 0x38], edx
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add esi, ecx
cmp esi, ebx
jbe 0x48abbc
mov esi, dword [esp + 0x10]
test esi, esi
je 0x48b09e
dec esi
movzx edi, dh
mov dword [esp + 0x10], esi
mov ecx, ebx
mov esi, dword [esp + 0x14]
add ebx, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x18], eax
inc esi
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x14], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x18]
shr esi, cl
add esi, eax
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebx
ja 0x48ab63
mov edi, dword [esp + 0x44]
movzx ecx, dh
mov edx, dword [esp + 0x18]
shr edx, cl
sub ebx, ecx
mov dword [ebp + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc4], ecx
sub ebx, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x40], ecx
test al, al
jne 0x48ac03
mov dword [ebp], 0x19
jmp 0x48a943
test al, 0x20
je 0x48ac1a
or dword [ebp + 0x1bc4], 0xffffffff
mov dword [ebp], 0xb
jmp 0x48a943
mov ecx, dword [esp + 0x10]
test al, 0x40
je 0x48ac35
mov dword [edi + 0x18], str.invalid_literal_length_code
mov dword [ebp], 0x1d
jmp 0x48a579
movzx eax, al
and eax, 0xf
mov dword [ebp], 0x15
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x48]
test esi, esi
je 0x48ac9d
cmp ebx, esi
jae 0x48ac7e
mov edi, dword [esp + 0x14]
test ecx, ecx
je 0x48b09e
movzx eax, byte [edi]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
inc edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
cmp ebx, esi
jb 0x48ac54
xor eax, eax
mov ecx, esi
inc eax
sub ebx, esi
shl eax, cl
dec eax
mov dword [esp + 0x1c], ebx
and eax, edx
shr edx, cl
add dword [ebp + 0x40], eax
add dword [ebp + 0x1bc4], esi
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x1bc8], eax
mov dword [ebp], 0x16
mov ecx, dword [ebp + 0x58]
xor eax, eax
mov esi, dword [ebp + 0x50]
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x48ad1b
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test esi, esi
je 0x48b09e
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
dec esi
mov ecx, dword [ebp + 0x58]
add edx, eax
mov eax, dword [ebp + 0x50]
inc edi
mov dword [esp + 0x18], edx
add ebx, 8
xor edx, edx
mov dword [esp + 0x10], esi
inc edx
mov dword [esp + 0x14], edi
shl edx, cl
dec edx
mov dword [esp + 0x1c], ebx
and edx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x18]
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x48acd2
test al, 0xf0
jne 0x48adce
mov ebx, eax
movzx ecx, al
shr ebx, 8
xor edi, edi
movzx esi, bl
inc edi
add ecx, esi
mov edx, eax
shl edi, cl
mov ecx, esi
dec edi
shr eax, 0x10
and edi, dword [esp + 0x18]
shr edi, cl
mov ecx, dword [ebp + 0x50]
add edi, eax
mov dword [esp + 0x38], edx
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add esi, ecx
cmp esi, ebx
jbe 0x48adbd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x48b09e
dec esi
movzx edi, dh
mov dword [esp + 0x10], esi
mov ecx, ebx
mov esi, dword [esp + 0x14]
add ebx, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x18], eax
inc esi
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x14], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x18]
shr esi, cl
add esi, eax
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebx
ja 0x48ad64
movzx ecx, dh
mov edx, dword [esp + 0x18]
sub ebx, ecx
shr edx, cl
add dword [ebp + 0x1bc4], ecx
mov edi, dword [esp + 0x44]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc4], ecx
sub ebx, ecx
shr edx, cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
test al, 0x40
je 0x48adfc
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x48a93c
mov ecx, eax
mov dword [ebp], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebp + 0x44], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x48]
test esi, esi
je 0x48ae6d
jmp 0x48ae4a
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
cmp ebx, esi
jb 0x48ae21
xor eax, eax
mov ecx, esi
inc eax
sub ebx, esi
shl eax, cl
dec eax
mov dword [esp + 0x1c], ebx
and eax, edx
shr edx, cl
add dword [ebp + 0x44], eax
add dword [ebp + 0x1bc4], esi
mov dword [esp + 0x18], edx
mov dword [ebp], 0x18
xor esi, esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [ebp + 0x44]
cmp ecx, eax
jbe 0x48aeca
sub ecx, eax
cmp ecx, dword [ebp + 0x2c]
jbe 0x48aeaa
cmp dword [ebp + 0x1bc0], esi
je 0x48aeaa
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x489da8
mov esi, dword [ebp + 0x34]
cmp ecx, dword [ebp + 0x30]
jbe 0x48aebc
sub ecx, dword [ebp + 0x30]
add esi, dword [ebp + 0x28]
sub esi, ecx
jmp 0x48aec1
sub esi, ecx
add esi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x40]
cmp ecx, eax
jbe 0x48aed5
jmp 0x48aed3
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x40]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
cmova ecx, dword [esp + 0x20]
sub dword [esp + 0x20], ecx
sub eax, ecx
mov dword [ebp + 0x40], eax
sub esi, edi
mov al, byte [esi + edi]
mov byte [edi], al
inc edi
dec ecx
jne 0x48aeed
xor esi, esi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x44]
cmp dword [ebp + 0x40], esi
jne 0x48a303
mov dword [ebp], 0x14
jmp 0x48a303
cmp dword [esp + 0x20], 0
je 0x48b09e
mov edi, dword [esp + 0x28]
mov al, byte [ebp + 0x40]
inc dword [esp + 0x28]
dec dword [esp + 0x20]
mov byte [edi], al
mov edi, dword [esp + 0x44]
mov dword [ebp], 0x14
jmp 0x48a307
cmp dword [ebp + 8], esi
je 0x48b00f
jmp 0x48af79
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x48af4c
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
sub ecx, eax
add dword [edi + 0x14], ecx
add dword [ebp + 0x1c], ecx
test ecx, ecx
je 0x48afbf
mov eax, dword [esp + 0x28]
push ecx
sub eax, ecx
push eax
push dword [ebp + 0x18]
cmp dword [ebp + 0x10], esi
je 0x48afa9
call fcn.004897d0
jmp 0x48afae
call fcn.0048b488
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [ebp + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebp + 0x10], esi
cmovne ecx, edx
cmp ecx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
je 0x48b003
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x489e73
mov edx, esi
mov ebx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0x1b
cmp dword [ebp + 8], esi
je 0x48b08b
cmp dword [ebp + 0x10], esi
je 0x48b08b
jmp 0x48b04b
test ecx, ecx
je 0x48b09e
mov eax, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x10]
add edx, eax
inc dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x48b022
cmp edx, dword [ebp + 0x1c]
je 0x48b085
mov dword [edi + 0x18], str.incorrect_length_check
jmp 0x489da8
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], ebx
push 2
jmp 0x48a315
mov dword [esp + 0x18], esi
mov ebx, esi
mov dword [ebp], 0x1c
xor eax, eax
inc eax
jmp 0x48b09a
push 0xfffffffffffffffd
pop eax
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x44]
xor edx, edx
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [ebp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x28], edx
jne 0x48b0dd
cmp dword [ebp], 0x1a
jge 0x48b0fa
cmp ebx, dword [esi + 0x10]
je 0x48b0fa
push ebx
push esi
call fcn.0048b3bf
pop ecx
pop ecx
test eax, eax
je 0x48b0f8
mov dword [ebp], 0x1e
push 0xfffffffffffffffc
jmp 0x48a315
xor edx, edx
mov edi, dword [esp + 0x3c]
sub edi, dword [esi + 4]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], edi
add dword [esi + 0x14], ebx
add dword [ebp + 0x1c], ebx
cmp dword [ebp + 8], edx
je 0x48b13c
test ebx, ebx
je 0x48b13c
mov eax, dword [esi + 0xc]
push ebx
sub eax, ebx
push eax
push dword [ebp + 0x18]
cmp dword [ebp + 0x10], edx
je 0x48b12c
call fcn.004897d0
jmp 0x48b131
call fcn.0048b488
add esp, 0xc
mov dword [ebp + 0x18], eax
mov dword [esi + 0x30], eax
xor edx, edx
cmp dword [ebp], 0x13
je 0x48b148
cmp dword [ebp], 0xe
jne 0x48b14d
mov edx, 0x100
mov ecx, dword [ebp + 4]
neg ecx
mov dword [esp + 0x44], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebp], 0xb
cmove eax, dword [esp + 0x44]
add ecx, edx
add eax, ecx
add eax, dword [ebp + 0x3c]
mov dword [esi + 0x2c], eax
test edi, edi
jne 0x48b17c
test ebx, ebx
je 0x48b183
cmp dword [esp + 0x48], 4
jne 0x48b194
mov eax, dword [esp + 0x30]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x48a316
mov eax, dword [esp + 0x30]
jmp 0x48a316