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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
push edi
test esi, esi
je case.default.0x438650
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x30], ebx
test ebx, ebx
je case.default.0x438650
xor eax, eax
cmp dword [esi + 0xc], eax
je case.default.0x438650
cmp dword [esi], eax
jne 0x4385f8
cmp dword [esi + 4], eax
jne case.default.0x438650
cmp dword [ebx], 0xb
jne 0x438603
mov dword [ebx], 0xc
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x3c], ecx
cmp eax, 0x1e
ja case.default.0x438650
mov dl, byte [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x40], 0x10
jmp dword [eax*4 + 0x439a20]
cmp dword [ebx + 8], 0
jne 0x438668
mov dword [ebx], 0xc
jmp 0x4398d6
push 0x10
pop eax
cmp edi, eax
jae 0x4386a1
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0xc], edx
cmp edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
jb 0x438672
test byte [ebx + 8], 2
je 0x4386e4
cmp edx, 0x8b1f
jne 0x4386e4
push 0x1f
pop eax
xor edi, edi
mov dword [ebp - 0x24], eax
push 2
lea edx, [ebp - 0x14]
mov dword [ebx + 0x18], edi
xor ecx, ecx
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0x8b
call fcn.00437fe0
mov edx, edi
mov dword [ebx + 0x18], eax
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 1
jmp 0x4398d3
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4386f3
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x438788
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 [ebp - 0xc]
jne 0x438788
mov eax, edx
and al, 0xf
cmp al, 8
je 0x43872c
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x4398cd
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x10], edi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x438777
mov dword [ebx + 0x24], ecx
xor edi, edi
shr edx, 8
inc edi
not edx
mov eax, edi
mov dword [ebx + 0x18], edi
and edx, 2
shl eax, cl
or edx, 9
mov dword [ebx + 0x14], eax
mov dword [esi + 0x30], edi
xor eax, eax
mov dword [ebx], edx
mov edi, eax
mov edx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x4398d3
cmp ecx, dword [ebx + 0x24]
jbe 0x438749
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x4398cd
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x4398cd
push 0x10
pop eax
cmp edi, eax
jae 0x4387cd
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0xc], edx
cmp edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
jb 0x43879e
mov dword [ebx + 0x10], edx
cmp dl, 8
je 0x4387e7
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1d
jmp 0x4398d6
test edx, 0xe000
je 0x4387f8
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x4387dc
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x438809
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
mov ecx, dword [ebp - 0x24]
test dword [ebx + 0x10], 0x200
movzx eax, dl
movzx ecx, cl
cmovne ecx, eax
shr edx, 8
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x14], cl
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x13], dl
lea edx, [ebp - 0x14]
push 2
call fcn.00437fe0
mov dword [ebx + 0x18], eax
xor eax, eax
pop ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0xc], edx
mov edi, eax
mov dword [ebx], 2
cmp edi, 0x20
jae 0x43887d
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x438853
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x438887
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x24]
test dword [ebx + 0x10], 0x200
movzx ecx, al
movzx eax, dl
cmovne ecx, eax
mov al, cl
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x14], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0x13], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x11], dl
lea edx, [ebp - 0x14]
push 4
mov byte [ebp - 0x12], al
call fcn.00437fe0
mov dword [ebx + 0x18], eax
xor eax, eax
pop ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0xc], edx
mov edi, eax
mov dword [ebx], 3
push 0x10
pop eax
cmp edi, eax
jae 0x438911
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0xc], edx
cmp edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
jb 0x4388e5
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x438929
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebx + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x24]
test dword [ebx + 0x10], 0x200
movzx ecx, al
movzx eax, dl
cmovne ecx, eax
shr edx, 8
mov al, cl
mov byte [ebp - 0x13], dl
mov ecx, dword [ebx + 0x18]
lea edx, [ebp - 0x14]
push 2
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x14], al
call fcn.00437fe0
mov dword [ebx + 0x18], eax
xor eax, eax
pop ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 4
test dword [ebx + 0x10], 0x400
je 0x4389fe
push 0x10
pop eax
cmp edi, eax
jae 0x4389b3
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0xc], edx
cmp edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
jb 0x438987
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x4389c0
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x24]
test dword [ebx + 0x10], 0x200
movzx ecx, al
movzx eax, dl
cmovne ecx, eax
shr edx, 8
mov al, cl
mov byte [ebp - 0x13], dl
mov ecx, dword [ebx + 0x18]
lea edx, [ebp - 0x14]
push 2
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x14], al
call fcn.00437fe0
mov dword [ebx + 0x18], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0xc], eax
pop ecx
mov dword [ebp - 0x10], edi
jmp 0x438a09
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x438a09
and dword [eax + 0x10], 0
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x438aa5
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
cmp ecx, edx
cmova ecx, edx
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x438a98
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x438a6d
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x438a6d
mov eax, dword [edx + 0x14]
sub eax, dword [ebx + 0x40]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x38], eax
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x38]
jbe 0x438a58
sub edx, eax
jmp 0x438a5a
mov edx, ecx
add eax, dword [ebp - 0x44]
push edx
push dword [ebp - 8]
push eax
call fcn.0043e9c0
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x438a8c
mov eax, dword [ebp - 8]
test eax, eax
je 0x438a89
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.00437fe0
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
sub dword [ebx + 0x40], eax
xor edx, edx
cmp dword [ebx + 0x40], edx
jne 0x439924
jmp 0x438aa7
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x40], edx
mov dword [ebx], 6
jmp 0x438ab7
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x438b51
test ecx, ecx
je 0x439924
mov esi, dword [ebp - 4]
mov eax, edx
mov edi, dword [ebp - 8]
movzx ecx, byte [eax + edi]
inc eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x438b04
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x438b04
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x438b04
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x34]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x438b0f
cmp eax, esi
jb 0x438ad4
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
je 0x438b3c
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x438b39
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00437fe0
mov edx, dword [ebp - 0x34]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 8], eax
sub ecx, eax
mov dword [ebp - 4], ecx
test edx, edx
jne 0x439924
jmp 0x438b5b
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x438b5b
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [ebx], 7
mov dword [ebx + 0x40], edx
jmp 0x438b6a
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x438c04
test ecx, ecx
je 0x439924
mov esi, dword [ebp - 4]
mov eax, edx
mov edi, dword [ebp - 8]
movzx ecx, byte [eax + edi]
inc eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x438bb7
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x438bb7
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x438bb7
mov ecx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x34]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x438bc2
cmp eax, esi
jb 0x438b87
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
je 0x438bef
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x438bec
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00437fe0
mov edx, dword [ebp - 0x34]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 8], eax
sub ecx, eax
mov dword [ebp - 4], ecx
test edx, edx
jne 0x439924
jmp 0x438c0e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x438c0e
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0xc]
mov dword [ebx], 8
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x438c7d
push 0x10
pop eax
cmp edi, eax
jae 0x438c5a
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
push 0x10
pop ecx
inc eax
mov dword [ebp - 0xc], edx
cmp edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
jb 0x438c2b
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x438c6e
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x4398cd
xor eax, eax
mov edx, eax
mov edi, eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x438c97
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x4398d3
cmp edi, 0x20
jae 0x438cdc
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x438cb2
mov ecx, edx
mov edi, 0xff00
and ecx, edi
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
add eax, ecx
shr edx, 0x18
mov ecx, dword [ebp - 4]
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov dword [ebp - 0xc], edx
mov edi, eax
jmp 0x438d19
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x4398eb
mov dword [ebx + 0x18], 1
mov dword [esi + 0x30], 1
mov dword [ebx], 0xb
jmp 0x438d3a
xor eax, eax
cmp dword [ebx + 4], eax
je 0x438d59
mov ecx, edi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jmp 0x4398d3
cmp edi, 3
jae 0x438d8b
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x438d61
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x438de8
sub eax, 1
je 0x438dc4
sub eax, 1
je 0x438dbd
sub eax, 1
jne 0x438dee
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x438dee
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x438dee
mov dword [ebx + 0x4c], 0x485380
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x485b80
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jmp 0x438dee
mov dword [ebx], 0xd
shr edx, 2
add edi, 0xfffffffd
jmp 0x43876c
mov ecx, edi
and ecx, 7
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jae 0x438e3d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x438e10
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x438e57
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x4398cd
xor eax, eax
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 4]
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0xe
mov dword [ebx], 0xf
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x438ec1
cmp eax, ecx
cmova eax, ecx
cmp eax, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x439924
push eax
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.0043e9c0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 4]
add dword [ebp - 8], eax
sub ecx, eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x1c], eax
sub dword [ebx + 0x40], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jmp 0x4398d6
mov dword [ebx], 0xb
jmp 0x4398d6
cmp edi, 0xe
jae 0x438efe
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0x438ed4
mov eax, edx
sub edi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0xc], edx
cmp dword [ebx + 0x60], 0x11e
mov dword [ebx + 0x5c], eax
ja 0x438f4b
cmp dword [ebx + 0x64], 0x1e
ja 0x438f4b
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
jmp case.0x438650.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4387dc
cmp edi, 3
jae 0x438f89
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x438f5f
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x483354]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub edi, 3
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x438f57
jmp 0x438fcf
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x483354]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x438fba
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.00439afa
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43901a
mov dword [esi + 0x18], str.invalid_code_lengths_set
jmp 0x4398cd
and dword [ebx + 0x68], 0
mov dword [ebx], 0x12
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x43921d
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x44], eax
jmp 0x439068
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0x44]
add edi, 8
mov dword [ebp - 0xc], edx
mov ecx, dword [ebx + 0x4c]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x38], eax
cmp ecx, edi
ja 0x439041
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x44], ecx
cmp cx, word [ebp - 0x40]
jae 0x4390b0
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x68]
sub edi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xc], edx
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
mov dword [ebp - 0x10], edi
jmp 0x4391f1
jne 0x439124
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [ebp - 0x44], ecx
cmp edi, ecx
jae 0x4390ee
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
dec ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp edi, dword [ebp - 0x44]
jb 0x4390c4
mov edx, dword [ebp - 0xc]
movzx ecx, ah
mov eax, dword [ebx + 0x68]
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test eax, eax
je 0x439204
movzx eax, word [ebx + eax*2 + 0x6e]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
sub edi, 2
jmp 0x4391c2
push 0x11
pop ecx
cmp word [ebp - 0x36], cx
movzx ecx, ah
jne 0x439174
mov dword [ebp - 0x44], ecx
jmp 0x43915c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x44]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edx
lea eax, [ecx + 3]
cmp edi, eax
jb 0x439135
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x4391b6
mov dword [ebp - 0x44], ecx
jmp 0x4391a0
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x44]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edx
lea eax, [ecx + 7]
cmp edi, eax
jb 0x439179
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
pop eax
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
add ecx, dword [ebp - 0x34]
add eax, dword [ebx + 0x60]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
cmp ecx, eax
ja 0x439210
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], si
inc dword [ebx + 0x68]
sub ecx, 1
jne 0x4391de
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x68]
cmp ecx, eax
jb 0x439033
jmp 0x43921d
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x4398cd
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1d
cmp dword [ebx], 0x1d
je 0x4398d3
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x43923d
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4398cd
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x54]
push eax
push ecx
push dword [ebx + 0x60]
xor ecx, ecx
mov dword [eax], 9
lea edx, [ebx + 0x70]
inc ecx
call fcn.00439afa
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x439284
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x4398cd
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
push edx
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.00439afa
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4392ce
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x4387dc
mov dword [ebx], 0x13
mov dword [ebx], 0x14
cmp ecx, 6
jb 0x439345
mov eax, dword [ebp - 0x18]
cmp eax, 0x102
jb 0x439345
mov ebx, dword [ebp - 0x1c]
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp - 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [esi], eax
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x3c], edi
call fcn.00439ee5
cmp dword [ebx], 0xb
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
jne 0x4398d6
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x4398d6
mov ecx, dword [ebx + 0x54]
xor eax, eax
and dword [ebx + 0x1bc4], 0
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x4c]
dec eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], ecx
jmp 0x43938d
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x4c]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x439360
test al, al
je 0x43945e
test al, 0xf0
jne 0x43945e
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x38], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x439448
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
test esi, esi
je 0x439921
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx ecx, dl
movzx eax, word [ebp - 0x36]
inc esi
mov dword [ebp - 8], esi
add ecx, edi
xor esi, esi
mov dword [ebp - 0xc], ebx
inc esi
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x4393ef
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x43948d
mov dword [ebx], 0x19
jmp 0x4398d3
test al, 0x20
je 0x43949d
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x438c9f
mov ecx, dword [ebp - 4]
test al, 0x40
je 0x4394b0
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x4387dc
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x439513
cmp edi, esi
jae 0x4394f6
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x4394cd
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x10], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea esi, [eax + 1]
shl esi, cl
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x34], ecx
jmp 0x43955e
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x50]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x439534
test al, 0xf0
jne 0x439627
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x38], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x10]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x439614
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
test esi, esi
je 0x439921
dec esi
mov ecx, edi
mov dword [ebp - 4], esi
add edi, 8
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
movzx edi, dh
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx ecx, dl
movzx eax, word [ebp - 0x36]
inc esi
mov dword [ebp - 8], esi
add ecx, edi
xor esi, esi
mov dword [ebp - 0xc], ebx
inc esi
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x10]
cmp ecx, edi
ja 0x4395bb
mov ebx, dword [ebp - 0x30]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov esi, dword [ebp - 0x20]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
test al, 0x40
je 0x439652
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x4398cd
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x4396be
cmp edi, ecx
jae 0x4396a3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x439927
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebx + 0x48]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x439677
xor eax, eax
sub edi, ecx
inc eax
mov dword [ebp - 0x10], edi
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebx], 0x18
cmp dword [ebp - 0x18], 0
je 0x439924
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x439720
sub eax, ecx
cmp eax, dword [ebx + 0x2c]
jbe 0x4396f7
cmp dword [ebx + 0x1bc0], 0
je 0x4396f7
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x4398cd
mov ecx, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x30]
jbe 0x439709
sub eax, dword [ebx + 0x30]
add ecx, dword [ebx + 0x28]
sub ecx, eax
jmp 0x43970e
sub ecx, eax
add ecx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x40]
cmp eax, esi
mov dword [ebp - 0x38], esi
cmovbe esi, eax
mov dword [ebp - 0x34], esi
mov eax, esi
jmp 0x43972b
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x18]
cmp eax, edx
mov esi, dword [ebp - 0x1c]
cmova eax, edx
sub edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x38]
sub edx, eax
sub ecx, esi
mov dword [ebx + 0x40], edx
mov edx, eax
mov al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub edx, 1
jne 0x43974a
cmp dword [ebx + 0x40], 0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x20]
jne 0x4398d6
mov dword [ebx], 0x14
jmp 0x4398d6
cmp dword [ebp - 0x18], 0
je 0x439924
mov esi, dword [ebp - 0x1c]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x18]
mov byte [esi], al
mov esi, dword [ebp - 0x20]
mov dword [ebx], 0x14
jmp 0x4398d6
cmp dword [ebx + 8], 0
je 0x439870
cmp edi, 0x20
jae 0x4397db
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x4397ae
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
sub ecx, eax
add dword [esi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x439822
cmp dword [ebx + 0x10], 0
je 0x439807
mov eax, dword [ebp - 0x1c]
sub eax, ecx
je 0x439819
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, eax
call fcn.00437fe0
jmp 0x439815
mov edx, dword [ebp - 0x1c]
push ecx
sub edx, ecx
mov ecx, dword [ebx + 0x18]
call fcn.0043a2ce
mov edx, dword [ebp - 0xc]
pop ecx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], 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
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
mov ecx, dword [ebp - 4]
je 0x439866
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x4387dc
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x43990e
cmp dword [ebx + 0x10], eax
je 0x43990e
cmp edi, 0x20
jae 0x4398c1
mov eax, dword [ebp - 8]
test ecx, ecx
je 0x439924
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp edi, 0x20
jb 0x439892
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x439909
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
cmp eax, 0x1e
jbe switch.0x00438650
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
push 2
jmp 0x4398e3
mov dword [ebp - 0xc], eax
mov edi, eax
mov dword [ebx], 0x1c
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x439924
push 0xfffffffffffffffd
pop eax
jmp 0x439917
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x10], edx
mov dword [ebx + 0x3c], edi
xor edi, edi
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x28], edi
jne 0x43995b
cmp eax, dword [esi + 0x10]
je 0x439978
cmp dword [ebx], 0x1d
jge 0x439978
mov edx, eax
mov ecx, esi
call fcn.004384e5
test eax, eax
je 0x439975
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x4398e3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
sub edx, dword [esi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], eax
cmp dword [ebx + 8], edi
je 0x4399c9
test eax, eax
je 0x4399c9
mov edx, dword [esi + 0xc]
cmp dword [ebx + 0x10], edi
je 0x4399b4
sub edx, eax
jne 0x4399a9
mov eax, edi
jmp 0x4399c0
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00437fe0
jmp 0x4399bf
mov ecx, dword [ebx + 0x18]
sub edx, eax
push eax
call fcn.0043a2ce
pop ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
cmp dword [ebx], 0x13
je 0x4399d3
cmp dword [ebx], 0xe
jne 0x4399d8
mov edi, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp - 0x44], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp - 0x44]
add ecx, edi
add eax, ecx
add eax, dword [ebx + 0x3c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x2c]
test edx, edx
jne 0x4398e4
cmp dword [ebp - 0x28], edx
jne 0x4398e4
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0x4398e4