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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
push esi
test eax, eax
je 0x1000b43f
cmp dword [eax + 0x20], 0
je 0x1000b43f
cmp dword [eax + 0x24], 0
je 0x1000b43f
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x1000b43f
cmp dword [esi], eax
jne 0x1000b43f
mov ecx, dword [esi + 4]
cmp ecx, 0x3f34
jl 0x1000b43f
cmp ecx, 0x3f53
jg 0x1000b43f
cmp dword [eax + 0xc], 0
je 0x1000b43f
cmp dword [eax], 0
jne 0x10009f9d
cmp dword [eax + 4], 0
jne 0x1000b43f
cmp dword [esi + 4], 0x3f3f
jne 0x10009fad
mov dword [esi + 4], 0x3f40
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x3c]
sub eax, 0x3f34
push edi
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], 0
cmp eax, 0x1e
ja case.default.0x10009ff0
lea ebx, [ebx]
jmp dword [eax*4 + 0x1000b44c]
cmp dword [esi + 0xc], 0
jne 0x1000a009
mov dword [esi + 4], 0x3f40
jmp 0x1000b2cc
cmp edi, 0x10
jae 0x1000a032
mov edi, edi
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x10
jb 0x1000a010
test byte [esi + 0xc], 2
je 0x1000a087
cmp ebx, 0x8b1f
jne 0x1000a087
cmp dword [esi + 0x28], 0
jne 0x1000a04d
mov dword [esi + 0x28], 0xf
push 0
xor edx, edx
xor ecx, ecx
call fcn.100071f0
add esp, 4
mov edx, 2
lea ecx, [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov word [ebp - 0x14], 0x8b1f
call fcn.10007210
mov edx, dword [ebp - 8]
xor ebx, ebx
mov dword [esi + 0x1c], eax
xor edi, edi
mov dword [esi + 4], 0x3f35
jmp 0x1000b2cc
mov eax, dword [esi + 0x24]
mov dword [esi + 0x14], 0
test eax, eax
je 0x1000a09c
mov dword [eax + 0x30], 0xffffffff
test byte [esi + 0xc], 1
je 0x1000a145
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x1000a145
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x1000a0e0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x1000b2c5
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
sub edi, 4
add ecx, 8
cmp dword [esi + 0x28], 0
jne 0x1000a0f7
mov dword [esi + 0x28], ecx
cmp ecx, 0xf
ja 0x1000a133
cmp ecx, dword [esi + 0x28]
ja 0x1000a133
mov eax, 1
shr ebx, 8
mov edx, eax
shl edx, cl
mov ecx, dword [ebp + 8]
not ebx
and ebx, 2
or ebx, 0x3f3d
mov dword [esi + 0x18], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [esi + 4], ebx
xor ebx, ebx
xor edi, edi
jmp 0x1000b2cc
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_window_size
mov edx, dword [ebp - 8]
jmp 0x1000b2c5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], str.incorrect_header_check
jmp 0x1000b2c5
cmp edi, 0x10
jae 0x1000a182
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x10
jb 0x1000a160
mov dword [esi + 0x14], ebx
cmp bl, 8
je 0x1000a199
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x1000b2c5
test ebx, 0xe000
je 0x1000a1b0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x1000b2c5
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a1c1
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [esi + 0x14], 0x200
je 0x1000a1ef
test byte [esi + 0xc], 4
je 0x1000a1ef
mov eax, dword [esi + 0x1c]
mov byte [ebp - 0x14], bl
shr ebx, 8
mov edx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.10007210
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
xor ebx, ebx
xor edi, edi
mov dword [esi + 4], 0x3f36
jmp 0x1000a201
cmp edi, 0x20
jae 0x1000a223
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x20
jb 0x1000a201
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a22d
mov dword [eax + 4], ebx
test dword [esi + 0x14], 0x200
je 0x1000a26b
test byte [esi + 0xc], 4
je 0x1000a26b
mov eax, dword [esi + 0x1c]
mov ecx, ebx
mov edx, ebx
shr ecx, 8
shr edx, 0x10
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], cl
mov byte [ebp - 0x12], dl
shr ebx, 0x18
mov edx, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x11], bl
call fcn.10007210
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
xor ebx, ebx
xor edi, edi
mov dword [esi + 4], 0x3f37
jmp 0x1000a280
cmp edi, 0x10
jae 0x1000a2a2
lea ecx, [ecx]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x10
jb 0x1000a280
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a2bf
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x24]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [esi + 0x14], 0x200
je 0x1000a2ed
test byte [esi + 0xc], 4
je 0x1000a2ed
mov eax, dword [esi + 0x1c]
mov byte [ebp - 0x14], bl
shr ebx, 8
mov edx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.10007210
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
xor ebx, ebx
xor edi, edi
mov dword [esi + 4], 0x3f38
test dword [esi + 0x14], 0x400
je 0x1000a369
cmp edi, 0x10
jae 0x1000a328
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x10
jb 0x1000a306
mov eax, dword [esi + 0x24]
mov dword [esi + 0x44], ebx
test eax, eax
je 0x1000a335
mov dword [eax + 0x14], ebx
test dword [esi + 0x14], 0x200
je 0x1000a363
test byte [esi + 0xc], 4
je 0x1000a363
mov eax, dword [esi + 0x1c]
mov byte [ebp - 0x14], bl
shr ebx, 8
mov edx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x13], bl
call fcn.10007210
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
xor ebx, ebx
xor edi, edi
jmp 0x1000a377
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a377
mov dword [eax + 0x10], 0
mov dword [esi + 4], 0x3f39
test dword [esi + 0x14], 0x400
je 0x1000a42b
mov ecx, dword [esi + 0x44]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jbe 0x1000a39d
mov ecx, eax
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x1000a421
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a3e8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1000a3e8
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x14]
sub eax, dword [esi + 0x44]
mov edx, dword [edx + 0x18]
add ecx, eax
cmp ecx, edx
jbe 0x1000a3cc
sub edx, eax
jmp 0x1000a3cf
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 0x2c]
push ecx
add edx, eax
push edx
call fcn.1011fc70
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test dword [esi + 0x14], 0x200
je 0x1000a416
test byte [esi + 0xc], 4
je 0x1000a416
mov eax, dword [esi + 0x1c]
test edx, edx
jne 0x1000a402
xor eax, eax
jmp 0x1000a413
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.10007210
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
sub dword [ebp - 4], ecx
add edx, ecx
sub dword [esi + 0x44], ecx
mov dword [ebp - 8], edx
cmp dword [esi + 0x44], 0
jne 0x1000b32d
mov dword [esi + 0x44], 0
mov dword [esi + 4], 0x3f3a
test dword [esi + 0x14], 0x800
je 0x1000a4d5
cmp dword [ebp - 4], 0
je 0x1000b32d
xor eax, eax
movzx ecx, byte [eax + edx]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x1000a485
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1000a485
mov ecx, dword [esi + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x1000a485
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [esi + 0x44]
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
je 0x1000a493
cmp eax, dword [ebp - 4]
jb 0x1000a452
test dword [esi + 0x14], 0x200
je 0x1000a4c1
test byte [esi + 0xc], 4
je 0x1000a4c1
mov eax, dword [esi + 0x1c]
test edx, edx
jne 0x1000a4ad
xor eax, eax
jmp 0x1000a4bb
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.10007210
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
add edx, eax
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 8], edx
jne 0x1000b32d
jmp 0x1000a4e3
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a4e3
mov dword [eax + 0x1c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 4], 0x3f3b
test dword [esi + 0x14], 0x1000
je 0x1000a593
cmp dword [ebp - 4], 0
je 0x1000b32d
xor eax, eax
lea ebx, [ebx]
movzx ecx, byte [eax + edx]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x1000a543
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1000a543
mov ecx, dword [esi + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x1000a543
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x1c]
mov byte [edx + ecx], al
inc dword [esi + 0x44]
mov edx, dword [ebp - 8]
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
je 0x1000a551
cmp eax, dword [ebp - 4]
jb 0x1000a510
test dword [esi + 0x14], 0x200
je 0x1000a57f
test byte [esi + 0xc], 4
je 0x1000a57f
mov eax, dword [esi + 0x1c]
test edx, edx
jne 0x1000a56b
xor eax, eax
jmp 0x1000a579
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.10007210
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
add edx, eax
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 8], edx
jne 0x1000b32d
jmp 0x1000a5a1
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a5a1
mov dword [eax + 0x24], 0
mov dword [esi + 4], 0x3f3c
test dword [esi + 0x14], 0x200
je 0x1000a5f9
cmp edi, 0x10
jae 0x1000a5d8
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x10
jb 0x1000a5b6
test byte [esi + 0xc], 4
je 0x1000a5f5
movzx ecx, word [esi + 0x1c]
cmp ebx, ecx
je 0x1000a5f5
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x1000b2c5
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000a616
mov ecx, dword [esi + 0x14]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0x24]
mov dword [edx + 0x30], 1
push 0
xor edx, edx
xor ecx, ecx
call fcn.100071f0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov dword [ecx + 0x30], eax
add esp, 4
mov dword [esi + 4], 0x3f3f
jmp 0x1000b2cc
cmp edi, 0x20
jae 0x1000a663
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x20
jb 0x1000a641
mov ecx, ebx
mov eax, ebx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, ebx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
mov ecx, dword [ebp + 8]
shr ebx, 0x18
add eax, ebx
mov dword [esi + 0x1c], eax
mov dword [ecx + 0x30], eax
xor ebx, ebx
xor edi, edi
mov dword [esi + 4], 0x3f3e
cmp dword [esi + 0x10], 0
je 0x1000b2e9
mov ecx, dword [ebp + 8]
mov eax, 1
mov dword [esi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [esi + 4], 0x3f3f
cmp dword [esi + 8], 0
je 0x1000a6d4
mov ecx, edi
and ecx, 7
shr ebx, cl
sub edi, ecx
mov dword [esi + 4], 0x3f4e
jmp 0x1000b2cc
cmp edi, 3
jae 0x1000a702
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 3
jb 0x1000a6e0
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
mov dword [esi + 8], ecx
cmp eax, 3
ja case.default.0x1000a716
jmp dword [eax*4 + 0x1000b4c8]
shr ebx, 2
mov dword [esi + 4], 0x3f41
sub edi, 3
jmp 0x1000b2cc
shr ebx, 2
mov dword [esi + 0x50], 0x10188fd0
mov dword [esi + 0x58], 9
mov dword [esi + 0x54], 0x101897d0
mov dword [esi + 0x5c], 5
mov dword [esi + 4], 0x3f47
sub edi, 3
jmp 0x1000b2cc
shr ebx, 2
mov dword [esi + 4], 0x3f44
sub edi, 3
jmp 0x1000b2cc
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [esi + 4], 0x3f51
shr ebx, 2
sub edi, 3
jmp 0x1000b2cc
mov ecx, edi
and ecx, 7
sub edi, ecx
shr ebx, cl
cmp edi, 0x20
jae 0x1000a7c2
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x20
jb 0x1000a7a0
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x1000a7e3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x1000b2c5
xor ebx, ebx
mov dword [esi + 0x44], eax
xor edi, edi
mov dword [esi + 4], 0x3f42
mov dword [esi + 4], 0x3f43
mov eax, dword [esi + 0x44]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000ae72
mov ecx, dword [ebp - 4]
cmp eax, ecx
jbe 0x1000a812
mov eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x1000a81e
mov eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000b32d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
call fcn.1011fc70
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub dword [ebp - 4], eax
sub dword [ebp - 0x10], eax
add dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
add esp, 0xc
sub dword [esi + 0x44], eax
jmp 0x1000b2cc
cmp edi, 0xe
jae 0x1000a882
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0xe
jb 0x1000a860
mov ecx, ebx
and ecx, 0x1f
shr ebx, 5
add ecx, 0x101
mov eax, ebx
mov dword [esi + 0x64], ecx
shr ebx, 5
mov ecx, ebx
and eax, 0x1f
and ecx, 0xf
inc eax
add ecx, 4
shr ebx, 4
sub edi, 0xe
cmp dword [esi + 0x64], 0x11e
mov dword [esi + 0x68], eax
mov dword [esi + 0x60], ecx
ja 0x1000a9a1
cmp eax, 0x1e
ja 0x1000a9a1
mov dword [esi + 0x6c], 0
mov dword [esi + 4], 0x3f45
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [esi + 0x60]
jae 0x1000a92d
lea esp, [esp]
cmp edi, 3
jae 0x1000a907
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 3
jb 0x1000a8e5
mov eax, dword [esi + 0x6c]
movzx eax, word [eax*2 + 0x10189850]
mov ecx, ebx
and ecx, 7
mov word [esi + eax*2 + 0x74], cx
inc dword [esi + 0x6c]
mov ecx, dword [esi + 0x6c]
shr ebx, 3
sub edi, 3
cmp ecx, dword [esi + 0x60]
jb 0x1000a8e0
mov eax, 0x13
cmp dword [esi + 0x6c], eax
jae 0x1000a95a
jmp 0x1000a940
mov edx, dword [esi + 0x6c]
movzx ecx, word [edx*2 + 0x10189850]
xor edx, edx
mov word [esi + ecx*2 + 0x74], dx
inc dword [esi + 0x6c]
cmp dword [esi + 0x6c], eax
jb 0x1000a940
lea eax, [esi + 0x534]
lea edx, [esi + 0x70]
lea ecx, [esi + 0x2f4]
push ecx
mov dword [edx], eax
mov dword [esi + 0x50], eax
lea eax, [esi + 0x58]
push eax
push 0x13
lea ecx, [esi + 0x74]
push 0
mov dword [eax], 7
call fcn.1000b540
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1000a9b0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_code_lengths_set
mov edx, dword [ebp - 8]
jmp 0x1000b2c5
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x1000b2c5
mov edx, dword [ebp - 8]
mov dword [esi + 0x6c], 0
mov dword [esi + 4], 0x3f46
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
cmp dword [esi + 0x6c], eax
jae 0x1000aba0
mov ecx, dword [esi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x50]
dec eax
and eax, ebx
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0xc], ecx
cmp eax, edi
jbe 0x1000aa31
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x58]
inc edx
add edi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x50]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0xc], ecx
cmp eax, edi
ja 0x1000a9f2
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x2c], eax
cmp ax, 0x10
jae 0x1000aa59
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub edi, ecx
mov ecx, dword [esi + 0x6c]
mov word [esi + ecx*2 + 0x74], ax
inc dword [esi + 0x6c]
jmp 0x1000ab91
jne 0x1000aac7
mov eax, ecx
shr eax, 8
movzx eax, al
add eax, 2
cmp edi, eax
jae 0x1000aa9a
lea ebx, [ebx]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0xc]
inc edx
add edi, 8
add ebx, eax
movzx eax, ch
add eax, 2
mov dword [ebp - 8], edx
cmp edi, eax
jb 0x1000aa70
mov eax, dword [esi + 0x6c]
movzx ecx, ch
shr ebx, cl
sub edi, ecx
test eax, eax
je 0x1000abca
movzx ecx, word [esi + eax*2 + 0x72]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [ebp - 0x1c], ecx
sub edi, 2
jmp 0x1000ab66
cmp word [ebp - 0xa], 0x11
movzx ecx, ch
mov dword [ebp - 0x24], ecx
jne 0x1000ab1b
lea eax, [ecx + 3]
cmp edi, eax
jae 0x1000ab07
jmp 0x1000aae0
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add edi, 8
add ebx, eax
lea eax, [ecx + 3]
mov dword [ebp - 8], edx
cmp edi, eax
jb 0x1000aae0
shr ebx, cl
mov edx, 0xfffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x1000ab5b
lea eax, [ecx + 7]
cmp edi, eax
jae 0x1000ab49
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x24]
inc edx
add edi, 8
add ebx, eax
lea eax, [ecx + 7]
mov dword [ebp - 8], edx
cmp edi, eax
jb 0x1000ab22
shr ebx, cl
mov edx, 0xfffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
sub edx, ecx
add edi, edx
mov dword [ebp - 0x1c], 0
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
add ecx, dword [esi + 0x64]
add edx, eax
cmp edx, ecx
ja 0x1000abd9
test eax, eax
je 0x1000ab8e
mov ecx, dword [ebp - 0x1c]
lea esp, [esp]
mov edx, dword [esi + 0x6c]
mov word [esi + edx*2 + 0x74], cx
inc dword [esi + 0x6c]
dec eax
jne 0x1000ab80
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
cmp dword [esi + 0x6c], eax
jb 0x1000a9d0
mov eax, 0x3f51
cmp dword [esi + 4], eax
je 0x1000b2cc
cmp word [esi + 0x274], 0
jne 0x1000abeb
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [esi + 4], eax
jmp 0x1000b2cc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x1000b2c5
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov edx, dword [ebp - 8]
jmp 0x1000b2c5
lea eax, [esi + 0x534]
lea edx, [esi + 0x70]
mov dword [edx], eax
mov dword [esi + 0x50], eax
lea ecx, [esi + 0x2f4]
push ecx
lea eax, [esi + 0x58]
push eax
mov dword [eax], 9
mov eax, dword [esi + 0x64]
push eax
lea ecx, [esi + 0x74]
push 1
call fcn.1000b540
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1000ac34
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x1000b2c5
mov eax, dword [esi + 0x70]
lea edx, [esi + 0x70]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x2f4]
push ecx
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x5c]
push eax
mov dword [eax], 6
mov eax, dword [esi + 0x64]
push ecx
lea ecx, [esi + eax*2 + 0x74]
push 2
call fcn.1000b540
mov edx, dword [ebp - 8]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1000ac7c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distances_set
jmp 0x1000b2c5
mov dword [esi + 4], 0x3f47
mov dword [esi + 4], 0x3f48
cmp dword [ebp - 4], 6
jb 0x1000ad04
cmp dword [ebp - 0x10], 0x102
jb 0x1000ad04
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
push edx
mov dword [eax + 4], ecx
push eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
call fcn.10009830
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax]
add esp, 8
cmp dword [esi + 4], 0x3f3f
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov edx, ecx
jne 0x1000b2cc
mov dword [esi + 0x1bc8], 0xffffffff
jmp 0x1000b2cc
mov ecx, dword [esi + 0x58]
mov eax, 1
shl eax, cl
mov dword [esi + 0x1bc8], 0
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, edi
jbe 0x1000ad71
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x58]
inc edx
add edi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x50]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, edi
ja 0x1000ad32
test al, al
je 0x1000ae37
test al, 0xf0
jne 0x1000ae37
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx ecx, al
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
dec eax
and eax, ebx
shr eax, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2c]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, edi
jbe 0x1000ae26
lea ebx, [ebx]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x24]
dec dword [ebp - 4]
inc edx
add ebx, eax
movzx eax, ch
mov dword [ebp - 0x1c], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add edi, 8
mov dword [ebp - 8], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0x22]
add eax, ecx
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x1c]
cmp eax, edi
ja 0x1000add0
movzx ecx, byte [ebp - 0x23]
mov eax, dword [ebp - 0xc]
shr ebx, cl
sub edi, ecx
mov dword [esi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc8], ecx
shr ebx, cl
sub edi, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [esi + 0x44], ecx
test al, al
jne 0x1000ae64
mov dword [esi + 4], 0x3f4d
jmp 0x1000b2cc
test al, 0x20
je 0x1000ae7e
mov dword [esi + 0x1bc8], 0xffffffff
mov dword [esi + 4], 0x3f3f
jmp 0x1000b2cc
test al, 0x40
je 0x1000ae91
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x1000b2c5
movzx ecx, al
and ecx, 0xf
mov dword [esi + 0x4c], ecx
mov dword [esi + 4], 0x3f49
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1000aeec
cmp edi, eax
jae 0x1000aed2
lea esp, [esp]
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, dword [esi + 0x4c]
jb 0x1000aeb0
mov ecx, dword [esi + 0x4c]
mov eax, 1
shl eax, cl
sub edi, ecx
dec eax
and eax, ebx
add dword [esi + 0x44], eax
shr ebx, cl
add dword [esi + 0x1bc8], ecx
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x1bcc], ecx
mov dword [esi + 4], 0x3f4a
mov ecx, dword [esi + 0x5c]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [esi + 0x54]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, edi
jbe 0x1000af5f
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x5c]
inc edx
add edi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x54]
mov dword [ebp - 8], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0xc], eax
cmp ecx, edi
ja 0x1000af20
test al, 0xf0
jne 0x1000b017
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx ecx, al
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
dec eax
and eax, ebx
shr eax, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [esi + 0x54]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ebp - 0x2c]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, edi
jbe 0x1000b006
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x24]
dec dword [ebp - 4]
inc edx
add ebx, eax
movzx eax, ch
mov dword [ebp - 0x1c], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add edi, 8
mov dword [ebp - 8], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0x22]
add eax, ecx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
shr eax, 8
movzx eax, al
add eax, dword [ebp - 0x1c]
cmp eax, edi
ja 0x1000afb0
movzx ecx, byte [ebp - 0x23]
mov eax, dword [ebp - 0xc]
shr ebx, cl
sub edi, ecx
add dword [esi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc8], ecx
shr ebx, cl
sub edi, ecx
mov dword [ebp - 0x1c], ecx
test al, 0x40
je 0x1000b03f
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x1000b2c5
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 4], 0x3f4b
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1000b09e
cmp edi, eax
jae 0x1000b084
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, dword [esi + 0x4c]
jb 0x1000b062
mov ecx, dword [esi + 0x4c]
mov eax, 1
shl eax, cl
sub edi, ecx
dec eax
and eax, ebx
add dword [esi + 0x48], eax
shr ebx, cl
add dword [esi + 0x1bc8], ecx
mov dword [esi + 4], 0x3f4c
cmp dword [ebp - 0x10], 0
je 0x1000b32d
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x48]
cmp eax, ecx
jbe 0x1000b110
sub eax, ecx
mov dword [ebp - 0xc], eax
cmp eax, dword [esi + 0x30]
jbe 0x1000b0de
cmp dword [esi + 0x1bc4], 0
je 0x1000b0de
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x1000b2c5
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jbe 0x1000b0f4
sub eax, ecx
mov ecx, dword [esi + 0x38]
add ecx, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
sub ecx, eax
jmp 0x1000b0ff
mov ecx, dword [esi + 0x38]
sub ecx, eax
add ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jbe 0x1000b121
mov eax, ecx
jmp 0x1000b11e
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jbe 0x1000b12d
mov eax, ecx
mov dword [ebp - 0xc], eax
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
jmp 0x1000b153
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + eax]
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
inc eax
dec dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jne 0x1000b150
cmp dword [esi + 0x44], 0
jne 0x1000b2cc
mov dword [esi + 4], 0x3f48
jmp 0x1000b2cc
cmp dword [ebp - 0x10], 0
je 0x1000b32d
mov eax, dword [ebp - 0x18]
mov cl, byte [esi + 0x44]
mov byte [eax], cl
inc eax
dec dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [esi + 4], 0x3f48
jmp 0x1000b2cc
cmp dword [esi + 0xc], 0
je 0x1000b274
cmp edi, 0x20
jae 0x1000b1d2
mov edi, edi
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x20
jb 0x1000b1b0
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], eax
add dword [esi + 0x20], eax
test byte [esi + 0xc], 4
mov dword [ebp - 0x20], eax
je 0x1000b228
test eax, eax
je 0x1000b228
cmp dword [esi + 0x14], 0
je 0x1000b20c
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [esi + 0x1c]
jne 0x1000b202
xor eax, eax
jmp 0x1000b21f
mov edx, dword [ebp - 0x20]
call fcn.10007210
jmp 0x1000b21c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 0x1c]
sub edx, eax
call fcn.10006f80
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov dword [ecx + 0x30], eax
test byte [esi + 0xc], 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
je 0x1000b270
cmp dword [esi + 0x14], 0
mov eax, ebx
jne 0x1000b25f
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [esi + 0x1c]
je 0x1000b270
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x1000b2c5
xor ebx, ebx
xor edi, edi
mov dword [esi + 4], 0x3f4f
cmp dword [esi + 0xc], 0
je 0x1000b316
cmp dword [esi + 0x14], 0
je 0x1000b316
cmp edi, 0x20
jae 0x1000b2b6
cmp dword [ebp - 4], 0
je 0x1000b32d
movzx eax, byte [edx]
dec dword [ebp - 4]
mov ecx, edi
shl eax, cl
inc edx
add edi, 8
mov dword [ebp - 8], edx
add ebx, eax
cmp edi, 0x20
jb 0x1000b294
cmp ebx, dword [esi + 0x20]
je 0x1000b312
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [esi + 4], 0x3f51
mov eax, dword [esi + 4]
sub eax, 0x3f34
cmp eax, 0x1e
jbe switch.0x10009ff0
mov eax, 0xfffffffe
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov dword [esi + 0x40], edi
pop edi
mov dword [esi + 0x3c], ebx
pop ebx
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor edi, edi
mov dword [esi + 4], 0x3f50
mov dword [ebp - 0x28], 1
jmp 0x1000b32d
mov dword [ebp - 0x28], 0xfffffffd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
cmp dword [esi + 0x2c], 0
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
jne 0x1000b369
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x10]
je 0x1000b395
mov eax, dword [esi + 4]
cmp eax, 0x3f51
jge 0x1000b395
cmp eax, 0x3f4e
jge 0x1000b395
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0xc]
sub ecx, dword [eax + 0x10]
push edx
call fcn.10009e40
add esp, 4
test eax, eax
je 0x1000b395
mov dword [esi + 4], 0x3f52
pop edi
pop ebx
mov eax, 0xfffffffc
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [edi + 4]
mov eax, dword [ebp - 0x20]
sub eax, dword [edi + 0x10]
add dword [edi + 8], ecx
add dword [edi + 0x14], eax
add dword [esi + 0x20], eax
test byte [esi + 0xc], 4
je 0x1000b3e9
test eax, eax
je 0x1000b3e9
cmp dword [esi + 0x14], 0
je 0x1000b3d6
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov ebx, dword [esi + 0x1c]
jne 0x1000b3cb
xor eax, eax
jmp 0x1000b3e3
mov edx, eax
mov eax, ebx
call fcn.10007210
jmp 0x1000b3e3
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0x1c]
sub edx, eax
call fcn.10006f80
mov dword [esi + 0x1c], eax
mov dword [edi + 0x30], eax
mov eax, dword [esi + 4]
cmp eax, 0x3f47
je 0x1000b3fe
cmp eax, 0x3f42
je 0x1000b3fe
xor ecx, ecx
jmp 0x1000b403
mov ecx, 0x100
mov edx, dword [esi + 8]
neg edx
sbb edx, edx
and edx, 0x40
xor ebx, ebx
cmp eax, 0x3f3f
mov eax, dword [ebp - 0x28]
setne bl
dec ebx
and ebx, 0x80
add edx, ebx
add edx, dword [esi + 0x40]
add edx, ecx
mov dword [edi + 0x2c], edx
test eax, eax
jne 0x1000b2e2
pop edi
pop ebx
mov eax, 0xfffffffb
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret