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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x38
test eax, eax
push ebx
je 0x4dafc7
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x4dafc7
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4dafc7
cmp dword [eax], 0
jne 0x4d9a56
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4dafc7
cmp dword [ebx], 0xb
jne 0x4d9a61
mov dword [ebx], 0xc
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
push ebp
mov ebp, dword [ebx + 0x3c]
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
cmp ecx, 0x1c
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
jbe switch.0x004d9ab1
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x20]
jmp dword [ecx*4 + 0x4dafd4]
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x4d9aca
mov dword [ebx], 0xc
jmp 0x4dae4e
cmp ebp, 0x10
jae 0x4d9af7
nop
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4d9ad0
test byte [ebx + 8], 2
je 0x4d9b42
cmp eax, 0x8b1f
jne 0x4d9b42
xor ebp, ebp
push ebp
push ebp
push ebp
call fcn.004d7880
mov dword [ebx + 0x18], eax
push 2
lea eax, [esp + 0x34]
mov byte [esp + 0x34], 0x1f
mov byte [esp + 0x35], 0x8b
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call fcn.004d7880
mov dword [ebx + 0x18], eax
add esp, 0x18
mov dword [esp + 0x10], ebp
mov dword [ebx], 1
mov eax, ebp
jmp 0x4dae4e
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [ebx + 0x10], 0
je 0x4d9b57
mov dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x4d9c0d
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0xff
shl eax, 8
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x4d9c0d
mov ecx, dword [esp + 0x10]
mov edx, ecx
and dl, 0xf
cmp dl, 8
je 0x4d9ba5
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, ecx
jmp 0x4dae48
mov eax, dword [ebx + 0x24]
shr ecx, 4
mov dword [esp + 0x10], ecx
and ecx, 0xf
add ecx, 8
sub ebp, 4
cmp ecx, eax
jbe 0x4d9bd0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x4dae48
xor ebp, ebp
mov edx, 1
shl edx, cl
push ebp
push ebp
push ebp
mov dword [ebx + 0x14], edx
call fcn.004d72a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
shr edx, 8
not edx
and edx, 2
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov dword [esp + 0x10], ebp
mov eax, ebp
jmp 0x4dae4e
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [esp + 0x10]
jmp 0x4dae48
cmp ebp, 0x10
jae 0x4d9c4d
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4d9c26
cmp al, 8
mov dword [ebx + 0x10], eax
je 0x4d9c64
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x4dae48
test ah, 0xe0
je 0x4d9c79
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x4dae48
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4d9c88
shr eax, 8
and eax, 1
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
test ah, 2
je 0x4d9cb5
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
shr eax, 8
mov byte [esp + 0x25], al
mov ecx, dword [ebx + 0x18]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004d7880
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
xor ebp, ebp
mov dword [ebx], 2
jmp 0x4d9cc6
cmp ebp, 0x20
jae 0x4d9ce5
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
add eax, edx
inc esi
cmp ebp, 0x20
mov dword [esp + 0x10], eax
jb 0x4d9cc6
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4d9cef
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x10]
test ah, 2
je 0x4d9d2e
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
shr ecx, 8
mov byte [esp + 0x27], al
shr edx, 0x10
push 4
lea eax, [esp + 0x28]
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], dl
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call fcn.004d7880
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
xor ebp, ebp
mov dword [ebx], 3
jmp 0x4d9d40
cmp ebp, 0x10
jae 0x4d9d67
nop
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4d9d40
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4d9d82
mov edx, eax
and edx, 0xff
mov dword [ecx + 8], edx
mov ecx, dword [ebx + 0x20]
shr eax, 8
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
test ah, 2
je 0x4d9daf
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
shr eax, 8
push 2
lea edx, [esp + 0x28]
mov byte [esp + 0x29], al
mov eax, dword [ebx + 0x18]
push edx
push eax
call fcn.004d7880
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [ebx], 4
mov ecx, dword [ebx + 0x10]
test ch, 4
je 0x4d9e3b
cmp ebp, 0x10
jae 0x4d9df7
lea ebx, [ebx]
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4d9dd0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov dword [ebx + 0x40], eax
je 0x4d9e04
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x10]
test ah, 2
je 0x4d9e31
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
shr eax, 8
mov byte [esp + 0x25], al
mov ecx, dword [ebx + 0x18]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004d7880
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor ebp, ebp
jmp 0x4d9e49
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4d9e49
mov dword [ecx + 0x10], 0
mov dword [ebx], 5
mov ecx, dword [ebx + 0x10]
test ch, 4
je 0x4d9f07
mov ecx, dword [ebx + 0x40]
cmp ecx, edi
mov dword [esp + 0x1c], ecx
jbe 0x4d9e6c
mov ecx, edi
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4d9efc
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x4d9ec3
mov edx, dword [edx + 0x10]
test edx, edx
mov dword [esp + 0x38], edx
je 0x4d9ec3
mov edx, dword [ebx + 0x20]
mov edi, dword [edx + 0x14]
mov esi, dword [ebx + 0x40]
mov edx, dword [edx + 0x18]
sub edi, esi
lea esi, [ecx + edi]
cmp esi, edx
jbe 0x4d9e9f
sub edx, edi
mov ecx, edx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [ebx + 0x10]
test dh, 2
je 0x4d9ee8
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x18]
push eax
push esi
push ecx
call fcn.004d7880
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [ebx + 0x40]
sub edi, ecx
add esi, ecx
sub edx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [ebx + 0x40], edx
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x4daeac
mov dword [ebx + 0x40], 0
mov dword [ebx], 6
mov ecx, dword [ebx + 0x10]
test ch, 8
je 0x4d9fc0
test edi, edi
je 0x4daeac
xor ecx, ecx
lea ebx, [ebx]
movzx edx, byte [ecx + esi]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov dword [esp + 0x2c], edx
je 0x4d9f71
mov edx, dword [ecx + 0x1c]
test edx, edx
mov dword [esp + 0x38], edx
je 0x4d9f71
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x4d9f71
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x2c]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4d9f81
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jb 0x4d9f30
mov ecx, dword [ebx + 0x10]
test ch, 2
je 0x4d9fa2
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
push edx
push esi
push eax
call fcn.004d7880
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
sub edi, ecx
add esi, ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jne 0x4daeac
jmp 0x4d9fce
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4d9fce
mov dword [ecx + 0x1c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx], 7
mov ecx, dword [ebx + 0x10]
test ch, 0x10
je 0x4da081
test edi, edi
je 0x4daeac
xor ecx, ecx
movzx edx, byte [ecx + esi]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov dword [esp + 0x2c], edx
je 0x4da032
mov edx, dword [ecx + 0x24]
test edx, edx
mov dword [esp + 0x38], edx
je 0x4da032
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x4da032
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x2c]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4da042
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jb 0x4d9ff1
mov ecx, dword [ebx + 0x10]
test ch, 2
je 0x4da063
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
push edx
push esi
push eax
call fcn.004d7880
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
sub edi, ecx
add esi, ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jne 0x4daeac
jmp 0x4da08f
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4da08f
mov dword [ecx + 0x24], 0
mov dword [ebx], 8
mov ecx, dword [ebx + 0x10]
test ch, 2
je 0x4da0ec
cmp ebp, 0x10
jae 0x4da0c9
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4da0a2
mov ecx, dword [ebx + 0x18]
and ecx, 0xffff
cmp eax, ecx
je 0x4da0e6
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4dae48
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4da109
mov ecx, dword [ebx + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x30], 1
push 0
push 0
push 0
call fcn.004d7880
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [ebx], 0xb
jmp 0x4dae4e
cmp ebp, 0x20
jae 0x4da15c
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4da135
mov ecx, eax
mov edx, eax
and ecx, 0xff00
shl edx, 0x10
add ecx, edx
xor edx, edx
mov dh, byte [esp + 0x12]
shl ecx, 8
shr eax, 0x18
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [ebx], 0xa
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4dae66
push 0
push 0
push 0
call fcn.004d72a0
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x18], eax
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [ebx], 0xb
cmp dword [esp + 0x50], 5
je 0x4daeac
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4da1ea
mov ecx, ebp
and ecx, 7
shr eax, cl
sub ebp, ecx
mov dword [ebx], 0x18
mov dword [esp + 0x10], eax
jmp 0x4dae4e
cmp ebp, 3
jae 0x4da213
nop
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 3
mov dword [esp + 0x18], esi
jb 0x4da1f0
mov ecx, eax
and ecx, 1
shr eax, 1
mov dword [ebx + 4], ecx
mov ecx, eax
and ecx, 3
dec ebp
cmp ecx, 3
ja case.default.0x4da228
jmp dword [ecx*4 + 0x4db048]
shr eax, 2
mov dword [ebx], 0xd
mov dword [esp + 0x10], eax
sub ebp, 2
jmp 0x4dae4e
shr eax, 2
mov dword [ebx + 0x4c], 0x5e0df8
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x5e0d78
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
mov dword [esp + 0x10], eax
sub ebp, 2
jmp 0x4dae4e
shr eax, 2
mov dword [ebx], 0xf
mov dword [esp + 0x10], eax
sub ebp, 2
jmp 0x4dae4e
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
shr eax, 2
mov dword [esp + 0x10], eax
sub ebp, 2
jmp 0x4dae4e
mov ecx, ebp
and ecx, 7
shr eax, cl
sub ebp, ecx
cmp ebp, 0x20
mov dword [esp + 0x10], eax
jae 0x4da2e7
lea esp, [esp]
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4da2c0
mov edx, eax
mov ecx, eax
not edx
and ecx, 0xffff
shr edx, 0x10
cmp ecx, edx
je 0x4da30a
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
jmp 0x4dae48
xor eax, eax
mov dword [ebx + 0x40], ecx
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [ebx], 0xe
mov ecx, dword [ebx + 0x40]
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x4da9cc
cmp ecx, edi
jbe 0x4da334
mov ecx, edi
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
cmp ecx, edx
jbe 0x4da342
mov ecx, edx
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4daeac
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
sub esi, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x28]
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x40]
sub edi, ecx
add esi, ecx
sub edx, ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x18]
mov dword [ebx + 0x40], edx
jmp 0x4dae4e
cmp ebp, 0xe
jae 0x4da3c9
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0xe
mov dword [esp + 0x18], esi
jb 0x4da3a6
mov ecx, eax
and ecx, 0x1f
add ecx, 0x101
shr eax, 5
mov edx, eax
mov dword [ebx + 0x60], ecx
shr eax, 5
mov ecx, eax
and ecx, 0xf
add ecx, 4
and edx, 0x1f
mov dword [ebx + 0x5c], ecx
mov ecx, dword [ebx + 0x60]
inc edx
shr eax, 4
sub ebp, 0xe
cmp ecx, 0x11e
mov dword [ebx + 0x64], edx
mov dword [esp + 0x10], eax
ja 0x4da507
mov ecx, edx
cmp ecx, 0x1e
ja 0x4da507
mov dword [ebx + 0x68], 0
mov dword [ebx], 0x10
mov ecx, dword [ebx + 0x68]
cmp ecx, dword [ebx + 0x5c]
jae 0x4da485
lea ebx, [ebx]
cmp ebp, 3
jae 0x4da458
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 3
mov dword [esp + 0x18], esi
jb 0x4da435
mov edx, dword [ebx + 0x68]
movzx edx, word [edx*2 + 0x5e1628]
xor ecx, ecx
mov cl, al
shr eax, 3
sub ebp, 3
mov dword [esp + 0x10], eax
and ecx, 7
mov word [ebx + edx*2 + 0x70], cx
mov ecx, dword [ebx + 0x68]
inc ecx
mov dword [ebx + 0x68], ecx
cmp ecx, dword [ebx + 0x5c]
jb 0x4da430
mov ecx, dword [ebx + 0x68]
mov eax, 0x13
cmp ecx, eax
jae 0x4da4bb
xor ecx, ecx
jmp 0x4da4a0
mov edx, dword [ebx + 0x68]
movzx edx, word [edx*2 + 0x5e1628]
mov word [ebx + edx*2 + 0x70], cx
mov edx, dword [ebx + 0x68]
inc edx
cmp edx, eax
mov dword [ebx + 0x68], edx
jb 0x4da4a0
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ecx], eax
mov dword [ebx + 0x4c], eax
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x54]
push eax
push ecx
mov dword [eax], 7
push 0x13
lea eax, [ebx + 0x70]
push eax
push 0
call fcn.004db0b0
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4da517
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x4dae48
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4dae48
mov dword [ebx + 0x68], 0
mov dword [ebx], 0x11
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
add edx, ecx
cmp dword [ebx + 0x68], edx
jae 0x4da747
mov ecx, dword [ebx + 0x54]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x4c]
dec edx
and edx, eax
mov ecx, dword [ecx + edx*4]
movzx edx, ch
cmp edx, ebp
mov dword [esp + 0x40], ecx
jbe 0x4da58f
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [ebx + 0x54]
dec edi
add ebp, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x4c]
inc esi
mov dword [esp + 0x14], edi
dec edx
and edx, eax
mov ecx, dword [ecx + edx*4]
movzx edx, ch
cmp edx, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ecx
ja 0x4da553
mov edx, dword [esp + 0x40]
shr edx, 0x10
cmp dx, 0x10
jae 0x4da5ee
movzx ecx, ch
cmp ebp, ecx
mov dword [esp + 0x1c], ecx
jae 0x4da5cd
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edi
add ebp, 8
add eax, edx
inc esi
cmp ebp, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x4da5a7
mov dx, word [esp + 0x42]
shr eax, cl
sub ebp, ecx
mov ecx, dword [ebx + 0x68]
mov word [ebx + ecx*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
inc ecx
mov dword [esp + 0x10], eax
mov dword [ebx + 0x68], ecx
jmp 0x4da736
jne 0x4da658
movzx ecx, ch
lea edx, [ecx + 2]
cmp ebp, edx
mov dword [esp + 0x1c], ecx
jae 0x4da629
mov edi, edi
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edi
add ebp, 8
add eax, edx
inc esi
lea edx, [ecx + 2]
cmp ebp, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x4da600
shr eax, cl
sub ebp, ecx
mov ecx, dword [ebx + 0x68]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4da79e
movzx ecx, word [ebx + ecx*2 + 0x6e]
mov dword [esp + 0x2c], ecx
mov ecx, eax
and ecx, 3
add ecx, 3
shr eax, 2
sub ebp, 2
jmp 0x4da6ff
cmp dx, 0x11
movzx edx, ch
mov dword [esp + 0x1c], edx
jne 0x4da6af
lea ecx, [edx + 3]
cmp ebp, ecx
jae 0x4da699
lea esp, [esp]
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
lea ecx, [edx + 3]
cmp ebp, ecx
mov dword [esp + 0x18], esi
jb 0x4da670
mov ecx, edx
shr eax, cl
mov edi, 0xfffffffd
mov ecx, eax
and ecx, 7
add ecx, 3
shr eax, 3
jmp 0x4da6f3
lea ecx, [edx + 7]
cmp ebp, ecx
jae 0x4da6df
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
lea ecx, [edx + 7]
cmp ebp, ecx
mov dword [esp + 0x18], esi
jb 0x4da6b6
mov ecx, edx
shr eax, cl
mov edi, 0xfffffff9
mov ecx, eax
and ecx, 0x7f
add ecx, 0xb
shr eax, 7
sub edi, edx
mov dword [esp + 0x2c], 0
add ebp, edi
mov edi, dword [ebx + 0x64]
mov edx, dword [ebx + 0x68]
add edi, dword [ebx + 0x60]
add edx, ecx
cmp edx, edi
mov dword [esp + 0x10], eax
ja 0x4da7ae
test ecx, ecx
je 0x4da732
mov edx, dword [esp + 0x2c]
mov edi, edi
mov edi, dword [ebx + 0x68]
mov word [ebx + edi*2 + 0x70], dx
mov edi, dword [ebx + 0x68]
inc edi
dec ecx
mov dword [ebx + 0x68], edi
jne 0x4da720
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
add ecx, edx
cmp dword [ebx + 0x68], ecx
jb 0x4da535
cmp dword [ebx], 0x1b
je 0x4dae4e
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ecx], eax
mov dword [ebx + 0x4c], eax
lea edx, [ebx + 0x2f0]
push edx
mov edx, dword [ebx + 0x60]
lea eax, [ebx + 0x54]
push eax
push ecx
mov dword [eax], 9
push edx
lea eax, [ebx + 0x70]
push eax
push 1
call fcn.004db0b0
add esp, 0x18
test eax, eax
mov dword [esp + 0x34], eax
je 0x4da7c2
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x4dae48
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4dae48
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x4dae48
mov edx, dword [ebx + 0x6c]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x50], edx
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x58]
push eax
push ecx
mov ecx, dword [ebx + 0x60]
mov dword [eax], 6
mov eax, dword [ebx + 0x64]
push eax
lea edx, [ebx + ecx*2 + 0x70]
push edx
push 2
call fcn.004db0b0
add esp, 0x18
test eax, eax
mov dword [esp + 0x34], eax
je 0x4da80f
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distances_set
mov eax, dword [esp + 0x10]
jmp 0x4dae48
mov eax, dword [esp + 0x10]
mov dword [ebx], 0x12
cmp edi, 6
jb 0x4da885
cmp dword [esp + 0x20], 0x102
jb 0x4da885
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [eax], esi
mov dword [eax + 4], edi
push eax
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ebp
call fcn.004d93c0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x3c]
add esp, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jmp 0x4dae4e
mov ecx, dword [ebx + 0x54]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x4c]
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebp
mov dword [esp + 0x40], edx
jbe 0x4da8df
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [ebx + 0x54]
dec edi
add ebp, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x4c]
inc esi
mov dword [esp + 0x14], edi
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], edx
ja 0x4da8a3
test dl, dl
je 0x4da9a0
test dl, 0xf0
jne 0x4da9a0
movzx ecx, dh
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, dl
mov dword [esp + 0x2c], edx
add ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edx
and edx, eax
shr edx, cl
mov ecx, dword [esp + 0x40]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
mov dword [esp + 0x40], edx
movzx ecx, cl
movzx edx, dh
add edx, ecx
cmp edx, ebp
mov dword [esp + 0x1c], ecx
jbe 0x4da998
lea ecx, [ecx]
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
xor ecx, ecx
mov cl, byte [esp + 0x2c]
dec edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
add ebp, 8
mov dword [esp + 0x14], edi
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
dec edx
and edx, eax
shr edx, cl
movzx ecx, word [esp + 0x2e]
add edx, ecx
mov ecx, dword [ebx + 0x4c]
mov ecx, dword [ecx + edx*4]
movzx edx, ch
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebp
ja 0x4da940
mov edx, dword [esp + 0x40]
shr eax, cl
sub ebp, ecx
movzx ecx, dh
shr eax, cl
movzx ecx, dh
sub ebp, ecx
mov ecx, dword [esp + 0x40]
shr ecx, 0x10
test dl, dl
mov dword [esp + 0x10], eax
mov dword [ebx + 0x40], ecx
jne 0x4da9c7
mov dword [ebx], 0x17
jmp 0x4dae4e
test dl, 0x20
je 0x4da9d7
mov dword [ebx], 0xb
jmp 0x4dae4e
test dl, 0x40
je 0x4da9ec
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4dae48
and edx, 0xf
mov dword [ebx + 0x48], edx
mov dword [ebx], 0x13
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x4daa44
cmp ebp, ecx
jae 0x4daa28
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [ebx + 0x48]
dec edi
add ebp, 8
add eax, edx
inc esi
cmp ebp, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x4daa03
mov ecx, dword [ebx + 0x48]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x40]
dec edx
and edx, eax
add ecx, edx
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebx + 0x48]
shr eax, cl
sub ebp, ecx
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x50]
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebp
mov dword [esp + 0x40], edx
jbe 0x4daaa4
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [ebx + 0x58]
dec edi
add ebp, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x50]
inc esi
mov dword [esp + 0x14], edi
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], edx
ja 0x4daa68
test dl, 0xf0
jne 0x4dab60
movzx ecx, dh
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, dl
mov dword [esp + 0x2c], edx
add ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edx
and edx, eax
shr edx, cl
mov ecx, dword [esp + 0x40]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [ebx + 0x50]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
mov dword [esp + 0x40], edx
movzx ecx, cl
movzx edx, dh
add edx, ecx
cmp edx, ebp
mov dword [esp + 0x1c], ecx
jbe 0x4dab58
lea ebx, [ebx]
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
xor ecx, ecx
mov cl, byte [esp + 0x2c]
dec edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
add ebp, 8
mov dword [esp + 0x14], edi
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
dec edx
and edx, eax
shr edx, cl
movzx ecx, word [esp + 0x2e]
add edx, ecx
mov ecx, dword [ebx + 0x50]
mov ecx, dword [ecx + edx*4]
movzx edx, ch
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebp
ja 0x4dab00
mov edx, dword [esp + 0x40]
shr eax, cl
sub ebp, ecx
movzx ecx, dh
shr eax, cl
movzx ecx, dh
sub ebp, ecx
test dl, 0x40
mov dword [esp + 0x10], eax
je 0x4dab83
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_distance_code
jmp 0x4dae48
mov ecx, dword [esp + 0x40]
shr ecx, 0x10
and edx, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
mov dword [ebx], 0x15
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x4dabe9
cmp ebp, ecx
jae 0x4dabc9
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
mov ecx, dword [ebx + 0x48]
dec edi
add ebp, 8
add eax, edx
inc esi
cmp ebp, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x4daba4
mov ecx, dword [ebx + 0x48]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x44]
dec edx
and edx, eax
add ecx, edx
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebx + 0x48]
shr eax, cl
sub ebp, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x44]
cmp ecx, dword [ebx + 0x14]
jbe 0x4dac01
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x4dae48
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x2c]
sub edx, ecx
add edx, dword [esp + 0x30]
cmp dword [ebx + 0x44], edx
jbe 0x4dac23
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x4dae48
mov dword [ebx], 0x16
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4daeac
mov edx, dword [esp + 0x30]
sub edx, ecx
mov ecx, dword [ebx + 0x44]
cmp ecx, edx
jbe 0x4dac7e
sub ecx, edx
mov edx, dword [ebx + 0x30]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jbe 0x4dac5f
sub ecx, edx
mov edx, dword [ebx + 0x34]
add edx, dword [ebx + 0x28]
mov dword [esp + 0x1c], ecx
sub edx, ecx
jmp 0x4dac6b
mov edx, dword [ebx + 0x34]
sub edx, ecx
add edx, dword [ebx + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x40]
cmp ecx, edx
mov dword [esp + 0x38], edx
jbe 0x4dac93
mov ecx, edx
jmp 0x4dac8f
mov edx, dword [esp + 0x28]
sub edx, ecx
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
cmp ecx, edx
jbe 0x4daca1
mov ecx, edx
mov dword [esp + 0x1c], ecx
sub edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
sub edx, ecx
mov dword [ebx + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dl, byte [edx]
mov ecx, dword [esp + 0x28]
mov byte [ecx], dl
mov edx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
inc edx
dec ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
jne 0x4dacb0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x4dae4e
mov dword [ebx], 0x12
jmp 0x4dae4e
test edx, edx
je 0x4daeac
mov ecx, dword [esp + 0x28]
mov dl, byte [ebx + 0x40]
mov byte [ecx], dl
inc ecx
mov dword [esp + 0x28], ecx
dec dword [esp + 0x20]
mov dword [ebx], 0x12
jmp 0x4dae4e
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4dadf0
cmp ebp, 0x20
jae 0x4dad47
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4dad20
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
add dword [edx + 0x14], ecx
mov edx, dword [ebx + 0x1c]
add edx, ecx
test ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [ebx + 0x1c], edx
je 0x4dad9e
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x18]
mov ecx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x30]
push eax
je 0x4dad84
sub ecx, eax
push ecx
push edx
call fcn.004d7880
jmp 0x4dad8d
sub ecx, eax
push ecx
push edx
call fcn.004d72a0
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x30], edx
mov ecx, eax
jne 0x4dadd6
and ecx, 0xff00
mov edx, eax
shl edx, 0x10
add ecx, edx
xor edx, edx
mov dh, byte [esp + 0x12]
shl ecx, 8
mov dword [esp + 0x38], ecx
add ecx, edx
mov edx, eax
shr edx, 0x18
add ecx, edx
mov dword [esp + 0x38], ecx
cmp ecx, dword [ebx + 0x18]
je 0x4dade8
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.incorrect_data_check
jmp 0x4dae48
xor eax, eax
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [ebx], 0x19
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4dae94
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4dae94
cmp ebp, 0x20
jae 0x4dae38
test edi, edi
je 0x4daeac
movzx edx, byte [esi]
mov ecx, ebp
shl edx, cl
dec edi
add ebp, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebp, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4dae11
cmp eax, dword [ebx + 0x1c]
je 0x4dae90
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1b
mov ecx, dword [ebx]
cmp ecx, 0x1c
jbe 0x4d9aad
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x38
ret
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], edi
pop edi
mov dword [ecx], esi
mov dword [ecx + 0x10], edx
pop esi
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x38], eax
pop ebp
mov eax, 2
pop ebx
add esp, 0x38
ret
xor eax, eax
xor ebp, ebp
mov dword [ebx], 0x1a
mov dword [esp + 0x34], 1
jmp 0x4daeac
mov dword [esp + 0x34], 0xfffffffd
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x10], edx
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x28]
test eax, eax
mov dword [ebx + 0x3c], ebp
jne 0x4daede
cmp dword [ebx], 0x18
jge 0x4daf06
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx + 0x10]
je 0x4daf06
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
push edx
call fcn.004d9900
add esp, 4
test eax, eax
je 0x4daf06
mov dword [ebx], 0x1c
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x38
ret
mov esi, dword [esp + 0x4c]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 8]
sub ebp, edx
mov edx, dword [esi + 0x14]
sub edi, ecx
add eax, ebp
add edx, edi
mov dword [esi + 8], eax
mov dword [esi + 0x14], edx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 8]
add ecx, edi
test eax, eax
mov dword [ebx + 0x1c], ecx
je 0x4daf70
test edi, edi
je 0x4daf70
mov eax, dword [ebx + 0x10]
test eax, eax
push edi
je 0x4daf58
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
sub eax, edi
push eax
push ecx
call fcn.004d7880
jmp 0x4daf67
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x18]
sub edx, edi
push edx
push eax
call fcn.004d72a0
mov dword [ebx + 0x18], eax
add esp, 0xc
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
cmp eax, 0xb
setne dl
dec edx
and edx, 0x80
add ecx, edx
add ecx, dword [ebx + 0x3c]
test ebp, ebp
mov dword [esi + 0x2c], ecx
jne 0x4daf9b
test edi, edi
je 0x4dafa2
cmp dword [esp + 0x50], 4
jne 0x4dafbb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4d9aa5
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, 0xfffffffe
pop ebx
add esp, 0x38
ret