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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x2c
test ecx, ecx
push edi
je 0x4ac935
mov edi, dword [ecx + 0x1c]
test edi, edi
je 0x4ac935
cmp dword [ecx + 0xc], 0
je 0x4ac935
cmp dword [ecx], 0
jne 0x4ab394
cmp dword [ecx + 4], 0
jne 0x4ac935
cmp dword [edi], 0xb
jne 0x4ab39f
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [edi + 0x38]
push ebp
mov ebp, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [edi]
cmp ecx, 0x1e
push esi
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
jbe switch.0x004ab3f8
mov eax, 0xfffffffe
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
jmp dword [ecx*4 + 0x4ac940]
cmp dword [edi + 8], 0
jne 0x4ab410
mov dword [edi], 0xc
jmp 0x4ac7bf
cmp esi, 0x10
jae 0x4ab43d
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4ab415
test byte [edi + 8], 2
je 0x4ab48a
cmp ebx, 0x8b1f
jne 0x4ab48a
push 0
xor edx, edx
xor ecx, ecx
call fcn.004aae80
add esp, 4
mov edx, 2
lea ecx, [esp + 0x1c]
mov dword [edi + 0x18], eax
mov byte [esp + 0x1c], 0x1f
mov byte [esp + 0x1d], 0x8b
call fcn.004aae90
xor ebx, ebx
mov dword [edi + 0x18], eax
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 1
jmp 0x4ac7bf
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [edi + 0x10], 0
je 0x4ab49f
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x4ab54a
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 0x4ab54a
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x4ab4e1
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x4ac7b9
mov eax, dword [edi + 0x24]
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
sub esi, 4
add ecx, 8
test eax, eax
mov dword [esp + 0x18], ebx
jne 0x4ab536
mov dword [edi + 0x24], ecx
mov edx, 1
shl edx, cl
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x14], edx
xor edx, edx
call fcn.004ae150
mov ecx, dword [esp + 0x40]
shr ebx, 8
not ebx
and ebx, 2
or ebx, 9
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], ebx
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
jmp 0x4ac7bf
cmp ecx, eax
jbe 0x4ab4fd
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x4ac7b9
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.incorrect_header_check
jmp 0x4ac7b9
cmp esi, 0x10
jae 0x4ab588
nop
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4ab560
cmp bl, 8
mov dword [edi + 0x10], ebx
je 0x4ab5a0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x4ac7b9
test ebx, 0xe000
je 0x4ab5b8
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x4ac7b9
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab5c9
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x10], 0x200
je 0x4ab5f5
mov eax, dword [edi + 0x18]
mov byte [esp + 0x1c], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d], bl
call fcn.004aae90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp 0x4ab606
cmp esi, 0x20
jae 0x4ab62a
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
jb 0x4ab606
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab634
mov dword [eax + 4], ebx
test dword [edi + 0x10], 0x200
je 0x4ab672
mov eax, dword [edi + 0x18]
mov ecx, ebx
mov edx, ebx
shr ecx, 8
shr edx, 0x10
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], dl
shr ebx, 0x18
mov edx, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f], bl
call fcn.004aae90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp 0x4ab683
cmp esi, 0x10
jae 0x4ab6a7
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
jb 0x4ab683
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab6c4
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x20]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [edi + 0x10], 0x200
je 0x4ab6f0
mov eax, dword [edi + 0x18]
mov byte [esp + 0x1c], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d], bl
call fcn.004aae90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x4ab777
cmp esi, 0x10
jae 0x4ab734
lea esp, [esp]
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
jb 0x4ab710
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [edi + 0x40], ebx
je 0x4ab741
mov dword [eax + 0x14], ebx
test dword [edi + 0x10], 0x200
je 0x4ab76d
mov eax, dword [edi + 0x18]
mov byte [esp + 0x1c], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d], bl
call fcn.004aae90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
jmp 0x4ab785
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab785
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x4ab838
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov dword [esp + 0x14], ecx
jbe 0x4ab7a9
mov ecx, edx
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x4ab82e
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab7f9
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x34], eax
je 0x4ab7f9
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x14]
sub eax, dword [edi + 0x40]
mov edx, dword [edi + 0x20]
mov edx, dword [edx + 0x18]
add ecx, eax
cmp ecx, edx
jbe 0x4ab7dc
sub edx, eax
jmp 0x4ab7e0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
push edx
add ecx, eax
push ebp
push ecx
call fcn.004fde30
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x4ab823
test ebp, ebp
mov eax, dword [edi + 0x18]
jne 0x4ab80d
xor eax, eax
jmp 0x4ab820
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.004aae90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
sub edx, ecx
add ebp, ecx
sub dword [edi + 0x40], ecx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x40], 0
jne 0x4ac81d
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x4ab8ea
test edx, edx
je 0x4ac81d
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + ebp]
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x4ab89c
mov ecx, dword [eax + 0x1c]
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x4ab89c
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x4ab89c
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0x2c]
mov byte [edx + ecx], al
add dword [edi + 0x40], 1
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
je 0x4ab8ab
cmp eax, edx
jb 0x4ab860
test dword [edi + 0x10], 0x200
je 0x4ab8d5
test ebp, ebp
mov eax, dword [edi + 0x18]
jne 0x4ab8bf
xor eax, eax
jmp 0x4ab8ce
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.004aae90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x14]
sub edx, eax
add ebp, eax
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x10], edx
jne 0x4ac81d
jmp 0x4ab8f8
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab8f8
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x4ab9aa
test edx, edx
je 0x4ac81d
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + ebp]
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x4ab95c
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov dword [esp + 0x34], ecx
je 0x4ab95c
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x4ab95c
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0x2c]
mov byte [edx + ecx], al
add dword [edi + 0x40], 1
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
je 0x4ab96b
cmp eax, edx
jb 0x4ab920
test dword [edi + 0x10], 0x200
je 0x4ab995
test ebp, ebp
mov eax, dword [edi + 0x18]
jne 0x4ab97f
xor eax, eax
jmp 0x4ab98e
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.004aae90
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x14]
sub edx, eax
add ebp, eax
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x10], edx
jne 0x4ac81d
jmp 0x4ab9b8
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4ab9b8
mov dword [eax + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x4aba18
cmp esi, 0x10
jae 0x4ab9f8
lea esp, [esp]
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4ab9d0
movzx ecx, word [edi + 0x18]
cmp ebx, ecx
je 0x4aba10
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4ac7b9
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4aba35
mov ecx, dword [edi + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [edi + 0x20]
mov dword [edx + 0x30], 1
push 0
xor edx, edx
xor ecx, ecx
call fcn.004aae80
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x18], eax
add esp, 4
mov dword [ecx + 0x30], eax
mov dword [edi], 0xb
jmp 0x4ac7bf
cmp esi, 0x20
jae 0x4aba88
lea ecx, [ecx]
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4aba60
mov ecx, ebx
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
xor eax, eax
mov ah, byte [esp + 0x1a]
shl ecx, 8
shr ebx, 0x18
add ecx, eax
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x4ac7d7
xor eax, eax
xor edx, edx
xor ecx, ecx
call fcn.004ae150
mov edx, dword [esp + 0x40]
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x4abb03
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x1a
mov dword [esp + 0x18], ebx
jmp 0x4ac7bf
cmp esi, 3
jae 0x4abb2c
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 3
mov dword [esp + 0x10], edx
jb 0x4abb08
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
sub esi, 1
cmp eax, 3
mov dword [edi + 4], ecx
ja case.default.0x4abb43
jmp dword [eax*4 + 0x4ac9bc]
shr ebx, 2
mov dword [edi], 0xd
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x4ac7bf
shr ebx, 2
mov dword [edi + 0x4c], 0x56b7c8
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x56bfc8
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x4ac7bf
shr ebx, 2
mov dword [edi], 0x10
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x4ac7bf
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
shr ebx, 2
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x4ac7bf
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
cmp esi, 0x20
mov dword [esp + 0x18], ebx
jae 0x4abbff
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4abbd7
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x4abc21
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x4ac7b9
xor ebx, ebx
mov dword [edi + 0x40], eax
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 0xe
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4aba4d
cmp eax, edx
jbe 0x4abc51
mov eax, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jbe 0x4abc5f
mov eax, ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4ac81d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push eax
push ebp
push ecx
call fcn.004fde30
mov eax, dword [esp + 0x20]
sub dword [esp + 0x1c], eax
sub dword [esp + 0x2c], eax
add dword [esp + 0x30], eax
add esp, 0xc
add ebp, eax
sub dword [edi + 0x40], eax
jmp 0x4ac7bf
cmp esi, 0xe
jae 0x4abcc4
lea esp, [esp]
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0xe
mov dword [esp + 0x10], edx
jb 0x4abca0
mov ecx, ebx
and ecx, 0x1f
shr ebx, 5
add ecx, 0x101
mov eax, ebx
mov dword [edi + 0x60], ecx
shr ebx, 5
mov ecx, ebx
and eax, 0x1f
and ecx, 0xf
add eax, 1
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x64], eax
mov dword [edi + 0x5c], ecx
mov dword [esp + 0x18], ebx
ja 0x4abdef
cmp eax, 0x1e
ja 0x4abdef
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jae 0x4abd78
cmp esi, 3
jae 0x4abd4c
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 3
mov dword [esp + 0x10], edx
jb 0x4abd28
mov eax, dword [edi + 0x68]
movzx eax, word [eax*2 + 0x56c048]
movzx ecx, bl
and ecx, 7
mov word [edi + eax*2 + 0x70], cx
add dword [edi + 0x68], 1
mov ecx, dword [edi + 0x68]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x5c]
mov dword [esp + 0x18], ebx
jb 0x4abd23
cmp dword [edi + 0x68], 0x13
jae 0x4abda9
xor ecx, ecx
mov eax, 1
jmp 0x4abd90
mov edx, dword [edi + 0x68]
movzx edx, word [edx*2 + 0x56c048]
mov word [edi + edx*2 + 0x70], cx
add dword [edi + 0x68], eax
cmp dword [edi + 0x68], 0x13
jb 0x4abd90
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push ecx
lea edx, [edi + 0x54]
push 0x13
lea ecx, [edi + 0x70]
push 0
mov dword [edx], 7
call fcn.004ae400
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x4abdff
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x4ac7b9
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4ac7b9
mov edx, dword [esp + 0x10]
mov dword [edi + 0x68], 0
mov dword [edi], 0x12
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jae 0x4ac057
nop
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x4abe89
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x4abe45
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x4abeeb
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp esi, ecx
jae 0x4abeca
nop
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
mov eax, dword [esp + 0x14]
movzx ecx, ah
cmp esi, ecx
mov dword [esp + 0x10], edx
jb 0x4abea0
movzx ecx, ah
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
mov cx, word [esp + 0x16]
mov word [edi + eax*2 + 0x70], cx
add dword [edi + 0x68], 1
mov dword [esp + 0x18], ebx
jmp 0x4ac048
mov cx, word [esp + 0x16]
cmp cx, 0x10
jne 0x4abf61
movzx ecx, ah
lea eax, [ecx + 2]
cmp esi, eax
mov dword [esp + 0x2c], ecx
jae 0x4abf2e
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 2]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x4abf04
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
test eax, eax
mov dword [esp + 0x18], ebx
je 0x4ac07a
movzx ecx, word [edi + eax*2 + 0x6e]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
sub esi, 2
jmp 0x4ac010
cmp cx, 0x11
movzx ecx, ah
mov dword [esp + 0x2c], ecx
jne 0x4abfb7
lea eax, [ecx + 3]
cmp esi, eax
jae 0x4abf9f
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 3]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x4abf75
shr ebx, cl
mov eax, ebx
and eax, 7
add eax, 3
mov dword [esp + 0x14], eax
shr ebx, 3
mov eax, 0xfffffffd
jmp 0x4ac000
lea eax, [ecx + 7]
cmp esi, eax
jae 0x4abfea
mov edi, edi
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 7]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x4abfc0
shr ebx, cl
mov eax, ebx
and eax, 0x7f
add eax, 0xb
mov dword [esp + 0x14], eax
shr ebx, 7
mov eax, 0xfffffff9
sub eax, ecx
add esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
mov ecx, dword [edi + 0x68]
add ecx, eax
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
mov dword [esp + 0x18], ebx
cmp ecx, eax
ja 0x4ac08a
cmp dword [esp + 0x14], 0
je 0x4ac048
mov eax, dword [esp + 0x2c]
mov edi, edi
mov ecx, dword [edi + 0x68]
sub dword [esp + 0x14], 1
mov word [edi + ecx*2 + 0x70], ax
add dword [edi + 0x68], 1
cmp dword [esp + 0x14], 0
jne 0x4ac030
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x4abe20
cmp dword [edi], 0x1d
je 0x4ac7bf
cmp word [edi + 0x270], 0
jne 0x4ac09a
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4ac7b9
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x4ac7b9
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4ac7b9
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push ecx
mov ecx, dword [edi + 0x60]
push ecx
lea edx, [edi + 0x54]
lea ecx, [edi + 0x70]
push 1
mov dword [edx], 9
call fcn.004ae400
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x4ac0e2
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
jmp 0x4ac7b9
mov ecx, dword [edi + 0x6c]
lea eax, [edi + 0x6c]
mov dword [edi + 0x50], ecx
lea ecx, [edi + 0x2f0]
push ecx
mov ecx, dword [edi + 0x60]
push eax
mov eax, dword [edi + 0x64]
push eax
lea edx, [edi + 0x58]
lea ecx, [edi + ecx*2 + 0x70]
push 2
mov dword [edx], 6
call fcn.004ae400
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x4ac129
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_distances_set
jmp 0x4ac7b9
mov edx, dword [esp + 0x10]
mov dword [edi], 0x13
mov dword [edi], 0x14
cmp edx, 6
jb 0x4ac1b4
cmp dword [esp + 0x20], 0x102
jb 0x4ac1b4
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [eax], ebp
mov dword [eax + 4], ecx
push eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
call fcn.004ae8e0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
add esp, 8
cmp dword [edi], 0xb
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
jne 0x4ac7bf
mov dword [edi + 0x1bc4], 0xffffffff
jmp 0x4ac7bf
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov dword [edi + 0x1bc4], 0
sub eax, 1
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x4ac229
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x4ac1e5
test al, al
je 0x4ac300
test al, 0xf0
jne 0x4ac300
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x2c], ecx
movzx ecx, al
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub eax, 1
and eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [esp + 0x34]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x4ac2ed
lea esp, [esp]
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
sub edx, 1
add esi, 8
add ebx, eax
movzx eax, ch
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1a]
add eax, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, dword [esp + 0x2c]
cmp eax, esi
ja 0x4ac290
movzx ecx, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
shr ebx, cl
sub esi, ecx
mov dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x2c], ecx
mov ecx, eax
shr ecx, 0x10
test al, al
mov dword [esp + 0x18], ebx
mov dword [edi + 0x40], ecx
jne 0x4ac331
mov dword [edi], 0x19
jmp 0x4ac7bf
test al, 0x20
je 0x4ac34a
mov dword [edi + 0x1bc4], 0xffffffff
mov dword [edi], 0xb
jmp 0x4ac7bf
test al, 0x40
je 0x4ac35e
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4ac7b9
and eax, 0xf
mov dword [edi + 0x48], eax
mov dword [edi], 0x15
mov eax, dword [edi + 0x48]
test eax, eax
je 0x4ac3b5
cmp esi, eax
jae 0x4ac399
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, dword [edi + 0x48]
mov dword [esp + 0x10], edx
jb 0x4ac375
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
sub esi, ecx
sub eax, 1
and eax, ebx
add dword [edi + 0x40], eax
shr ebx, cl
add dword [edi + 0x1bc4], ecx
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x1bc8], ecx
mov dword [edi], 0x16
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x4ac434
jmp 0x4ac3f0
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x4ac3f0
test al, 0xf0
jne 0x4ac500
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x2c], ecx
movzx ecx, al
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub eax, 1
and eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [esp + 0x34]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x4ac4ed
nop
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
sub edx, 1
add esi, 8
add ebx, eax
movzx eax, ch
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1a]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, dword [esp + 0x2c]
cmp eax, esi
ja 0x4ac490
movzx ecx, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
shr ebx, cl
sub esi, ecx
add dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
shr ebx, cl
sub esi, ecx
test al, 0x40
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
je 0x4ac52e
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x4ac7b9
mov ecx, eax
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x44], ecx
mov dword [edi], 0x17
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4ac599
cmp esi, ecx
jae 0x4ac575
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, dword [edi + 0x48]
mov dword [esp + 0x10], edx
jb 0x4ac551
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
sub esi, ecx
sub eax, 1
and eax, ebx
add dword [edi + 0x44], eax
mov eax, dword [esp + 0x28]
shr ebx, cl
add dword [edi + 0x1bc4], ecx
mov dword [esp + 0x18], ebx
mov dword [edi], 0x18
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4ac81d
mov edx, dword [edi + 0x44]
sub eax, ecx
cmp edx, eax
jbe 0x4ac602
sub edx, eax
cmp edx, dword [edi + 0x2c]
mov dword [esp + 0x14], edx
jbe 0x4ac5d8
cmp dword [edi + 0x1bc0], 0
je 0x4ac5d8
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
jmp 0x4ac7b9
mov ecx, dword [edi + 0x30]
cmp edx, ecx
mov eax, dword [edi + 0x34]
jbe 0x4ac5ef
add eax, dword [edi + 0x28]
sub edx, ecx
mov dword [esp + 0x14], edx
sub eax, edx
jmp 0x4ac5f3
sub eax, edx
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp edx, ecx
mov dword [esp + 0x34], ecx
jbe 0x4ac613
mov edx, ecx
jmp 0x4ac60f
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [edi + 0x40]
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x20]
cmp edx, ecx
jbe 0x4ac621
mov edx, ecx
mov dword [esp + 0x14], edx
sub ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
sub ecx, edx
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dl, byte [eax]
mov byte [ecx], dl
add ecx, 1
add eax, 1
sub dword [esp + 0x14], 1
jne 0x4ac634
cmp dword [edi + 0x40], 0
mov dword [esp + 0x24], ecx
jne 0x4ac7bf
mov dword [edi], 0x14
jmp 0x4ac7bf
cmp dword [esp + 0x20], 0
je 0x4ac81d
mov eax, dword [esp + 0x24]
mov cl, byte [edi + 0x40]
mov byte [eax], cl
add eax, 1
sub dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov dword [edi], 0x14
jmp 0x4ac7bf
cmp dword [edi + 8], 0
je 0x4ac762
cmp esi, 0x20
jae 0x4ac6c4
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4ac698
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
test eax, eax
mov dword [esp + 0x28], eax
je 0x4ac71a
cmp dword [edi + 0x10], 0
je 0x4ac6fa
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, dword [edi + 0x18]
jne 0x4ac6ef
xor eax, eax
jmp 0x4ac710
mov edx, dword [esp + 0x28]
call fcn.004aae90
jmp 0x4ac70c
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x18]
sub edx, eax
call fcn.004ae150
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, ebx
jne 0x4ac748
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
xor ecx, ecx
mov ch, byte [esp + 0x1a]
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x18]
je 0x4ac75a
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x4ac7b9
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x4ac805
cmp dword [edi + 0x10], 0
je 0x4ac805
cmp esi, 0x20
jae 0x4ac7a9
test edx, edx
je 0x4ac81d
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4ac781
cmp ebx, dword [edi + 0x1c]
je 0x4ac801
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
mov ecx, dword [edi]
cmp ecx, 0x1e
jbe 0x4ab3f0
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x2c
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax], ebp
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov dword [edi + 0x3c], esi
pop esi
pop ebp
mov dword [edi + 0x38], ebx
pop ebx
mov eax, 2
pop edi
add esp, 0x2c
ret
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1c
mov dword [esp + 0x30], 1
jmp 0x4ac81d
mov dword [esp + 0x30], 0xfffffffd
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov dword [eax], ebp
mov dword [eax + 4], edx
cmp dword [edi + 0x28], 0
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
jne 0x4ac84e
cmp dword [edi], 0x1a
jge 0x4ac872
mov edx, dword [esp + 0x28]
cmp edx, dword [eax + 0x10]
je 0x4ac872
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
call fcn.004ab270
test eax, eax
je 0x4ac872
mov dword [edi], 0x1e
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffc
pop edi
add esp, 0x2c
ret
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
sub eax, dword [esi + 4]
mov ebx, dword [esp + 0x28]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], ebx
add dword [edi + 0x1c], ebx
cmp dword [edi + 8], 0
mov dword [esp + 0x38], eax
je 0x4ac8cd
test ebx, ebx
je 0x4ac8cd
cmp dword [edi + 0x10], 0
je 0x4ac8b8
mov ecx, dword [esi + 0xc]
sub ecx, ebx
mov eax, dword [edi + 0x18]
jne 0x4ac8af
xor eax, eax
jmp 0x4ac8c7
mov edx, ebx
call fcn.004aae90
jmp 0x4ac8c7
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 0x18]
sub edx, ebx
mov eax, ebx
call fcn.004ae150
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [edi]
cmp eax, 0x13
je 0x4ac8dd
cmp eax, 0xe
je 0x4ac8dd
xor ebp, ebp
jmp 0x4ac8e2
mov ebp, pe_nt_image_headers32
mov ecx, dword [edi + 4]
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
cmp eax, 0xb
setne dl
add ecx, ebp
sub edx, 1
and edx, 0x80
add edx, ecx
add edx, dword [edi + 0x3c]
cmp dword [esp + 0x38], 0
mov dword [esi + 0x2c], edx
jne 0x4ac929
test ebx, ebx
jne 0x4ac929
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4ab3df
pop esi
pop ebp
lea eax, [ebx - 5]
pop ebx
pop edi
add esp, 0x2c
ret
mov eax, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x2c
ret